IMSL C# Numerical Library

LinearRegression.Update Method (Double[,], Double[], Double[])

Updates the regression object with a new set of observations and weights.

public void Update(
   double[,] x,
   double[] y,
   double[] w
);

Parameters

x
A double matrix containing the independent (explanatory) variables.
y
A double array containing the dependent (response) variables.
w
A double array representing the weights.

Remarks

The number of rows in x must equal y.length and the number of columns must be equal to the number of variables set in the constructor.

See Also

LinearRegression Class | Imsl.Stat Namespace | LinearRegression.Update Overload List