Creates a new instance of weighted StepwiseRegression.
Namespace:
Imsl.Stat
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
Visual Basic (Declaration) |
---|
Public Sub New ( _
x As Double(,), _
y As Double(), _
weights As Double() _
) |
Visual C++ |
---|
public:
StepwiseRegression(
array<double,2>^ x,
array<double>^ y,
array<double>^ weights
) |
Parameters
- x
- Type: array<
System..::.Double
,2>[,](,)[,]
A double matrix of nObs by nVars, where
nObs is the number of observations and nVars is the
number of independent variables.
- y
- Type: array<
System..::.Double
>[]()[]
A double array containing the observations of the dependent
variable.
- weights
- Type: array<
System..::.Double
>[]()[]
A double array containing the weight for each observation of
x.
Exceptions
See Also