Gets the probability that the test statistic would take on the calculated value under the specified alternate hypothesis.
Namespace:
Extreme.Statistics.Tests
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual double GetPValue(
HypothesisType type
)
Public Overridable Function GetPValue (
type As HypothesisType
) As Double
public:
virtual double GetPValue(
HypothesisType type
)
abstract GetPValue :
type : HypothesisType -> float
override GetPValue :
type : HypothesisType -> float
Parameters
- type
- Type: Extreme.Statistics.TestsHypothesisType
Indicates whether the p-value should be one-tailed or two-tailed.
Return Value
Type:
DoubleThe probability that the test statistic would take on the calculated value under the hypothesis specified by
type.
Reference