Click or drag to resize
LinearRegressionUpdate Method (Double, Double, Double)
Updates the regression object with a new observation and weight.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public void Update(
	double[] x,
	double y,
	double w
)

Parameters

x
Type: SystemDouble
A double array containing the independent (explanatory) variables.
y
Type: SystemDouble
A double representing the dependent (response) variable.
w
Type: SystemDouble
A double representing the weight.
Remarks
x.Length must be equal to the number of variables set in the constructor.
See Also