Click or drag to resize
ChiSquaredTest Constructor (ICdfFunction, Int32, Int32)
Constructor for the Chi-squared goodness-of-fit test

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public ChiSquaredTest(
	ICdfFunction cdf,
	int nCutpoints,
	int nParameters
)

Parameters

cdf
Type: Imsl.StatICdfFunction
Object that implements the ICdfFunction interface.
nCutpoints
Type: SystemInt32
A int which specifies the number of cutpoints.
nParameters
Type: SystemInt32
A int which specifies the number of parameters estimated in computing the Cdf.
Exceptions
ExceptionCondition
NotCDFException is thrown if the function cdf.CdfFunction is not a valid CDF.
DidNotConvergeException is thrown if the interation to find the inverse of the CDF did not converge. The inverse CDF is needed to compute the cutpoints.
See Also