IMSL C# Numerical Library

LinearRegression.Update Method (Double[], Double)

Updates the regression object with a new observation.

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

Parameters

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

Remarks

x.length must be equal to the number of variables set in the constructor.

See Also

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