UN2Rcmdr - -2-1 1 2 Theoretical Quantiles Standardized...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Example of regression diagnostic plots in R commander UN data on fertility 1. Launch R commander 2. Import the data from UN2.csv 3. Statistics b Fit models b Linear model… (regress logFertility on logPPgdp and Purban) 4. Models b Graphs b Basic diagnostic graphs (displayed below) 0.4 0.6 0.8 1.0 1.2 1.4 1.6 -1.0 -0.5 0.0 0.5 1.0 Fitted values Residuals Residuals vs Fitted 141 6 181 -3 -2 -1 0 1 2 3
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: -2-1 1 2 Theoretical Quantiles Standardized residuals Normal Q-Q 141 6 181 0.4 0.6 0.8 1.0 1.2 1.4 1.6 1.5 Fitted values Scale-Location 141 6 181 0.00 0.02 0.04 0.06 0.08 0.10 0.12-3 Leverage Cook's distance 0.5 Residuals vs Leverage 6 181 50 lm(logFertility ~ logPPgdp + Purban)...
View Full Document

This note was uploaded on 09/11/2011 for the course STAT 200 taught by Professor Agniel during the Spring '09 term at University of Illinois at Urbana–Champaign.

Ask a homework question - tutors are online