Click or drag to resize
NormalityTestChiSquaredTest 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: SystemInt32
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

NormalityTestChiSquaredTest(Int32)