WeightedRegressionWeightedT(T, T, T, Boolean) Method |
Weighted Linear Regression using normal equations.
Namespace: Altaxo.Calc.LinearRegressionAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static T[] Weighted<T>(
T[][] x,
T[] y,
T[] w,
bool intercept = false
)
where T : struct, new(), IEquatable<T>, IFormattable
Parameters
- x T
- Predictor matrix X
- y T
- Response vector Y
- w T
- Weight matrix W, usually diagonal with an entry for each predictor (row).
- intercept Boolean (Optional)
- True if an intercept should be added as first artificial predictor value. Default = false.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:Altaxo.Calc.LinearRegression.WeightedRegression.Weighted``1(``0[][],``0[],``0[],System.Boolean)"]
Return Value
T[Missing <returns> documentation for "M:Altaxo.Calc.LinearRegression.WeightedRegression.Weighted``1(``0[][],``0[],``0[],System.Boolean)"]
See Also