Click or drag to resize
Accord.NET (logo)

TTestPValueToStatistic Method (Double, TDistribution, 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,
	TDistribution distribution,
	DistributionTail type
)
Request Example View Source

Parameters

p
Type: SystemDouble
The p-value.
distribution
Type: Accord.Statistics.Distributions.UnivariateTDistribution
The test distribution.
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