Click or drag to resize

MultipleRegressionDirectMethodT(MatrixT, VectorT, DirectRegressionMethod) Method

Find the model parameters β such that X*β with predictor X becomes as close to response Y as possible, with least squares residuals.

Namespace: Altaxo.Calc.LinearRegression
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static Vector<T> DirectMethod<T>(
	Matrix<T> x,
	Vector<T> y,
	DirectRegressionMethod method = DirectRegressionMethod.NormalEquations
)
where T : struct, new(), IEquatable<T>, IFormattable

Parameters

x  MatrixT
Predictor matrix X
y  VectorT
Response vector Y
method  DirectRegressionMethod  (Optional)
The direct method to be used to compute the regression.

Type Parameters

T

[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearRegression.MultipleRegression.DirectMethod``1(Altaxo.Calc.LinearAlgebra.Matrix{``0},Altaxo.Calc.LinearAlgebra.Vector{``0},Altaxo.Calc.LinearRegression.DirectRegressionMethod)"]

Return Value

VectorT
Best fitting vector for model parameters β
See Also