Click or drag to resize

LinearFitBySvdCorrectedSumOfSquares Method

Calculates the corrected sum of squares of length elements in x, starting at index start.

Namespace: Altaxo.Calc.Regression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public static double CorrectedSumOfSquares(
	IReadOnlyList<double> x,
	double mean,
	int start,
	int length
)

Parameters

x  IReadOnlyListDouble
The sequence of values.
mean  Double
The mean value of the sequence.
start  Int32
The starting index.
length  Int32
The number of elements used for the calculation.

Return Value

Double
The corrected sum of squares (sum of squared deviations from mean).
See Also