commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Phil Steitz <p...@steitz.com>
Subject Re: commons.apache.org/math/stat/
Date Sun, 08 Jun 2008 12:56:07 GMT
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: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message