Java Code Examples for org.apache.commons.math3.stat.descriptive.moment.Variance#setBiasCorrected()

The following examples show how to use org.apache.commons.math3.stat.descriptive.moment.Variance#setBiasCorrected() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SummaryStatistics.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the <a href="http://en.wikibooks.org/wiki/Statistics/Summary/Variance">
 * population variance</a> of the values that have been added.
 *
 * <p>Double.NaN is returned if no values have been added.</p>
 *
 * @return the population variance
 */
public double getPopulationVariance() {
    Variance populationVariance = new Variance(secondMoment);
    populationVariance.setBiasCorrected(false);
    return populationVariance.getResult();
}
 
Example 2
Source File: SummaryStatistics.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the <a href="http://en.wikibooks.org/wiki/Statistics/Summary/Variance">
 * population variance</a> of the values that have been added.
 *
 * <p>Double.NaN is returned if no values have been added.</p>
 *
 * @return the population variance
 */
public double getPopulationVariance() {
    Variance populationVariance = new Variance(secondMoment);
    populationVariance.setBiasCorrected(false);
    return populationVariance.getResult();
}
 
Example 3
Source File: SummaryStatistics.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the <a href="http://en.wikibooks.org/wiki/Statistics/Summary/Variance">
 * population variance</a> of the values that have been added.
 *
 * <p>Double.NaN is returned if no values have been added.</p>
 *
 * @return the population variance
 */
public double getPopulationVariance() {
    Variance populationVariance = new Variance(secondMoment);
    populationVariance.setBiasCorrected(false);
    return populationVariance.getResult();
}
 
Example 4
Source File: SummaryStatistics.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the <a href="http://en.wikibooks.org/wiki/Statistics/Summary/Variance">
 * population variance</a> of the values that have been added.
 *
 * <p>Double.NaN is returned if no values have been added.</p>
 *
 * @return the population variance
 */
public double getPopulationVariance() {
    Variance populationVariance = new Variance(secondMoment);
    populationVariance.setBiasCorrected(false);
    return populationVariance.getResult();
}
 
Example 5
Source File: SummaryStatistics.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the <a href="http://en.wikibooks.org/wiki/Statistics/Summary/Variance">
 * population variance</a> of the values that have been added.
 *
 * <p>Double.NaN is returned if no values have been added.</p>
 *
 * @return the population variance
 */
public double getPopulationVariance() {
    Variance populationVariance = new Variance(secondMoment);
    populationVariance.setBiasCorrected(false);
    return populationVariance.getResult();
}
 
Example 6
Source File: SummaryStatistics.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the <a href="http://en.wikibooks.org/wiki/Statistics/Summary/Variance">
 * population variance</a> of the values that have been added.
 *
 * <p>Double.NaN is returned if no values have been added.</p>
 *
 * @return the population variance
 */
public double getPopulationVariance() {
    Variance populationVariance = new Variance(secondMoment);
    populationVariance.setBiasCorrected(false);
    return populationVariance.getResult();
}
 
Example 7
Source File: SummaryStatistics.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the <a href="http://en.wikibooks.org/wiki/Statistics/Summary/Variance">
 * population variance</a> of the values that have been added.
 *
 * <p>Double.NaN is returned if no values have been added.</p>
 *
 * @return the population variance
 */
public double getPopulationVariance() {
    Variance populationVariance = new Variance(secondMoment);
    populationVariance.setBiasCorrected(false);
    return populationVariance.getResult();
}
 
Example 8
Source File: SummaryStatistics.java    From astor with GNU General Public License v2.0 2 votes vote down vote up
/**
 * Returns the <a href="http://en.wikibooks.org/wiki/Statistics/Summary/Variance">
 * population variance</a> of the values that have been added.
 *
 * <p>Double.NaN is returned if no values have been added.</p>
 *
 * @return the population variance
 */
public double getPopulationVariance() {
    Variance populationVariance = new Variance(secondMoment);
    populationVariance.setBiasCorrected(false);
    return populationVariance.getResult();
}