Click or drag to resize
CategoricalGenLinModelOptionalDistributionParameterColumn Property
The column number in x that contains an optional distribution parameter for each observation.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual int OptionalDistributionParameterColumn { set; }

Property Value

Type: Int32
An int scalar which indicates the column number in x that contains an optional distribution parameter for each observation.
Exceptions
ExceptionCondition
ArgumentException is thrown when OptionalDistributionParameterColumn is less than 0 or greater than or equal to the number of columns of x
Remarks

The distribution parameter values are interpreted as follows depending on the model chosen:

Model Meaning of x[i,OptionalDistributionParameterColumn]
0The Poisson parameter is given by x[i,OptionalDistributionParameterColumn]\times{e^\rho}
            .
1The number of successes required in the negative binomial is given by x[i,OptionalDistributionParameterColumn].
2x[i,OptionalDistributionParameterColumn] is not used.
3-5The number of trials in the binomial distribution is given by x[i,OptionalDistributionParameterColumn].

By default, the distribution parameter is assumed to be 1.

See Also