Click or drag to resize

LinearRegression Methods

The LinearRegression type exposes the following members.

Methods
 NameDescription
Public methodAddInterceptParameter Adds an intercept parameter to the model and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodAddObservation Adds the given observation to the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodAddObservations Adds the given observations to the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodAddPredictor Adds a predictor to the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodAddPredictors Adds predictors to the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodClone Creates a deep copy of this LinearRegression.
Public methodGetStandardizedResiduals Returns the standardized residuals (also known as the internally studentized residuals).
Public methodGetStudentizedResiduals Returns the (externally) studentized residuals.
Public methodPredictedObservation Returns the value of the dependent variable predicted by the model for the given set of predictor values.
Public methodPredictedObservations Returns the values of the dependent variable predicted by the model for the given sets of predictor values.
Public methodPredictionInterval Returns a confidence interval for the value of the dependent variable predicted by the model for the given set of predictor values.
Public methodRecalculateParameters Recalculates the model parameters.
(Overrides RegressionBaseRecalculateParameters)
Public methodRemoveInterceptParameter Removes the intercept parameter from the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodRemoveObservation Removes the row at the indicated index from the predictor matrix and the corresponding element from the observation vector, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodRemoveObservations Removes the specified rows from the predictor matrix, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodRemovePredictor Removes the specified predictor from the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodCode exampleRemovePredictors Removes the specified predictors from the model, and recalculates the model parameters.
(Inherited from RegressionBase)
Public methodSetRegressionData(DataFrame, IDFColumn, Boolean) Sets the regression matrix, observation vector, and intercept option to the specified values, and recalculates the model parameters.
Public methodSetRegressionData(DoubleMatrix, DoubleVector, Boolean) Sets the regression matrix, observation vector, and intercept option to the specified values, and recalculates the model parameters.
Public methodVarianceInflationFactor An index which measures how much the variance of a coefficient (square of the standard deviation) is increased because of collinearity.
Public methodVarianceInflationFactors An index which measures how much the variance of a coefficient (square of the standard deviation) is increased because of collinearity.
Top
See Also