Returns the intercept.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public virtual double Intercept { get; }
Visual Basic (Declaration)
Public Overridable ReadOnly Property Intercept As Double
Visual C++
public:
virtual property double Intercept {
	double get ();
}

Return Value

A double containing the intercept.

Remarks

The intercept is computed as follows:
\beta_0=\bar{y}-\sum_{i=1}^{n}\beta_i
            \bar{x}_{i-1}
where \bar{y} is the mean of the dependent variable y, \beta_i are the coefficients, and \bar{x}_i are the mean values for each independent variable x_i in the final model. If the covariance matrix is used for input, use method SetMean to specify the means of the variables. If x and y are used for input, the means are computed internally and do not need to be specified.

See Also