Albretch Mueller wrote:
 as part of

 http://commons.apache.org/math/

 you have:

 
http://commons.apache.org/math/apidocs/org/apache/commons/math/stat/descriptive/DescriptiveStatistics.html#addValue(double)

 however I don't see something like:

 addValue(new_val, NoV, Mean, Std_Dev, Skew)

 in order to get the new statistics based on the old one?

 It is very easy to do the Math to calculate the new Mean, Std_Dev and
Skew, based on the old values for a certain new value

 Why doesn't http://commons.apache.org/math/stat/ give you that?
No reason, other than that no one has suggested this. Patches are always welcome. I am not sure what the best API would be for this enhancement, but it would probably belong in the StatUtils class. Anyone else have ideas on how best to do this?

Phil


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to