Click or drag to resize
Accord.NET (logo)

ZTestPValueToStatistic Method (Double, DistributionTail)

Converts a given p-value to a test statistic.

Namespace:  Accord.Statistics.Testing
Assembly:  Accord.Statistics (in Accord.Statistics.dll) Version: 3.8.0
Syntax
public static double PValueToStatistic(
	double p,
	DistributionTail type
)
Request Example View Source

Parameters

p
Type: SystemDouble
The p-value.
type
Type: Accord.Statistics.TestingDistributionTail
The tail of the test distribution.

Return Value

Type: Double
The test statistic which would generate the given p-value.
See Also