commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ent...@gmx.com
Subject [math] variance result
Date Sat, 22 Oct 2011 15:34:14 GMT
I'm utterly sorry to pose such a dumb question, but:

the variance of the values 2, 4, and 6: shouldn't that be 2.67 ? The StatUtils and DescriptveStatistics
give me 4.

My calculation (that I checked a dozen times) is: 
(2-4)^2 * 1/3 + (4-4)^2 * 1/3 + (6-4)^2 * 1/3

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


Mime
View raw message