Click or drag to resize
CategoricalGenLinModelSetEffects Method
Initializes an index vector to contain the column numbers in x associated with each effect.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public virtual void SetEffects(
	int[] indef,
	int[] nvef
)

Parameters

indef
Type: SystemInt32
An int vector of length \sum_{k=0}^{\mbox{nef}-1}
            \mbox{nvef[k]} where nef is the number of effects in the model.
nvef
Type: SystemInt32
An int vector of length nef where nef is the number of effects in the model.
Exceptions
ExceptionCondition
ArgumentException is thrown when an element of indef is less than 0 or greater than or equal to the number of columns of x or if an element of nvef is less than or equal to 0
Remarks

indef contains the column numbers in x that are associated with each effect. Member function SetEffects(int [], nvef []) sets the number of variables associated with each effect in the model. The first nvef[0] elements of indef give the column numbers of the variables in the first effect. The next nvef[0] elements give the column numbers of the variables in the second effect, etc. By default this vector is not referenced.

nvef contains the number of variables associated with each effect in the model. By default this vector is not referenced.

See Also