Package org.apache.commons.math.distribution

Examples of org.apache.commons.math.distribution.ChiSquaredDistribution.cummulativeProbability()


        throws IllegalArgumentException, MathException {
        ChiSquaredDistribution chiSquaredDistribution =
            DistributionFactory.newInstance().createChiSquareDistribution(
                (double) expected.length - 1);
        return 1
            - chiSquaredDistribution.cummulativeProbability(
                chiSquare(expected, observed));
    }

    /**
     * @param observed array of observed frequency counts
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.