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