Click or drag to resize

WeightedRegressionWeightedT(MatrixT, VectorT, MatrixT) Method

Weighted Linear Regression using normal equations.

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

Parameters

x  MatrixT
Predictor matrix X
y  VectorT
Response vector Y
w  MatrixT
Weight matrix W, usually diagonal with an entry for each predictor (row).

Type Parameters

T

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

Return Value

VectorT

[Missing <returns> documentation for "M:Altaxo.Calc.LinearRegression.WeightedRegression.Weighted``1(Altaxo.Calc.LinearAlgebra.Matrix{``0},Altaxo.Calc.LinearAlgebra.Vector{``0},Altaxo.Calc.LinearAlgebra.Matrix{``0})"]

See Also