TestResult Class |
Namespace: Meta.Numerics.Statistics
The TestResult type exposes the following members.
Name | Description | |
---|---|---|
Probability |
Gets the P-value of the statistical test.
| |
Statistic |
Gets the test statistic.
| |
Type |
Gets or sets the sided-ness of the statistical test.
| |
UnderlyingStatistic |
Gets the underlying discrete test statistic.
|
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
A statistical test compares data to a prediction, called the null hypothesis, and computes a number, called the test statistic, which measures how much the data differs from the prediction. A key aspect of a useful statistical test is that the distribution of the test statistic under the null hypothesis can be computed. Given this distribution, one can say how likely it is for the test statistic value to take on as extreme a value was observed. If this probability is low, the null hypothesis is likely false. If this probability is not too low, the data is compatible with the null hypothesis.