WebCab Probability and Statistics for COM v3.6

GeneralLinear.SumSquaresRegression Method 

Evaluates the Sum of Squares Due to Regression (SSR) for the (multi-linear) regression considered.

public double SumSquaresRegression();

Return Value

The Sum of Squares Due to Regression (SSR) for the (multi-linear) regression considered.

Remarks

Further Details

The SSR is the sum of the squares of the distance in the y-coordinate between the regression function and the mean of coordinates values in the data points. That is, SSR is evaluated as follows:

SSR = Sum of (Ri - Mean)2,

where Ri is the value of regression function evaluated at the i-th data point, and Mean is the mean of the y-coordinates of the data points. The SSR measures how much of the variability is explained by the regression model.

Preconditions

Please note that before this method is called you must have already performed the following tasks:

  1. Set the Fitting Function using SetFunctionBasis
  2. Fit the function using SetGeneralFit

See Also

GeneralLinear Class | WebCab.COM.Statistics.CurveFitting Namespace