From dc55398562eec61b20b468cd605d741651473b90 Mon Sep 17 00:00:00 2001 From: Aaron Mayzes Date: Mon, 27 Apr 2015 11:53:45 -0600 Subject: [PATCH] Update index.Rmd Fix typo --- .../02_04_residuals_variation_diagnostics/index.Rmd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07_RegressionModels/02_04_residuals_variation_diagnostics/index.Rmd b/07_RegressionModels/02_04_residuals_variation_diagnostics/index.Rmd index 35840162e..b1fead2bb 100644 --- a/07_RegressionModels/02_04_residuals_variation_diagnostics/index.Rmd +++ b/07_RegressionModels/02_04_residuals_variation_diagnostics/index.Rmd @@ -74,7 +74,7 @@ Calling a point an outlier is vague. * `hatvalues` - measures of leverage * `dffits` - change in the predicted response when the $i^{th}$ point is deleted in fitting the model. * `dfbetas` - change in individual coefficients when the $i^{th}$ point is deleted in fitting the model. - * `cooks.distance` - overall change in teh coefficients when the $i^{th}$ point is deleted. + * `cooks.distance` - overall change in the coefficients when the $i^{th}$ point is deleted. * `resid` - returns the ordinary residuals * `resid(fit) / (1 - hatvalues(fit))` where `fit` is the linear model fit returns the PRESS residuals, i.e. the leave one out cross validation residuals - the difference in the response and the predicted response at data point $i$, where it was not included in the model fitting.