commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gilles <gil...@harfang.homelinux.org>
Subject [Math] Statistics summary
Date Fri, 09 Jan 2015 15:01:37 GMT
Hi.

What is the suggested way to obtain the statistics summary
of an _array_ of values?

There is "SummaryStatistics" in "o.a.c.m.stat.descriptive"
but one need to explicitly write the loop to call "addValue"
for each element.
[Shouldn't there be a constructor that takes a "double[]"
argument?]

There are the methods "StatUtils" but I suspect that it's
not the most efficient way when several values must be
retrieved (mean, variance, ...). [Moreover, no method
exists to directly return the standard deviation.]


Best regards,
Gilles


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


Mime
View raw message