Constructor for the Chi-squared goodness-of-fit test

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public ChiSquaredTest(
	ICdfFunction cdf,
	int nCutpoints,
	int nParameters
)
Visual Basic (Declaration)
Public Sub New ( _
	cdf As ICdfFunction, _
	nCutpoints As Integer, _
	nParameters As Integer _
)
Visual C++
public:
ChiSquaredTest(
	ICdfFunction^ cdf, 
	int nCutpoints, 
	int nParameters
)

Parameters

cdf
Type: Imsl.Stat..::.ICdfFunction
Object that implements the ICdfFunction interface.
nCutpoints
Type: System..::.Int32
A int which specifies the number of cutpoints.
nParameters
Type: System..::.Int32
A int which specifies the number of parameters estimated in computing the Cdf.

Exceptions

ExceptionCondition
Imsl.Stat..::.NotCDFException is thrown if the function cdf.CdfFunction is not a valid CDF.
Imsl.Stat..::.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