[Pharo-project] Looking for a package to do some statistics in Pharo

Schwab,Wilhelm K bschwab at anest.ufl.edu
Sat Mar 3 08:20:28 EST 2012

+1.  I just (finally) ordered the book, which should help.  Three things put me off of this:

(1) (perhaps biased) how can Smalltalk code be fast enough?
(2) No examples, poor categorization
(3) The use of histograms in least squares fitting - I'm a parametric guy.

Re the dearth of examples, I created a few (attached) - barely scratching the surface, I know.  I'm really stumped on OptimzationDHB and #points:function:.  The method signature sounds like what I want to do, but I doubt that something as "simple" as

		points:self sampleDataNegativeExponentialPlusConstant
		function:[ :x :a :alpha :b | a * ( (x / alpha) squared negated exp ) + b  ].

is going to be "understood."  We know that x is the independent variable and a, alpha and b are parameters to be found, but I have no idea how to express that to the code.  Any ideas?

It might be that I need to look at the optimizers, since most of my fits are really about minimizing residuals.  Is Levenberg-Marquardt anywhere in the mix?


From: pharo-project-bounces at lists.gforge.inria.fr [pharo-project-bounces at lists.gforge.inria.fr] on behalf of Alexandre Bergel [alexandre.bergel at me.com]
Sent: Saturday, March 03, 2012 7:30 AM
To: Pharo-project at lists.gforge.inria.fr
Subject: Re: [Pharo-project] Looking for a package to do some statistics in Pharo

I am interested in this.


On 3 Mar 2012, at 05:35, Stéphane Ducasse wrote:

> Thanks
> I was reviewer for the book of didier.
> Now I think that it would be good to revive the project and make it even better.
> I started to have a look. I will publish a configuration to start with.
> Stef
> On Mar 3, 2012, at 9:13 AM, Douglas McPherson wrote:
>> Indeed, you should check out DHBNumerical. I'm using it for Kalman filter development/simulation, and have previously done Galois field simulation using Bessett's DHBPolynomial. These are many included probability distributions and statistical queries built in, so quite likely has what you need. No underscores needed :)
>> Doug
>> On Mar 2, 2012, at 10:12 , Stéphane Ducasse wrote:
>>> Hi guys
>>> I would like to know if there is a package doing some statistics in Pharo.
>>> I should check the work of didier besset but I want to know if there is more.
>>> It would be good to have such kind of package.
>>> Stef

Alexandre Bergel  http://www.bergel.eu

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Examples-DHB-Numerical.st
Type: application/octet-stream
Size: 2397 bytes
Desc: Examples-DHB-Numerical.st
URL: <http://lists.pharo.org/pipermail/pharo-dev_lists.pharo.org/attachments/20120303/8347d275/attachment.st>

More information about the Pharo-dev mailing list