Performs the chi-squared goodness-of-fit test.
int scalar containing the number of cells into which the observations are to be tallied. A double scalar containing the p-value for the chi-squared goodness-of-fit test.
| Exception Type | Condition |
|---|---|
| NoVariationInputException | is thrown if there is no variation in the input data |
| DidNotConvergeException | is thrown if the iteration did not converge |
NormalityTest Class | Imsl.Stat Namespace | ChiSquaredTest