RegressionCommon`
RegressionCommon`

FitResiduals

As of Version 7.0, FitResiduals has become a property of LinearModelFit and NonlinearModelFit.

FitResiduals

is a possible value for the RegressionReport option which represents the residual errors for the fitted values.

Details and Options

  • To use FitResiduals, you first need to load the Regression Common Functions Package. You can do this by using Needs["LinearRegression`"] or Needs["NonlinearRegression`"], which will automatically load the Regression Common Functions Package, or you can load the package directly by using Needs["RegressionCommon`"].
  • FitResiduals gives the difference between the response values in the input data and the fitted values PredictedResponse.

Examples

Basic Examples  (1)

Sample data:

FitResiduals for a linear regression:

Wolfram Research (2007), FitResiduals, Wolfram Language function, https://reference.wolfram.com/language/RegressionCommon/ref/FitResiduals.html.

Text

Wolfram Research (2007), FitResiduals, Wolfram Language function, https://reference.wolfram.com/language/RegressionCommon/ref/FitResiduals.html.

CMS

Wolfram Language. 2007. "FitResiduals." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/RegressionCommon/ref/FitResiduals.html.

APA

Wolfram Language. (2007). FitResiduals. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/RegressionCommon/ref/FitResiduals.html

BibTeX

@misc{reference.wolfram_2024_fitresiduals, author="Wolfram Research", title="{FitResiduals}", year="2007", howpublished="\url{https://reference.wolfram.com/language/RegressionCommon/ref/FitResiduals.html}", note=[Accessed: 22-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_fitresiduals, organization={Wolfram Research}, title={FitResiduals}, year={2007}, url={https://reference.wolfram.com/language/RegressionCommon/ref/FitResiduals.html}, note=[Accessed: 22-November-2024 ]}