Accord.Statistics.Testing Namespace |
Class | Description | |
---|---|---|
AndersonDarlingTest |
One-sample Anderson-Darling (AD) test.
| |
AnovaSourceCollection |
ANOVA's result table.
| |
AnovaVariationSource |
Source of variation in an ANOVA experiment.
| |
AverageKappaTest |
Kappa Test for multiple contingency tables.
| |
BartlettTest |
Bartlett's test for equality of variances.
| |
BhapkarTest |
Bhapkar test of homogeneity for contingency tables.
| |
BinomialTest |
Binomial test.
| |
BowkerTest |
Bowker test of symmetry for contingency tables.
| |
ChiSquareTest |
Two-Sample (Goodness-of-fit) Chi-Square Test (Upper Tail)
| |
FisherExactTest |
Fisher's exact test for contingency tables.
| |
FTest |
Snedecor's F-Test.
| |
GrubbTest |
Grubb's Test for Outliers (for approximately Normal distributions).
| |
HypothesisTestTDistribution |
Base class for Hypothesis Tests.
| |
KappaTest |
Kappa Test for agreement in contingency tables.
| |
KolmogorovSmirnovTest |
One-sample Kolmogorov-Smirnov (KS) test.
| |
LeveneTest |
Levene's test for equality of variances.
| |
LillieforsTest |
One sample Lilliefors' corrected Kolmogorov-Smirnov (KS) test.
| |
MannWhitneyWilcoxonTest |
Mann-Whitney-Wilcoxon test for unpaired samples.
| |
McNemarTest |
McNemar test of homogeneity for 2 x 2 contingency tables.
| |
MultinomialTest |
Multinomial test (approximated).
| |
OneWayAnova |
One-way Analysis of Variance (ANOVA).
| |
PairedTTest |
T-Test for two paired samples.
| |
ReceiverOperatingCurveTest |
Hypothesis test for a single ROC curve.
| |
ShapiroWilkTest |
Shapiro-Wilk test for normality.
| |
SignTest |
Sign test for the median.
| |
StuartMaxwellTest |
Stuart-Maxwell test of homogeneity for K x K contingency tables.
| |
TTest |
One-sample Student's T test.
| |
TwoAverageKappaTest |
Kappa test for the average of two groups of contingency tables.
| |
TwoMatrixKappaTest |
Kappa Test for two contingency tables.
| |
TwoProportionZTest |
Z-Test for two sample proportions.
| |
TwoReceiverOperatingCurveTest |
Hypothesis test for two Receiver-Operating
Characteristic (ROC) curve areas (ROC-AUC).
| |
TwoSampleKolmogorovSmirnovTest |
Two-sample Kolmogorov-Smirnov (KS) test.
| |
TwoSampleSignTest |
Sign test for two paired samples.
| |
TwoSampleTTest |
Two-sample Student's T test.
| |
TwoSampleWilcoxonSignedRankTest |
Wilcoxon signed-rank test for paired samples.
| |
TwoSampleZTest |
Two sample Z-Test.
| |
TwoWayAnova |
Two-way Analysis of Variance.
| |
TwoWayAnovaVariationSources |
Sources of variation in a two-way ANOVA experiment.
| |
WaldTest |
Wald's Test using the Normal distribution.
| |
WilcoxonSignedRankTest |
Wilcoxon signed-rank test for the median.
| |
WilcoxonTest |
Base class for Wilcoxon's W tests.
| |
ZTest |
One-sample Z-Test (location test).
|
Interface | Description | |
---|---|---|
IAnova |
Common interface for analyses of variance.
| |
IHypothesisTest |
Common interface for Hypothesis tests depending on a statistical distribution.
| |
IHypothesisTestTDistribution |
Common interface for Hypothesis tests depending on a statistical distribution.
|
Enumeration | Description | |
---|---|---|
DistributionTail |
Hypothesis type
| |
GrubbTestHypothesis |
Hypothesis for the one-sample Grubb's test.
| |
KolmogorovSmirnovTestHypothesis |
Hypothesis for the one-sample Kolmogorov-Smirnov test.
| |
LeveneTestMethod |
Levene test computation methods.
| |
OneSampleHypothesis | ||
TwoSampleHypothesis |
Common test Hypothesis for two sample tests, such as
TwoSampleZTest and TwoSampleTTest.
| |
TwoSampleKolmogorovSmirnovTestHypothesis |
Test hypothesis for the two-sample Kolmogorov-Smirnov tests.
| |
TwoWayAnovaModel |
Two-way ANOVA model types.
|
This namespace contains a suite of parametric and non-parametric hypothesis tests. Every test in this library implements the IHypothesisTest interface, which defines a few key methods and properties to assert whether an statistical hypothesis can be supported or not. Every hypothesis test is associated with an statistic distribution which can in turn be queried, inspected and computed as any other distribution in the Accord.Statistics.Distributionsnamespace.
By default, tests are created using a 0.05 significance level , which in the framework is referred as the test's size. P-Values are also ready to be inspected by checking a test's P-Value property.
Furthermore, several tests in this namespace also support power analysis. The power analysis of a test can be used to suggest an optimal number of samples which have to be obtained in order to achieve a more interpretable or useful result while doing hypothesis testing. Power analyses implement the IPowerAnalysis interface, and analyses are available for the one sample Z, and T tests, as well as their two sample versions.
Some useful parametric tests are the BinomialTest, ChiSquareTest, FTest, MultinomialTest, TTest, WaldTest and ZTest. Useful non-parametric tests include the KolmogorovSmirnovTest, SignTest, WilcoxonSignedRankTest and the WilcoxonTest.
Tests are also available for two or more samples. In this case, we can find two sample variants for the PairedTTest, TwoProportionZTest, TwoSampleKolmogorovSmirnovTest, TwoSampleSignTest, TwoSampleTTest, TwoSampleWilcoxonSignedRankTest, TwoSampleZTest, as well as the MannWhitneyWilcoxonTest for unpaired samples. For multiple samples we can find the OneWayAnova and TwoWayAnova, as well as the LeveneTest and BartlettTest.
Finally, the namespace also includes several tests for contingency tables. Those tests include Kappa test for inter-rater agreement and its variants, such as the AverageKappaTest, TwoAverageKappaTest and TwoMatrixKappaTest. Other tests include BhapkarTest, McNemarTest, ReceiverOperatingCurveTest, StuartMaxwellTest, and the TwoReceiverOperatingCurveTest.
The namespace class diagram is shown below.
Please note that class diagrams for each of the inner namespaces are also available within their own documentation pages.