IMSL C# Numerical Library

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

Updates the regression object with a new set of observations.

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

Parameters

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

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