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.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntaxpublic 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
DoubleThe fitted weighted coefficients of the linear surface.
See Also