Click or drag to resize

FitMultiDim Method

Least-Squares fitting the points (X,y) = ((x0,x1,..,xk),y) to a linear surface y : X -> p0*x0 + p1*x1 + ... + pk*xk, returning its best fitting parameters as [p0, p1, p2, ..., pk] array. If an intercept is added, its coefficient will be prepended to the resulting parameters.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double[] MultiDim(
	double[][] x,
	double[] y,
	bool intercept = false,
	DirectRegressionMethod method = DirectRegressionMethod.NormalEquations
)

Parameters

x  Double

[Missing <param name="x"/> documentation for "M:Altaxo.Calc.Fit.MultiDim(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

y  Double

[Missing <param name="y"/> documentation for "M:Altaxo.Calc.Fit.MultiDim(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

intercept  Boolean  (Optional)

[Missing <param name="intercept"/> documentation for "M:Altaxo.Calc.Fit.MultiDim(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

method  DirectRegressionMethod  (Optional)

[Missing <param name="method"/> documentation for "M:Altaxo.Calc.Fit.MultiDim(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

Return Value

Double

[Missing <returns> documentation for "M:Altaxo.Calc.Fit.MultiDim(System.Double[][],System.Double[],System.Boolean,Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

See Also