IMSL C# Numerical Library

ChiSquaredTest Constructor (ICdfFunction, Double[], Int32)

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

public ChiSquaredTest(
   ICdfFunction cdf,
   double[] cutpoints,
   int nParameters
);

Parameters

cdf
Object that implements the ICdfFunction interface.
cutpoints
A double array containing the cutpoints.
nParameters
A int which specifies the number of parameters estimated in computing the Cdf.

Exceptions

Exception Type Condition
NotCDFException is thrown if the function cdf.CdfFunction is not a valid CDF.

See Also

ChiSquaredTest Class | Imsl.Stat Namespace | ChiSquaredTest Constructor Overload List