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, double[] cutpoints, int nParameters ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ cdf As ICdfFunction, _ cutpoints As Double(), _ nParameters As Integer _ ) |
Visual C++ |
---|
public: ChiSquaredTest( ICdfFunction^ cdf, array<double>^ cutpoints, int nParameters ) |
Parameters
- cdf
- Type: Imsl.Stat..::.ICdfFunction
Object that implements the ICdfFunction interface.
- cutpoints
- Type: array<
System..::.Double
>[]()[]
A double array containing the cutpoints.
- nParameters
- Type: System..::.Int32
A int which specifies the number of parameters estimated in computing the Cdf.
Exceptions
Exception | Condition |
---|---|
Imsl.Stat..::.NotCDFException | is thrown if the function cdf.CdfFunction is not a valid CDF. |