A B C D E F G H I K L M N O P R S T U V W Z
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AlternativeHypothesis - Enum in org.apache.commons.statistics.inference
-
Represents an alternative hypothesis for a hypothesis test.
- ASYMPTOTIC - org.apache.commons.statistics.inference.PValueMethod
-
Use the asymptotic distribution of the test statistic to evaluate the p-value.
- AUTO - org.apache.commons.statistics.inference.PValueMethod
-
Automatically choose the method to evaluate the p-value.
B
- BinomialTest - Class in org.apache.commons.statistics.inference
-
Implements binomial test statistics.
- BOSCHLOO - org.apache.commons.statistics.inference.UnconditionedExactTest.Method
-
Uses the p-value from Fisher's exact test.
C
- ChiSquareTest - Class in org.apache.commons.statistics.inference
-
Implements chi-square test statistics.
- ContinuityCorrection - Enum in org.apache.commons.statistics.inference
-
Represents an optional adjustment that is made when a discrete distribution is approximated by a continuous distribution.
D
- DataDispersion - Enum in org.apache.commons.statistics.inference
-
Represents an assumption on the dispersion of data.
- DISABLED - org.apache.commons.statistics.inference.ContinuityCorrection
-
Disable continuity correction.
E
- ENABLED - org.apache.commons.statistics.inference.ContinuityCorrection
-
Enable continuity correction.
- ESTIMATE - org.apache.commons.statistics.inference.PValueMethod
-
Use an estimation method for the p-value.
- EXACT - org.apache.commons.statistics.inference.PValueMethod
-
Use the exact distribution of the test statistic to evaluate the p-value.
F
- FisherExactTest - Class in org.apache.commons.statistics.inference
-
Implements Fisher's exact test.
G
- getDegreesOfFreedom() - Method in class org.apache.commons.statistics.inference.TTest.Result
-
Gets the degrees of freedom.
- getMSBG() - Method in class org.apache.commons.statistics.inference.OneWayAnova.Result
-
Gets the mean square between groups.
- getMSWG() - Method in class org.apache.commons.statistics.inference.OneWayAnova.Result
-
Gets the mean square within groups.
- getNuisanceParameter() - Method in class org.apache.commons.statistics.inference.UnconditionedExactTest.Result
-
Gets the nuisance parameter that maximised the probability sum of the as or more extreme tables.
- getPValue() - Method in interface org.apache.commons.statistics.inference.SignificanceResult
-
Returns the test statistic p-value.
- getSign() - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest.OneResult
-
Gets the sign of the statistic.
- getStatistic() - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest.TwoResult
-
Returns the test statistic.
- getStatistic() - Method in class org.apache.commons.statistics.inference.MannWhitneyUTest.Result
-
Returns the test statistic.
- getStatistic() - Method in interface org.apache.commons.statistics.inference.SignificanceResult
-
Returns the test statistic.
- getStatistic() - Method in class org.apache.commons.statistics.inference.UnconditionedExactTest.Result
-
Returns the test statistic.
- getUpperD() - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest.TwoResult
-
Return the upper bound of the D statistic from all possible paths through regions with ties.
- getUpperPValue() - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest.TwoResult
-
Return the p-value of the upper bound of the D statistic.
- getVCBG() - Method in class org.apache.commons.statistics.inference.OneWayAnova.Result
-
Gets the variance component between groups.
- getVCWG() - Method in class org.apache.commons.statistics.inference.OneWayAnova.Result
-
Gets the variance component within groups.
- GREATER_THAN - org.apache.commons.statistics.inference.AlternativeHypothesis
-
Represents a right-sided test.
- GTest - Class in org.apache.commons.statistics.inference
-
Implements G-test (Generalized Log-Likelihood Ratio Test) statistics.
H
- hasSignificantTies() - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest.TwoResult
-
Returns
true
if there were ties between samples that occurred in a region which could change the D statistic if the ties were resolved to a defined order. - hasTiedValues() - Method in class org.apache.commons.statistics.inference.MannWhitneyUTest.Result
-
Return
true
if the data had tied values. - hasTiedValues() - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest.Result
-
Return
true
if the data had tied values (with equal ranks). - hasZeroValues() - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest.Result
-
Return
true
if the data had zero values. - HETEROSCEDASTIC - org.apache.commons.statistics.inference.DataDispersion
-
Data does not have the same variance.
- HOMOSCEDASTIC - org.apache.commons.statistics.inference.DataDispersion
-
All data has the same finite variance (homogeneity of variance).
I
- Inequality - Enum in org.apache.commons.statistics.inference
-
Represents a non-equal comparison between two numbers.
K
- KolmogorovSmirnovTest - Class in org.apache.commons.statistics.inference
-
Implements the Kolmogorov-Smirnov (K-S) test for equality of continuous distributions.
- KolmogorovSmirnovTest.OneResult - Class in org.apache.commons.statistics.inference
-
Result for the one-sample Kolmogorov-Smirnov test.
- KolmogorovSmirnovTest.TwoResult - Class in org.apache.commons.statistics.inference
-
Result for the two-sample Kolmogorov-Smirnov test.
L
- LESS_THAN - org.apache.commons.statistics.inference.AlternativeHypothesis
-
Represents a left-sided test.
M
- MannWhitneyUTest - Class in org.apache.commons.statistics.inference
-
Implements the Mann-Whitney U test (also called Wilcoxon rank-sum test).
- MannWhitneyUTest.Result - Class in org.apache.commons.statistics.inference
-
Result for the Mann-Whitney U test.
N
- NON_STRICT - org.apache.commons.statistics.inference.Inequality
-
Represents a non-strict inequality (numbers may be equal).
O
- OneWayAnova - Class in org.apache.commons.statistics.inference
-
Implements one-way ANOVA (analysis of variance) statistics.
- OneWayAnova.Result - Class in org.apache.commons.statistics.inference
-
Result for the one-way ANOVA.
- org.apache.commons.statistics.inference - package org.apache.commons.statistics.inference
-
Classes providing hypothesis testing.
P
- pairedStatistic(double[], double[]) - Method in class org.apache.commons.statistics.inference.TTest
-
Computes a paired two-sample t-statistic on related samples comparing the mean difference between the samples to
mu
. - pairedTest(double[], double[]) - Method in class org.apache.commons.statistics.inference.TTest
-
Performs a paired two-sample t-test on related samples comparing the mean difference between the samples to
mu
. - PValueMethod - Enum in org.apache.commons.statistics.inference
-
Represents a method for computing a p-value for a test statistic.
R
- reject(double) - Method in interface org.apache.commons.statistics.inference.SignificanceResult
-
Returns true iff the null hypothesis can be rejected with
100 * (1 - alpha)
percent confidence.
S
- SignificanceResult - Interface in org.apache.commons.statistics.inference
-
Contains the result of a test for significance.
- statistic(double[]) - Method in class org.apache.commons.statistics.inference.TTest
-
Computes a one-sample t statistic comparing the mean of the sample to
mu
. - statistic(double[]) - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Computes the Wilcoxon signed ranked statistic comparing the differences between sample values
z = x - y
tomu
. - statistic(double[], double[]) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Computes the two-sample Kolmogorov-Smirnov test statistic.
- statistic(double[], double[]) - Method in class org.apache.commons.statistics.inference.MannWhitneyUTest
-
Computes the Mann-Whitney U statistic comparing two independent samples possibly of different length.
- statistic(double[], double[]) - Method in class org.apache.commons.statistics.inference.TTest
-
Computes a two-sample t statistic on independent samples comparing the difference in means of the samples to
mu
. - statistic(double[], double[]) - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Computes the Wilcoxon signed ranked statistic comparing the differences between two related samples or repeated measurements on a single sample.
- statistic(double[], long[]) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Computes the chi-square goodness-of-fit statistic comparing
observed
andexpected
frequency counts. - statistic(double[], long[]) - Method in class org.apache.commons.statistics.inference.GTest
-
Computes the G-test goodness-of-fit statistic comparing
observed
andexpected
frequency counts. - statistic(double[], DoubleUnaryOperator) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Computes the one-sample Kolmogorov-Smirnov test statistic.
- statistic(double, double, long) - Method in class org.apache.commons.statistics.inference.TTest
-
Computes a one-sample t statistic comparing the mean of the dataset to
mu
. - statistic(double, double, long, double, double, long) - Method in class org.apache.commons.statistics.inference.TTest
-
Computes a two-sample t statistic on independent samples comparing the difference in means of the datasets to
mu
. - statistic(int[][]) - Method in class org.apache.commons.statistics.inference.FisherExactTest
-
Compute the prior odds ratio for the 2-by-2 contingency table.
- statistic(int[][]) - Method in class org.apache.commons.statistics.inference.UnconditionedExactTest
-
Compute the statistic for the unconditioned exact test.
- statistic(long[]) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Computes the chi-square goodness-of-fit statistic comparing the
observed
counts to a uniform expected value (each category is equally likely). - statistic(long[]) - Method in class org.apache.commons.statistics.inference.GTest
-
Computes the G-test goodness-of-fit statistic comparing the
observed
counts to a uniform expected value (each category is equally likely). - statistic(long[][]) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
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 in row-major format. - statistic(long[][]) - Method in class org.apache.commons.statistics.inference.GTest
-
Computes a G-test statistic associated with a G-test of independence based on the input
counts
array, viewed as a two-way table. - statistic(long[], long[]) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Computes a chi-square statistic associated with a chi-square test of independence of frequency counts in
observed1
andobserved2
. - statistic(Collection<double[]>) - Method in class org.apache.commons.statistics.inference.OneWayAnova
-
Computes the F statistic for an ANOVA test for a collection of category data, evaluating the null hypothesis that there is no difference among the means of the data categories.
- STRICT - org.apache.commons.statistics.inference.Inequality
-
Represents a strict inequality.
T
- test(double[]) - Method in class org.apache.commons.statistics.inference.TTest
-
Performs a one-sample t-test comparing the mean of the sample to
mu
. - test(double[]) - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Performs a Wilcoxon signed ranked statistic comparing the differences between sample values
z = x - y
tomu
. - test(double[], double[]) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Performs a two-sample Kolmogorov-Smirnov test on samples
x
andy
. - test(double[], double[]) - Method in class org.apache.commons.statistics.inference.MannWhitneyUTest
-
Performs a Mann-Whitney U test comparing the location for two independent samples.
- test(double[], double[]) - Method in class org.apache.commons.statistics.inference.TTest
-
Performs a two-sample t-test on independent samples comparing the difference in means of the samples to
mu
. - test(double[], double[]) - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Performs a Wilcoxon signed ranked statistic comparing mean for two related samples or repeated measurements on a single sample.
- test(double[], long[]) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Perform a chi-square goodness-of-fit test evaluating the null hypothesis that the
observed
counts conform to theexpected
counts. - test(double[], long[]) - Method in class org.apache.commons.statistics.inference.GTest
-
Perform a G-test for goodness-of-fit evaluating the null hypothesis that the
observed
counts conform to theexpected
counts. - test(double[], DoubleUnaryOperator) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Performs a one-sample Kolmogorov-Smirnov test evaluating the null hypothesis that
x
conforms to the distribution cumulative density function (cdf
). - test(double, double, long) - Method in class org.apache.commons.statistics.inference.TTest
-
Perform a one-sample t-test comparing the mean of the dataset to
mu
. - test(double, double, long, double, double, long) - Method in class org.apache.commons.statistics.inference.TTest
-
Performs a two-sample t-test on independent samples comparing the difference in means of the datasets to
mu
. - test(int[][]) - Method in class org.apache.commons.statistics.inference.FisherExactTest
-
Performs Fisher's exact test on the 2-by-2 contingency table.
- test(int[][]) - Method in class org.apache.commons.statistics.inference.UnconditionedExactTest
-
Performs an unconditioned exact test on the 2-by-2 contingency table.
- test(int, int, double) - Method in class org.apache.commons.statistics.inference.BinomialTest
-
Performs a binomial test about the probability of success \( \pi \).
- test(long[]) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Perform a chi-square goodness-of-fit test evaluating the null hypothesis that the
observed
counts conform to a uniform distribution (each category is equally likely). - test(long[]) - Method in class org.apache.commons.statistics.inference.GTest
-
Perform a G-test for goodness-of-fit evaluating the null hypothesis that the
observed
counts conform to a uniform distribution (each category is equally likely). - test(long[][]) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Perform a chi-square test of independence based on the input
counts
array, viewed as a two-way table. - test(long[][]) - Method in class org.apache.commons.statistics.inference.GTest
-
Perform a G-test of independence based on the input
counts
array, viewed as a two-way table. - test(long[], long[]) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Perform a chi-square test of independence of frequency counts in
observed1
andobserved2
. - test(Collection<double[]>) - Method in class org.apache.commons.statistics.inference.OneWayAnova
-
Performs an ANOVA test for a collection of category data, evaluating the null hypothesis that there is no difference among the means of the data categories.
- TTest - Class in org.apache.commons.statistics.inference
-
Implements Student's t-test statistics.
- TTest.Result - Class in org.apache.commons.statistics.inference
-
Result for the t-test.
- TWO_SIDED - org.apache.commons.statistics.inference.AlternativeHypothesis
-
Represents a two-sided test.
U
- UnconditionedExactTest - Class in org.apache.commons.statistics.inference
-
Implements an unconditioned exact test for a contingency table.
- UnconditionedExactTest.Method - Enum in org.apache.commons.statistics.inference
-
Define the method to determine the more extreme tables.
- UnconditionedExactTest.Result - Class in org.apache.commons.statistics.inference
-
Result for the unconditioned exact test.
V
- valueOf(String) - Static method in enum org.apache.commons.statistics.inference.AlternativeHypothesis
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.statistics.inference.ContinuityCorrection
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.statistics.inference.DataDispersion
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.statistics.inference.Inequality
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.statistics.inference.PValueMethod
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.apache.commons.statistics.inference.UnconditionedExactTest.Method
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.apache.commons.statistics.inference.AlternativeHypothesis
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.statistics.inference.ContinuityCorrection
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.statistics.inference.DataDispersion
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.statistics.inference.Inequality
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.statistics.inference.PValueMethod
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.apache.commons.statistics.inference.UnconditionedExactTest.Method
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- WilcoxonSignedRankTest - Class in org.apache.commons.statistics.inference
-
Implements the Wilcoxon signed-rank test.
- WilcoxonSignedRankTest.Result - Class in org.apache.commons.statistics.inference
-
Result for the Wilcoxon signed-rank test.
- with(UniformRandomProvider) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Return an instance with the configured source of randomness.
- with(AlternativeHypothesis) - Method in class org.apache.commons.statistics.inference.BinomialTest
-
Return an instance with the configured alternative hypothesis.
- with(AlternativeHypothesis) - Method in class org.apache.commons.statistics.inference.FisherExactTest
-
Return an instance with the configured alternative hypothesis.
- with(AlternativeHypothesis) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Return an instance with the configured alternative hypothesis.
- with(AlternativeHypothesis) - Method in class org.apache.commons.statistics.inference.MannWhitneyUTest
-
Return an instance with the configured alternative hypothesis.
- with(AlternativeHypothesis) - Method in class org.apache.commons.statistics.inference.TTest
-
Return an instance with the configured alternative hypothesis.
- with(AlternativeHypothesis) - Method in class org.apache.commons.statistics.inference.UnconditionedExactTest
-
Return an instance with the configured alternative hypothesis.
- with(AlternativeHypothesis) - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Return an instance with the configured alternative hypothesis.
- with(ContinuityCorrection) - Method in class org.apache.commons.statistics.inference.MannWhitneyUTest
-
Return an instance with the configured continuity correction.
- with(ContinuityCorrection) - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Return an instance with the configured continuity correction.
- with(DataDispersion) - Method in class org.apache.commons.statistics.inference.TTest
-
Return an instance with the configured assumption on the data dispersion.
- with(Inequality) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Return an instance with the configured inequality.
- with(PValueMethod) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Return an instance with the configured p-value method.
- with(PValueMethod) - Method in class org.apache.commons.statistics.inference.MannWhitneyUTest
-
Return an instance with the configured p-value method.
- with(PValueMethod) - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Return an instance with the configured p-value method.
- with(UnconditionedExactTest.Method) - Method in class org.apache.commons.statistics.inference.UnconditionedExactTest
-
Return an instance with the configured method.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.BinomialTest
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.FisherExactTest
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.GTest
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.MannWhitneyUTest
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.OneWayAnova
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.TTest
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.UnconditionedExactTest
-
Return an instance using the default options.
- withDefaults() - Static method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Return an instance using the default options.
- withDegreesOfFreedomAdjustment(int) - Method in class org.apache.commons.statistics.inference.ChiSquareTest
-
Return an instance with the configured degrees of freedom adjustment.
- withDegreesOfFreedomAdjustment(int) - Method in class org.apache.commons.statistics.inference.GTest
-
Return an instance with the configured degrees of freedom adjustment.
- withInitialPoints(int) - Method in class org.apache.commons.statistics.inference.UnconditionedExactTest
-
Return an instance with the configured number of initial points.
- withIterations(int) - Method in class org.apache.commons.statistics.inference.KolmogorovSmirnovTest
-
Return an instance with the configured number of iterations.
- withMu(double) - Method in class org.apache.commons.statistics.inference.MannWhitneyUTest
-
Return an instance with the configured location shift
mu
. - withMu(double) - Method in class org.apache.commons.statistics.inference.TTest
-
Return an instance with the configured
mu
. - withMu(double) - Method in class org.apache.commons.statistics.inference.WilcoxonSignedRankTest
-
Return an instance with the configured expected difference
mu
. - withOptimize(boolean) - Method in class org.apache.commons.statistics.inference.UnconditionedExactTest
-
Return an instance with the configured optimization of initial search points.
Z
- Z_POOLED - org.apache.commons.statistics.inference.UnconditionedExactTest.Method
-
Uses the test statistic from a Z-test using a pooled variance.
- Z_UNPOOLED - org.apache.commons.statistics.inference.UnconditionedExactTest.Method
-
Uses the test statistic from a Z-test using an unpooled variance.
All Classes All Packages