IMSL C# Numerical Library

CategoricalGenLinModel.ModelIntercept Property

The intercept option.

public virtual int ModelIntercept {set;}

Property Value

An int scalar which indicates whether or not the model has an intercept.

Remarks

Input ModelIntercept is interpreted as follows:

ValueAction
0No intercept is in the model (unless otherwise provided for by the user).
1Intercept is automatically included in the model.

By default ModelIntercept = 1.

Exceptions

Exception TypeCondition
ArgumentException is thrown when ModelIntercept is less than 0 or greater than 1

See Also

CategoricalGenLinModel Class | Imsl.Stat Namespace