Click or drag to resize

FitMultiDimWeighted Method

Weighted Least-Squares fitting the points (X,y) = ((x0,x1,..,xk),y) and weights w to a linear surface y : X -> p0*x0 + p1*x1 + ... + pk*xk, returning its best fitting parameters as [p0, p1, p2, ..., pk] array.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static double[] MultiDimWeighted(
	double[][] x,
	double[] y,
	double[] w
)

Parameters

x  Double
The predictor vectors.
y  Double
The response values.
w  Double
The weights of the sample points.

Return Value

Double
The fitted weighted coefficients of the linear surface.
See Also