12.07.2015 Views

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

Course Notes - Department of Mathematics and Statistics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Diagnostics• Remember our Assumptions• Normally distributed residuals• Constant variance <strong>of</strong> residuals (homoscedasticity )• R<strong>and</strong>om about 0Diagnostic plotslm(TLC ~ Age + Height + Sex)Residuals−2 0 1 2 3●●Residuals vs Fitted●●●●29●●● ● ●●●●●●●32● ●●●●●●●●20●St<strong>and</strong>ardized residuals−2 0 1 2Normal Q−Q32●29●●●●●●● ●●●●●●● ●● ● ●●●●●204 5 6 7 8−2 −1 0 1 2Fitted valuesTheoretical QuantilesSt<strong>and</strong>ardized residuals0.0 0.5 1.0 1.5Scale−Location●29 ●32●● ●●●●●●● ● ●●●●●● ●●●●●●● ● ●●20●St<strong>and</strong>ardized residuals−2 0 1 2Residuals vs Leverage●●290.5●●●●●●●●●●● ●● ● ●●●●● ●●●●●3Cook's distance 20●0.54 5 6 7 80.00 0.10 0.20 0.30Fitted valuesLeverage●●LinearModel.2res−2 −1 0 1 2●●●●●●●●●●●●●●●●●●●●●●●●●●●●●10 20 30 40 50Lung$Age244

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!