The column number in x that contains an optional distribution parameter for each observation.
An int scalar which indicates the column number in x that contains an optional distribution parameter for each observation.
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.
| Exception Type | Condition |
|---|---|
| ArgumentException | is thrown when OptionalDistributionParameterColumn is less than 0 or greater than or equal to the number of columns of x
|
CategoricalGenLinModel Class | Imsl.Stat Namespace