| CategoricalGenLinModelOptionalDistributionParameterColumn Property |
Namespace: Imsl.Stat
| Exception | Condition |
|---|---|
| ArgumentException | is thrown when OptionalDistributionParameterColumn is less than 0 or greater than or equal to the number of columns of x |
The distribution parameter values are interpreted as follows depending on the model chosen:
| Model | Meaning of x[i,OptionalDistributionParameterColumn] |
|---|---|
| 0 | The Poisson parameter is given by
|
| 1 | The number of successes required in the negative binomial is given by x[i,OptionalDistributionParameterColumn]. |
| 2 | x[i,OptionalDistributionParameterColumn] is not used. |
| 3-5 | The number of trials in the binomial distribution is given by x[i,OptionalDistributionParameterColumn]. |
By default, the distribution parameter is assumed to be 1.