IMSL C# Numerical Library

CategoricalGenLinModel.OptionalDistributionParameterColumn Property

The column number in x that contains an optional distribution parameter for each observation.

public virtual int OptionalDistributionParameterColumn {set;}

Property Value

An int scalar which indicates the column number in x that contains an optional distribution parameter for each observation.

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].
2 x[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.

Exceptions

Exception TypeCondition
ArgumentException is thrown when OptionalDistributionParameterColumn is less than 0 or greater than or equal to the number of columns of x

See Also

CategoricalGenLinModel Class | Imsl.Stat Namespace