Doing statistics with LC

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
danielrr
Posts: 142
Joined: Mon Mar 04, 2013 4:03 pm

Doing statistics with LC

Post by danielrr » Fri May 15, 2015 5:26 pm

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

capellan
Posts: 654
Joined: Wed Aug 15, 2007 11:09 pm

Re: Doing statistics with LC

Post by capellan » Sat May 16, 2015 11:01 pm

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

danielrr
Posts: 142
Joined: Mon Mar 04, 2013 4:03 pm

Re: Doing statistics with LC

Post by danielrr » Sun May 17, 2015 11:03 am

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!

danielrr
Posts: 142
Joined: Mon Mar 04, 2013 4:03 pm

Re: Doing statistics with LC

Post by danielrr » Sun May 17, 2015 11:31 am

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

Klaus
Posts: 14184
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Doing statistics with LC

Post by Klaus » Sun May 17, 2015 4:35 pm

Hi Daniel,

ZIP the stackfile and then you can upload it here!


Best

Klaus

danielrr
Posts: 142
Joined: Mon Mar 04, 2013 4:03 pm

Re: Doing statistics with LC

Post by danielrr » Sun May 17, 2015 9:06 pm

Of course! Thanks Klaus :) :D
Attachments
jonesLib.livecode.zip
This is Dave Jones original metacard stack translated into livecode with just some changes in the name of some functions as explained in the comments of the main script
(14.56 KiB) Downloaded 297 times

Post Reply