Click or drag to resize
NormalityTest.ChiSquaredTest Method
Performs the chi-squared goodness-of-fit test.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public double ChiSquaredTest(
	int n
)

Parameters

n
Type: System.Int32
A int scalar containing the number of cells into which the observations are to be tallied.

Return Value

Type: Double
A double scalar containing the p-value for the chi-squared goodness-of-fit test.
Exceptions
ExceptionCondition
NoVariationInputException is thrown if there is no variation in the input data
DidNotConvergeException is thrown if the iteration did not converge
See Also

Reference

NormalityTest.ChiSquaredTest(Int32)