Java org.apache.commons.math3.stat.inference ChiSquareTest fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.stat.inference ChiSquareTest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.stat.inference ChiSquareTest.

The text is from its open source code.

Constructor

ChiSquareTest()
Construct a ChiSquareTest

Method

doublechiSquare(final double[] expected, final long[] observed)
Computes the Chi-Square statistic comparing observed and expected frequency counts.
doublechiSquare(final long[][] counts)
Computes the Chi-Square statistic associated with a chi-square test of independence based on the input counts array, viewed as a two-way table.
doublechiSquareDataSetsComparison(long[] observed1, long[] observed2)

Computes a Chi-Square two sample test statistic comparing bin frequency counts in observed1 and observed2.

doublechiSquareTestDataSetsComparison(long[] observed1, long[] observed2)

Returns the observed significance level, or p-value, associated with a Chi-Square two sample test comparing bin frequency counts in observed1 and observed2.