+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

        DhbLeastSquareFit 
                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?

Bill




________________________________________
From: [email protected] 
[[email protected]] on behalf of Alexandre Bergel 
[[email protected]]
Sent: Saturday, March 03, 2012 7:30 AM
To: [email protected]
Subject: Re: [Pharo-project] Looking for a package to do some statistics in 
Pharo

I am interested in this.

Cheers,
Alexandre


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
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.






Attachment: Examples-DHB-Numerical.st
Description: Examples-DHB-Numerical.st

Reply via email to