IMSL C# Numerical Library

LinearRegression.CaseStatistics.Effects Property

NOTE: This property is now obsolete.

This method has been removed after it was determined that x.Length was the only value allowed by the implimentation. Effects default now x.Length


Sets the effect option.

public virtual int Effects {set;}

Property Value

An int specifying the number of model related sources of variation.

Remarks

The absolute value is used to specify the number of effects (sources of variation) due to the model. The sign of Effect specifies the following:

EffectsMeaning
\lt 0Each effect corresponds to a single regressor (coefficient) in the model.
\gt 0 Currently not used. This will result in an IllegalArgumentException being thrown.
0There are no effects in the model. hasIntercept must be set to true.

By default, Effects = x.Length.

See Also

LinearRegression.CaseStatistics Class | Imsl.Stat Namespace