Updates the regression object with a new observation.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.0.0

Syntax

C#
public void Update(
	double[] x,
	double y
)
Visual Basic (Declaration)
Public Sub Update ( _
	x As Double(), _
	y As Double _
)
Visual C++
public:
void Update(
	array<double>^ x, 
	double y
)

Parameters

x
Type: array< System..::.Double >[]()[]
A double array containing the independent (explanatory) variables.
y
Type: System..::.Double
A double representing the dependent (response) variable.

Remarks

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

See Also