Home | History | Annotate | Download | only in moment

Lines Matching refs:variance

26  * is the positive square root of the variance.  This implementation wraps a
27 * {@link Variance} instance. The <code>isBiasCorrected</code> property of the
28 * wrapped Variance instance is exposed, so that this class can be used to
30 * bias-corrected "sample variance") or the "population standard deviation"
31 * (the square root of the non-bias-corrected "population variance"). See
32 * {@link Variance} for more information.
47 /** Wrapped Variance instance */
48 private Variance variance = null;
51 * Constructs a StandardDeviation. Sets the underlying {@link Variance}
55 variance = new Variance();
64 variance = new Variance(m2);
80 * <code>true</code>, the {@link Variance} used in computing results will
81 * use the bias-corrected, or "sample" formula. See {@link Variance} for
84 * @param isBiasCorrected whether or not the variance computation will use
88 variance = new Variance(isBiasCorrected);
95 * {@link Variance} used in computing results will use the bias-corrected,
96 * or "sample" formula. See {@link Variance} for details.
98 * @param isBiasCorrected whether or not the variance computation will use
103 variance = new Variance(isBiasCorrected, m2);
111 variance.increment(d);
118 return variance.getN();
126 return FastMath.sqrt(variance.getResult());
134 variance.clear();
153 return FastMath.sqrt(variance.evaluate(values));
176 return FastMath.sqrt(variance.evaluate(values, begin, length));
205 return FastMath.sqrt(variance.evaluate(values, mean, begin, length));
230 return FastMath.sqrt(variance.evaluate(values, mean));
237 return variance.isBiasCorrected();
244 variance.setBiasCorrected(isBiasCorrected);
268 dest.variance = source.variance.copy();