Page 1 of 1

Doing statistics with LC

Posted: Fri May 15, 2015 5:26 pm
by danielrr
Hi,

Is there any LiveCode stack for probability/ statistics? I'm mainly interested in inference statistics, but I'd be interested in descriptive statistics as well...

thanks,

Daniel

Re: Doing statistics with LC

Posted: Sat May 16, 2015 11:01 pm
by capellan
Hi Daniel,

Check if these code libraries could help:

JonesLib.mc
Stack published by Dave Jones:
http://www.rsmas.miami.edu/personal/djo ... oneslib.mc
http://www.rsmas.miami.edu/personal/djo ... neslib.zip
He wrote this message to the MetaCard maillist:
https://www.mail-archive.com/metacard@l ... 00361.html

MasterLibrary.livecode
Stack published by Michael Doub:
https://www.dropbox.com/s/3wpwn3hfbmpl7 ... ecode?dl=0
He post frecuently to LiveCode's mail list:
http://runtime-revolution.278305.n4.nab ... 89879.html

Have a nice weekend!

Alejandro

Re: Doing statistics with LC

Posted: Sun May 17, 2015 11:03 am
by danielrr
Thanks a bunch, Alejandro!

There's a lot to wonder around what you have found. First, the conversion of Dave Jone's original (2000!!) metacard stack into Livecode worked like a charm. Just amazing. You only need to change some function names conflicting with current LC reserved names. Only these:

Code: Select all

--renamed functions (names colliding with reservednames in livecode) it's 2015!!!
--stdv  ==> makeStdv
--Variance ==> makeVariance
--Transpose ==> makeTranspose
--MatrixMultiply  ==> makeMatrixMultiply

--variable StandardDeviation was changed to theStandardDeviation
I have translated it into LC with the new function names (I hope I didn't screwed it up somewhere). Long live Dave Jones!

As for the master Library I was probably the only one around who didn't know about its existence. Its a real must!

Again thanks a lot Alejandro, you did a lot to make my weekend happier!

Re: Doing statistics with LC

Posted: Sun May 17, 2015 11:31 am
by danielrr
I am afraid I can't upload Dave Jones converted stack due to its live code extension. :cry: :cry: Anyway, as I said it is a pretty simple conversion and all you have to do is change the funcion names as indicated. Anyway if anybody wants the livecode version of Dave Jones' stack just drop me a line

Re: Doing statistics with LC

Posted: Sun May 17, 2015 4:35 pm
by Klaus
Hi Daniel,

ZIP the stackfile and then you can upload it here!


Best

Klaus

Re: Doing statistics with LC

Posted: Sun May 17, 2015 9:06 pm
by danielrr
Of course! Thanks Klaus :) :D