Click or drag to resize
Accord.NET (logo)

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.7.0
Syntax
public static double StatisticToPValue(
	double z,
	DistributionTail type
)
Request Example View Source

Parameters

z
Type: SystemDouble
The value of the test statistic.
type
Type: Accord.Statistics.TestingDistributionTail
The tail of the test distribution.

Return Value

Type: Double
The p-value for the given statistic.
See Also