varp = (sum( x - M)^2) / n
where M = Mean of the x population
org.apache.commons.math.stat.descriptive.moment.Variance variance = new Variance();
double sigma = variance.evaluate(myDoubleArray);
where myDoubleArray contains 2.0, 4.0, 6.0, 8.0, 10.0, 12.0If you are experiencing a similar issue, please ask a related question
Title | # Comments | Views | Activity |
---|---|---|---|
groupSum5 challenge | 5 | 69 | |
Free Alternative to JIRA | 4 | 91 | |
nextBoolean(double p) for Random class | 3 | 35 | |
How to Calculate Stainless Steel U-Bolt Dimension | 15 | 66 |
Join the community of 500,000 technology professionals and ask your questions.
Connect with top rated Experts
25 Experts available now in Live!