Package org.apache.commons.statistics.inference
Classes providing hypothesis testing.
- Since:
- 1.1
-
Interface Summary Interface Description KolmogorovSmirnovDistribution.One.ScaledPower Defines a scaled power function.SignificanceResult Contains the result of a test for significance.SquareMatrixSupport.RealSquareMatrix Define a real-valued square matrix.UnconditionedExactTest.BoschlooStatistic Compute the statistic for Boschloo's test. -
Class Summary Class Description Arguments Argument validation methods.BaseSignificanceResult Base implementation for the result of a test for significance.BinomialTest Implements binomial test statistics.BracketFinder Provide an interval that brackets a local minimum of a function.BrentOptimizer For a function defined on some interval(lo, hi)
, this class finds an approximationx
to the point at which the function attains its minimum.BrentOptimizer.PointValuePair This class holds a point and the value of an objective function at this point.ChiSquareTest Implements chi-square test statistics.FisherExactTest Implements Fisher's exact test.GTest Implements G-test (Generalized Log-Likelihood Ratio Test) statistics.Hypergeom Provide a wrapper around theHypergeometricDistribution
that caches all probability mass values.KolmogorovSmirnovDistribution Computes the complementary probability for the one-sample Kolmogorov-Smirnov distribution.KolmogorovSmirnovDistribution.One Computes the complementary probabilityP[D_n^+ >= x]
for the one-sided one-sample Kolmogorov-Smirnov distribution.KolmogorovSmirnovDistribution.Two Computes the complementary probabilityP[D_n >= x]
, or survival function (SF), for the two-sided one-sample Kolmogorov-Smirnov distribution.KolmogorovSmirnovTest Implements the Kolmogorov-Smirnov (K-S) test for equality of continuous distributions.KolmogorovSmirnovTest.OneResult Result for the one-sample Kolmogorov-Smirnov test.KolmogorovSmirnovTest.TwoResult Result for the two-sample Kolmogorov-Smirnov test.MannWhitneyUTest Implements the Mann-Whitney U test (also called Wilcoxon rank-sum test).MannWhitneyUTest.Result Result for the Mann-Whitney U test.OneWayAnova Implements one-way ANOVA (analysis of variance) statistics.OneWayAnova.Result Result for the one-way ANOVA.Searches Search utility methods.SquareMatrixSupport Provide support for square matrix basic algebraic operations.SquareMatrixSupport.ArrayRealSquareMatrix Implementation ofSquareMatrixSupport.RealSquareMatrix
using adouble[]
array to store entries.StatisticUtils Utility computation methods.TTest Implements Student's t-test statistics.TTest.Result Result for the t-test.UnconditionedExactTest Implements an unconditioned exact test for a contingency table.UnconditionedExactTest.Candidates A container of (key,value) pairs to store candidate minima.UnconditionedExactTest.Result Result for the unconditioned exact test.UnconditionedExactTest.XYList An expandable list of (x,y) values.WilcoxonSignedRankTest Implements the Wilcoxon signed-rank test.WilcoxonSignedRankTest.Result Result for the Wilcoxon signed-rank test. -
Enum Summary Enum Description AlternativeHypothesis Represents an alternative hypothesis for a hypothesis test.ContinuityCorrection Represents an optional adjustment that is made when a discrete distribution is approximated by a continuous distribution.DataDispersion Represents an assumption on the dispersion of data.Inequality Represents a non-equal comparison between two numbers.PValueMethod Represents a method for computing a p-value for a test statistic.UnconditionedExactTest.Method Define the method to determine the more extreme tables. -
Exception Summary Exception Description InferenceException Package private exception class with constants for frequently used messages.