commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Matthew Rowles <rowle...@gmail.com>
Subject Re: [math]: weighted variance?
Date Thu, 20 Aug 2009 07:00:31 GMT
2009/8/20 Phil Steitz <phil.steitz@gmail.com>:
> mickeydog@TaosNet.com wrote:
>>
>> Does the commons math library have a weighted variance?
>> I don't see it, just wanted to verify.
>> If it did, I would expect to see something like:
>> Variance.evaluate(double[] values, double[] weights, int begin, int
>> length)
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
>> For additional commands, e-mail: user-help@commons.apache.org
>>
>>
>
> No, this does not yet exist.  Patches welcome!
>
> Phil

I'm looking at having a go at implementing evaluate(double[] values,
double[] weights, int begin, int length) in UnivariateStatistic (and
all implementing classes).

Are there any coding styles to adhere to, other than those in the
standard Java conventions?

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message