Package | Description |
---|---|
org.apache.commons.math3.random |
Random number and random data generators.
|
org.apache.commons.math3.stat.descriptive |
Generic univariate summary statistic objects.
|
org.apache.commons.math3.stat.inference |
Classes providing hypothesis testing.
|
Modifier and Type | Method and Description |
---|---|
StatisticalSummary |
EmpiricalDistribution.getSampleStats()
Returns a
StatisticalSummary describing this distribution. |
Modifier and Type | Class and Description |
---|---|
class |
AggregateSummaryStatistics
An aggregator for
SummaryStatistics from several data sets or
data set partitions. |
class |
DescriptiveStatistics
Maintains a dataset of values of a single variable and computes descriptive
statistics based on stored data.
|
class |
StatisticalSummaryValues
Value object representing the results of a univariate statistical summary.
|
class |
SummaryStatistics
Computes summary statistics for a stream of data values added using the
addValue method. |
class |
SynchronizedDescriptiveStatistics
Implementation of
DescriptiveStatistics that
is safe to use in a multithreaded environment. |
class |
SynchronizedSummaryStatistics
Implementation of
SummaryStatistics that
is safe to use in a multithreaded environment. |
Modifier and Type | Method and Description |
---|---|
StatisticalSummary |
AggregateSummaryStatistics.getSummary()
Return a
StatisticalSummaryValues instance reporting current
aggregate statistics. |
StatisticalSummary |
SummaryStatistics.getSummary()
Return a
StatisticalSummaryValues instance reporting current
statistics. |
StatisticalSummary |
SynchronizedSummaryStatistics.getSummary()
Return a
StatisticalSummaryValues instance reporting current
statistics. |
Modifier and Type | Method and Description |
---|---|
static StatisticalSummaryValues |
AggregateSummaryStatistics.aggregate(Collection<? extends StatisticalSummary> statistics)
Computes aggregate summary statistics.
|
Modifier and Type | Method and Description |
---|---|
static double |
TestUtils.homoscedasticT(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2) |
double |
TTest.homoscedasticT(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
Computes a 2-sample t statistic, comparing the means of the datasets
described by two
StatisticalSummary instances, under the
assumption of equal subpopulation variances. |
static double |
TestUtils.homoscedasticTTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2) |
double |
TTest.homoscedasticTTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
Returns the observed significance level, or
p-value, associated with a two-sample, two-tailed t-test
comparing the means of the datasets described by two StatisticalSummary
instances, under the hypothesis of equal subpopulation variances.
|
static double |
TestUtils.t(double mu,
StatisticalSummary sampleStats) |
double |
TTest.t(double mu,
StatisticalSummary sampleStats)
|
static double |
TestUtils.t(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2) |
double |
TTest.t(StatisticalSummary sampleStats1,
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. |
static double |
TestUtils.tTest(double mu,
StatisticalSummary sampleStats) |
double |
TTest.tTest(double mu,
StatisticalSummary sampleStats)
Returns the observed significance level, or
p-value, associated with a one-sample, two-tailed t-test
comparing the mean of the dataset described by
sampleStats
with the constant mu . |
static boolean |
TestUtils.tTest(double mu,
StatisticalSummary sampleStats,
double alpha) |
boolean |
TTest.tTest(double mu,
StatisticalSummary sampleStats,
double alpha)
Performs a
two-sided t-test evaluating the null hypothesis that the mean of the
population from which the dataset described by
stats is
drawn equals mu . |
static double |
TestUtils.tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2) |
double |
TTest.tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2)
Returns the observed significance level, or
p-value, associated with a two-sample, two-tailed t-test
comparing the means of the datasets described by two StatisticalSummary
instances.
|
static boolean |
TestUtils.tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2,
double alpha) |
boolean |
TTest.tTest(StatisticalSummary sampleStats1,
StatisticalSummary sampleStats2,
double alpha)
Performs a
two-sided t-test evaluating the null hypothesis that
sampleStats1 and sampleStats2 describe
datasets drawn from populations with the same mean, with significance
level alpha . |
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.