ChiSquaredTest Constructor (ICdfFunction, Int32, Int32) |
Constructor for the Chi-squared goodness-of-fit test
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public ChiSquaredTest(
ICdfFunction cdf,
int nCutpoints,
int nParameters
)
Public Sub New (
cdf As ICdfFunction,
nCutpoints As Integer,
nParameters As Integer
)
public:
ChiSquaredTest(
ICdfFunction^ cdf,
int nCutpoints,
int nParameters
)
new :
cdf : ICdfFunction *
nCutpoints : int *
nParameters : int -> ChiSquaredTest
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 Exception | Condition |
---|
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