public class InferenceTestUtils extends Object
Modifier and Type | Method and Description |
---|---|
static double |
approximateP(double d,
int n,
int m) |
static double |
chiSquare(double[] expected,
long[] observed) |
static double |
chiSquare(long[][] counts) |
static double |
chiSquareDataSetsComparison(long[] observed1,
long[] observed2) |
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 double |
chiSquareTestDataSetsComparison(long[] observed1,
long[] observed2) |
static boolean |
chiSquareTestDataSetsComparison(long[] observed1,
long[] observed2,
double alpha) |
static double |
exactP(double d,
int m,
int n,
boolean strict) |
static double |
g(double[] expected,
long[] observed) |
static double |
gDataSetsComparison(long[] observed1,
long[] observed2) |
static double |
gTest(double[] expected,
long[] observed) |
static boolean |
gTest(double[] expected,
long[] observed,
double alpha) |
static double |
gTestDataSetsComparison(long[] observed1,
long[] observed2) |
static boolean |
gTestDataSetsComparison(long[] observed1,
long[] observed2,
double alpha) |
static double |
gTestIntrinsic(double[] expected,
long[] observed) |
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 |
kolmogorovSmirnovStatistic(double[] x,
double[] y) |
static double |
kolmogorovSmirnovStatistic(RealDistribution dist,
double[] data) |
static double |
kolmogorovSmirnovTest(double[] x,
double[] y) |
static double |
kolmogorovSmirnovTest(double[] x,
double[] y,
boolean strict) |
static double |
kolmogorovSmirnovTest(RealDistribution dist,
double[] data) |
static double |
kolmogorovSmirnovTest(RealDistribution dist,
double[] data,
boolean strict) |
static boolean |
kolmogorovSmirnovTest(RealDistribution dist,
double[] data,
double alpha) |
static double |
oneWayAnovaFValue(Collection<double[]> categoryData) |
static double |
oneWayAnovaPValue(Collection<double[]> categoryData) |
static boolean |
oneWayAnovaTest(Collection<double[]> categoryData,
double alpha) |
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 |
rootLogLikelihoodRatio(long k11,
long k12,
long k21,
long k22) |
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) |
public static double homoscedasticT(double[] sample1, double[] sample2) throws MathIllegalArgumentException, NullArgumentException
public static double homoscedasticT(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2) throws MathIllegalArgumentException, NullArgumentException
public static boolean homoscedasticTTest(double[] sample1, double[] sample2, double alpha) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double homoscedasticTTest(double[] sample1, double[] sample2) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double homoscedasticTTest(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double pairedT(double[] sample1, double[] sample2) throws MathIllegalArgumentException, NullArgumentException
public static boolean pairedTTest(double[] sample1, double[] sample2, double alpha) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double pairedTTest(double[] sample1, double[] sample2) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double t(double mu, double[] observed) throws MathIllegalArgumentException, NullArgumentException
MathIllegalArgumentException
NullArgumentException
TTest.t(double, double[])
public static double t(double mu, StatisticalSummary sampleStats) throws MathIllegalArgumentException, NullArgumentException
public static double t(double[] sample1, double[] sample2) throws MathIllegalArgumentException, NullArgumentException
MathIllegalArgumentException
NullArgumentException
TTest.t(double[], double[])
public static double t(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2) throws MathIllegalArgumentException, NullArgumentException
public static boolean tTest(double mu, double[] sample, double alpha) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double tTest(double mu, double[] sample) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static boolean tTest(double mu, StatisticalSummary sampleStats, double alpha) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double tTest(double mu, StatisticalSummary sampleStats) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static boolean tTest(double[] sample1, double[] sample2, double alpha) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double tTest(double[] sample1, double[] sample2) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static boolean tTest(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2, double alpha) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double tTest(StatisticalSummary sampleStats1, StatisticalSummary sampleStats2) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double chiSquare(double[] expected, long[] observed) throws MathIllegalArgumentException
MathIllegalArgumentException
ChiSquareTest.chiSquare(double[], long[])
public static double chiSquare(long[][] counts) throws MathIllegalArgumentException, NullArgumentException
public static boolean chiSquareTest(double[] expected, long[] observed, double alpha) throws MathIllegalArgumentException, MathIllegalStateException
public static double chiSquareTest(double[] expected, long[] observed) throws MathIllegalArgumentException, MathIllegalStateException
public static boolean chiSquareTest(long[][] counts, double alpha) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double chiSquareTest(long[][] counts) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double chiSquareDataSetsComparison(long[] observed1, long[] observed2) throws MathIllegalArgumentException
public static double chiSquareTestDataSetsComparison(long[] observed1, long[] observed2) throws MathIllegalArgumentException, MathIllegalStateException
public static boolean chiSquareTestDataSetsComparison(long[] observed1, long[] observed2, double alpha) throws MathIllegalArgumentException, MathIllegalStateException
public static double oneWayAnovaFValue(Collection<double[]> categoryData) throws MathIllegalArgumentException, NullArgumentException
public static double oneWayAnovaPValue(Collection<double[]> categoryData) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static boolean oneWayAnovaTest(Collection<double[]> categoryData, double alpha) throws MathIllegalArgumentException, NullArgumentException, MathIllegalStateException
public static double g(double[] expected, long[] observed) throws MathIllegalArgumentException
MathIllegalArgumentException
GTest.g(double[], long[])
public static double gTest(double[] expected, long[] observed) throws MathIllegalArgumentException, MathIllegalStateException
public static double gTestIntrinsic(double[] expected, long[] observed) throws MathIllegalArgumentException, MathIllegalStateException
public static boolean gTest(double[] expected, long[] observed, double alpha) throws MathIllegalArgumentException, MathIllegalStateException
public static double gDataSetsComparison(long[] observed1, long[] observed2) throws MathIllegalArgumentException
MathIllegalArgumentException
GTest.gDataSetsComparison(long[], long[])
public static double rootLogLikelihoodRatio(long k11, long k12, long k21, long k22) throws MathIllegalArgumentException
public static double gTestDataSetsComparison(long[] observed1, long[] observed2) throws MathIllegalArgumentException, MathIllegalStateException
public static boolean gTestDataSetsComparison(long[] observed1, long[] observed2, double alpha) throws MathIllegalArgumentException, MathIllegalStateException
public static double kolmogorovSmirnovStatistic(RealDistribution dist, double[] data) throws MathIllegalArgumentException, NullArgumentException
public static double kolmogorovSmirnovTest(RealDistribution dist, double[] data) throws MathIllegalArgumentException, NullArgumentException
public static double kolmogorovSmirnovTest(RealDistribution dist, double[] data, boolean strict) throws MathIllegalArgumentException, NullArgumentException
public static boolean kolmogorovSmirnovTest(RealDistribution dist, double[] data, double alpha) throws MathIllegalArgumentException, NullArgumentException
public static double kolmogorovSmirnovStatistic(double[] x, double[] y) throws MathIllegalArgumentException, NullArgumentException
public static double kolmogorovSmirnovTest(double[] x, double[] y) throws MathIllegalArgumentException, NullArgumentException
public static double kolmogorovSmirnovTest(double[] x, double[] y, boolean strict) throws MathIllegalArgumentException, NullArgumentException
public static double exactP(double d, int m, int n, boolean strict)
public static double approximateP(double d, int n, int m)
Copyright © 2016-2021 CS GROUP. All rights reserved.