Click or drag to resize
StepwiseRegression Constructor (Double, Double, Double, Double)
Creates a new instance of weighted StepwiseRegression using observation frequencies.

Namespace: Imsl.Stat
Assembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax
public StepwiseRegression(
	double[,] x,
	double[] y,
	double[] weights,
	double[] frequencies
)

Parameters

x
Type: SystemDouble
A double matrix of nObs by nVars, where nObs is the number of observations and nVars is the number of independent variables.
y
Type: SystemDouble
A double array containing the observations of the dependent variable.
weights
Type: SystemDouble
A double array containing the weight for each observation of x.
frequencies
Type: SystemDouble
A double array containing the frequency for each row of x.
Exceptions
ExceptionCondition
TooManyObsDeletedException is thrown if more observations have been deleted than were originally entered
MoreObsDelThanEnteredException is thrown if more observations are being deleted from the output covariance matrix than were originally entered
DiffObsDeletedException is thrown if different observations are being deleted from the return matrix than were originally entered
NegativeWeightException is thrown if a weight is less than zero.
NegativeFreqException is thrown if a frequency is less than zero.
See Also