|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apache.commons.math.stat.inference.TestUtils
A collection of static methods to create inference test instances or to perform inference tests.
| Constructor Summary | |
protected |
TestUtils()
Prevent instantiation. |
| Method Summary | |
static double |
chiSquare(double[] expected,
long[] observed)
|
static double |
chiSquare(long[][] counts)
|
static double |
chiSquareTest(double[] expected,
long[] observed)
|
static boolean |
chiSquareTest(double[] expected,
long[] observed,
double alpha)
|
static double |
chiSquareTest(long[][] counts)
|
static boolean |
chiSquareTest(long[][] counts,
double alpha)
|
static ChiSquareTest |
getChiSquareTest()
Return a (singleton) ChiSquareTest instance. |
static TTest |
getTTest()
Return a (singleton) TTest instance. |
static double |
homoscedasticT(double[] sample1,
double[] sample2)
|
static double |
homoscedasticT(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
|
static double |
homoscedasticTTest(double[] sample1,
double[] sample2)
|
static boolean |
homoscedasticTTest(double[] sample1,
double[] sample2,
double alpha)
|
static double |
homoscedasticTTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
|
static double |
pairedT(double[] sample1,
double[] sample2)
|
static double |
pairedTTest(double[] sample1,
double[] sample2)
|
static boolean |
pairedTTest(double[] sample1,
double[] sample2,
double alpha)
|
static double |
t(double[] sample1,
double[] sample2)
|
static double |
t(double mu,
double[] observed)
|
static double |
t(double mu,
StatisticalSummary sampleStats)
|
static double |
t(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
|
static double |
tTest(double[] sample1,
double[] sample2)
|
static boolean |
tTest(double[] sample1,
double[] sample2,
double alpha)
|
static double |
tTest(double mu,
double[] sample)
|
static boolean |
tTest(double mu,
double[] sample,
double alpha)
|
static double |
tTest(double mu,
StatisticalSummary sampleStats)
|
static boolean |
tTest(double mu,
StatisticalSummary sampleStats,
double alpha)
|
static double |
tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
|
static boolean |
tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2,
double alpha)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
protected TestUtils()
| Method Detail |
public static TTest getTTest()
public static ChiSquareTest getChiSquareTest()
public static double homoscedasticT(double[] sample1,
double[] sample2)
throws IllegalArgumentException
IllegalArgumentExceptionTTest.homoscedasticT(double[], double[])
public static double homoscedasticT(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
throws IllegalArgumentException
IllegalArgumentExceptionTTest.homoscedasticT(org.apache.commons.math.stat.descriptive.StatisticalSummary, org.apache.commons.math.stat.descriptive.StatisticalSummary)
public static boolean homoscedasticTTest(double[] sample1,
double[] sample2,
double alpha)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.homoscedasticTTest(double[], double[], double)
public static double homoscedasticTTest(double[] sample1,
double[] sample2)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.homoscedasticTTest(double[], double[])
public static double homoscedasticTTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.homoscedasticTTest(org.apache.commons.math.stat.descriptive.StatisticalSummary, org.apache.commons.math.stat.descriptive.StatisticalSummary)
public static double pairedT(double[] sample1,
double[] sample2)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.pairedT(double[], double[])
public static boolean pairedTTest(double[] sample1,
double[] sample2,
double alpha)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.pairedTTest(double[], double[], double)
public static double pairedTTest(double[] sample1,
double[] sample2)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.pairedTTest(double[], double[])
public static double t(double mu,
double[] observed)
throws IllegalArgumentException
IllegalArgumentExceptionTTest.t(double, double[])
public static double t(double mu,
StatisticalSummary sampleStats)
throws IllegalArgumentException
IllegalArgumentExceptionTTest.t(double, org.apache.commons.math.stat.descriptive.StatisticalSummary)
public static double t(double[] sample1,
double[] sample2)
throws IllegalArgumentException
IllegalArgumentExceptionTTest.t(double[], double[])
public static double t(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
throws IllegalArgumentException
IllegalArgumentExceptionTTest.t(org.apache.commons.math.stat.descriptive.StatisticalSummary, org.apache.commons.math.stat.descriptive.StatisticalSummary)
public static boolean tTest(double mu,
double[] sample,
double alpha)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.tTest(double, double[], double)
public static double tTest(double mu,
double[] sample)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.tTest(double, double[])
public static boolean tTest(double mu,
StatisticalSummary sampleStats,
double alpha)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.tTest(double, org.apache.commons.math.stat.descriptive.StatisticalSummary, double)
public static double tTest(double mu,
StatisticalSummary sampleStats)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.tTest(double, org.apache.commons.math.stat.descriptive.StatisticalSummary)
public static boolean tTest(double[] sample1,
double[] sample2,
double alpha)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.tTest(double[], double[], double)
public static double tTest(double[] sample1,
double[] sample2)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.tTest(double[], double[])
public static boolean tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2,
double alpha)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.tTest(org.apache.commons.math.stat.descriptive.StatisticalSummary, org.apache.commons.math.stat.descriptive.StatisticalSummary, double)
public static double tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionTTest.tTest(org.apache.commons.math.stat.descriptive.StatisticalSummary, org.apache.commons.math.stat.descriptive.StatisticalSummary)
public static double chiSquare(double[] expected,
long[] observed)
throws IllegalArgumentException
IllegalArgumentExceptionChiSquareTest.chiSquare(double[], long[])
public static double chiSquare(long[][] counts)
throws IllegalArgumentException
IllegalArgumentExceptionChiSquareTest.chiSquare(long[][])
public static boolean chiSquareTest(double[] expected,
long[] observed,
double alpha)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionChiSquareTest.chiSquareTest(double[], long[], double)
public static double chiSquareTest(double[] expected,
long[] observed)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionChiSquareTest.chiSquareTest(double[], long[])
public static boolean chiSquareTest(long[][] counts,
double alpha)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionChiSquareTest.chiSquareTest(long[][], double)
public static double chiSquareTest(long[][] counts)
throws IllegalArgumentException,
MathException
IllegalArgumentException
MathExceptionChiSquareTest.chiSquareTest(long[][])
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||