LinearRegression.Update Method (Double[,],Double[],Double[]) |
Updates the regression object with a new set of observations and
weights.
Namespace: Imsl.StatAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntaxpublic void Update(
double[,] x,
double[] y,
double[] w
)
Public Sub Update (
x As Double(,),
y As Double(),
w As Double()
)
public:
void Update(
array<double,2>^ x,
array<double>^ y,
array<double>^ w
)
member Update :
x : float[,] *
y : float[] *
w : float[] -> unit
Parameters
- x
- Type:System.Double[,]
A double matrix containing the independent (explanatory)
variables.
- y
- Type:System.Double[]
A double array containing the dependent (response) variables.
- w
- Type:System.Double[]
A double array representing the weights.
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