|
ZTestStatisticToPValue Method (Double, DistributionTail)
|
Converts a given test statistic to a p-value.
Namespace:
Accord.Statistics.Testing
Assembly:
Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax public static double StatisticToPValue(
double z,
DistributionTail type
)
Public Shared Function StatisticToPValue (
z As Double,
type As DistributionTail
) As Double
Request Example
View SourceParameters
- z
- Type: SystemDouble
The value of the test statistic. - type
- Type: Accord.Statistics.TestingDistributionTail
The tail of the test distribution.
Return Value
Type:
DoubleThe p-value for the given statistic.
See Also