| java.lang.Object org.apache.commons.math.stat.inference.TestUtils
TestUtils | public class TestUtils (Code) | | A collection of static methods to create inference test instances or to
perform inference tests.
since: 1.1 version: $Revision: 209144 $ $Date: 2005-07-04 16:30:05 -0700 (Mon, 04 Jul 2005) $ |
Constructor Summary | |
protected | TestUtils() Prevent instantiation. |
Method Summary | |
public static double | chiSquare(double[] expected, long[] observed) | public static double | chiSquare(long[][] counts) | public static boolean | chiSquareTest(double[] expected, long[] observed, double alpha) | public static double | chiSquareTest(double[] expected, long[] observed) | public static boolean | chiSquareTest(long[][] counts, double alpha) | public static double | chiSquareTest(long[][] counts) | public static ChiSquareTest | getChiSquareTest() Return a (singleton) ChiSquareTest instance. | public static TTest | getTTest() Return a (singleton) TTest instance. | public static double | homoscedasticT(double[] sample1, double[] sample2) | public static double | homoscedasticT(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2) | public static boolean | homoscedasticTTest(double[] sample1, double[] sample2, double alpha) | public static double | homoscedasticTTest(double[] sample1, double[] sample2) | public static double | homoscedasticTTest(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2) | public static double | pairedT(double[] sample1, double[] sample2) | public static boolean | pairedTTest(double[] sample1, double[] sample2, double alpha) | public static double | pairedTTest(double[] sample1, double[] sample2) | public static double | t(double mu, double[] observed) | public static double | t(double mu, StatisticalSummary sampleStats) | public static double | t(double[] sample1, double[] sample2) | public static double | t(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2) | public static boolean | tTest(double mu, double[] sample, double alpha) | public static double | tTest(double mu, double[] sample) | public static boolean | tTest(double mu, StatisticalSummary sampleStats, double alpha) | public static double | tTest(double mu, StatisticalSummary sampleStats) | public static boolean | tTest(double[] sample1, double[] sample2, double alpha) | public static double | tTest(double[] sample1, double[] sample2) | public static boolean | tTest(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2, double alpha) | public static double | tTest(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2) |
TestUtils | protected TestUtils()(Code) | | Prevent instantiation.
|
getChiSquareTest | public static ChiSquareTest getChiSquareTest()(Code) | | Return a (singleton) ChiSquareTest instance. Does not create a new instance.
a ChiSquareTest instance |
getTTest | public static TTest getTTest()(Code) | | Return a (singleton) TTest instance. Does not create a new instance.
a TTest instance |
|
|