Adds a new observation and associated weight to the IRegressionBasis object.

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

Syntax

C#
public void Update(
	double x,
	double y,
	double w
)
Visual Basic (Declaration)
Public Sub Update ( _
	x As Double, _
	y As Double, _
	w As Double _
)
Visual C++
public:
void Update(
	double x, 
	double y, 
	double w
)

Parameters

x
Type: System..::.Double
A double containing the independent (explanatory) variable.
y
Type: System..::.Double
A double containing the dependent (response) variable.
w
Type: System..::.Double
A double representing the weight.

See Also