WebCab Probability and Statistics for COM v3.6

GeneralLinear.TotalSumSquares Method 

Evaluates the Total Sum of Squares (SST) for the (multi-linear) regression considered.

public double TotalSumSquares();

Return Value

The Total Sum of Squares (SST) for the (multi-linear) regression considered.

Remarks

Further Details

The SST is the sum of the squares of the distances in the y-coordinate between the mean of the data points and each of the data points themselves. That is, the SST is evaluated as follows:

SST = Sum of (yi - Mean)2,

where yi is the value of the second coordinate of the i-th data point to which the regression function is fitted, and Mean is the mean of the y-coordinates of the data points.

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