Home > Extreme Optimization Statistics Library for .NET > Reference > Extreme.Statistics.Tests Namespace
Serves as an abstract base class for classes that represent a hypothesis test.
For a list of all members of this type, see HypothesisTest Members.
System.Object
HypothesisTest
The HypothesisTest class serves as the base class for all classes that implement statistical tests.
Most statistical tests follow a common pattern. A hypothesis is proposed, a Statistic is calculated based on the hypothesis. This statistic follows a distribution, which is used to calculated the probability, or PValue, that the hypothesis is false. If the probability is below a certain cut-off value, the SignificanceLevel, then the hypothesis is rejected.
Note to inheritors: If you need to implement a statistical test, then most likely you should derive the class from one of the specialized classes for tests involving one (OneSampleTest), two (TwoSampleTest), or more (MultiSampleTest) samples. Only in very rare instances will you need to inherit from HypothesisTest directly.
If you do, you must override CalculateStatistic. You must also set the Distribution property either in the constructor or in your CalculateStatistic implementation.
Namespace: Extreme.Statistics.Tests
Assembly: Extreme.Statistics (in Extreme.Statistics.dll)
HypothesisTest Members | Extreme.Statistics.Tests Namespace