Example usage for Java org.apache.commons.math3.stat.inference TTest fields, constructors, methods, implement or subclass
The text is from its open source code.
double | pairedT(final double[] sample1, final double[] sample2) Computes a paired, 2-sample t-statistic based on the data in the input arrays. |
double | pairedTTest(final double[] sample1, final double[] sample2) Returns the observed significance level, or p-value, associated with a paired, two-sample, two-tailed t-test based on the data in the input arrays. |
boolean | pairedTTest(final double[] sample1, final double[] sample2, final double alpha) Performs a paired t-test evaluating the null hypothesis that the mean of the paired differences between sample1 and sample2 is 0 in favor of the two-sided alternative that the mean paired difference is not equal to 0, with significance level alpha . |
double | t(final double mu, final double[] observed) Computes a t statistic given observed values and a comparison constant. |
double | t(final double mu, final StatisticalSummary sampleStats) Computes a t statistic to use in comparing the mean of the dataset described by sampleStats to mu . |
double | t(final double[] sample1, final double[] sample2) Computes a 2-sample t statistic, without the hypothesis of equal subpopulation variances. |
double | t(final StatisticalSummary sampleStats1, final StatisticalSummary sampleStats2) Computes a 2-sample t statistic , comparing the means of the datasets described by two StatisticalSummary instances, without the assumption of equal subpopulation variances. |