All functionality from Statistics`LinearRegression` is available in the built-in Mathematica kernel.
New system functions
Regress has been superseded by LinearModelFit, which is part of the built-in Mathematica kernel:
The result is returned as a FittedModel object, of which properties can be returned:
For a list of available properties, use "Properties":
To get the functional form of the FittedModel object, use Normal:
DesignedRegress has also been superseded by LinearModelFit:
Calculate the parameter table and
property values:
DesignMatrix is part of the built-in Mathematica kernel:
BasisNames is now an optional argument to LinearModelFit:
IncludeConstant has been renamed to IncludeConstantBasis:
Some of the properties previously available to Regress and related functions have been renamed:
| Regress | LinearModelFit |
| BestFitParametersDelta | "BetaDifferences" |
| CookD | "CookDistances" |
| CovarianceMatrixDetRatio | "CovarianceRatios" |
| JackknifedVariance | "SingleDeletionVariances" |
| MeanPredictionCITable | "MeanPredictionConfidenceIntervalTable" |
| ParameterCITable | "ParameterConfidenceIntervalTable" |
| PredictedResponseDelta | "FitDifferences" |
| SinglePredictionCITable | "SinglePredictionConfidenceIntervalTable" |
| SummaryReport | {"ParameterTable", "RSquared", "AdjustedRSquared", "EstimatedVariance", "ANOVATable"} |
| VarianceInflation | "VarianceInflationFactors" |