Hypothesis Test.Get PValue Method
Gets the probability that the test statistic would take on the calculated value under the specified alternate hypothesis.
Definition
Namespace: Numerics.NET.Statistics.Tests
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
The probability that the test statistic would take on the calculated value under the hypothesis specified by type.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
public virtual double GetPValue(
HypothesisType type
)
Parameters
- type HypothesisType
- Indicates whether the p-value should be one-tailed or two-tailed.
Return Value
DoubleThe probability that the test statistic would take on the calculated value under the hypothesis specified by type.