SlidesRLec6

# par some plotting parameters work within the

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

This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: hin a prior par(...) call. The ; separation allows several commands on one line. 17 Judging Normality Takes Lots of Pratice Normal Q−Q Plot Normal Q−Q Plot 2.0 Normal Q−Q Plot q q q 2 q 1.5 q q q qq q 1 2 1 0 q q −1 0 1 2 Normal Q−Q Plot q q 2 q qq 1 0 q qq q qq qq q qq −1 q −2 q qq q qq q qq q qqq q qq q q q q q 1 q q q qq q qq q q qqqq qq q 0 q Sample Quantiles 0 −1 Theoretical Quantiles q q qq −2 q q q q q qq 2 2 2 1 q 1 Normal Q−Q Plot q qq 0 Theoretical Quantiles Normal Q−Q Plot qq q q −2 Theoretical Quantiles q q qq qq Sample Quantiles 0 qq q qq q q q qq q q q q −2 −1 q q −2 −1.5 −2 −1 qq q q q qq qq q −1 −2 q qq qq qq q q q q q q −2 −3 Sample Quantiles q q q q −1 0 1 Theoretical Quantiles 18 Sample Quantiles 1.0 q qq −1 q q q 0.5 Sample Quantiles 0 qq q q qq q qq q q q qq qq q q 0.0 qq q q q −0.5 q qq qq qq qq q −1 Sample Quantiles 1 q q 2 q q 2 −2 −1 0 1 Theoretical Quantiles 2 q −2 −1 0 1 Theoretical Quantiles 2 Normal QQ-Plot n = 100 par(mfrow=c(2,3)) x <- rnorm(100);qqnorm(x,pch=16,cex=.5);qqline(x) x <- rnorm(100);qqnorm(x,pch=16,cex=.5);qqline(x) x <- rnorm(100);qqnorm(x,pch=16,cex=.5);qqline(x) x <- rnorm(100);qqnorm(x,pch=16,cex=.5);qqline(x) x <- rnorm(100);qqnorm(x,pch=16,cex=.5);qqline(x) x <- rnorm(100);qqnorm(x,pch=16,cex=.5);qqline(x) 19 n to 100 Helps Normal Q−Q Plot Normal Q−Q Plot Normal Q−Q Plot q 2 q q 2 Increasing 2 qq q q q q q q 0 Sample Quantiles 1 q q q q q qq qq q q qq q q q qq q q q qqq qqq qq qq q qqq q Sample Quantiles q q q q q qq q q q q q q qq qq q qq qq qq q q qq qq q q q qq qq qq q −1 1 0 −1 Sample Quantiles q q q q q q q q q q q q q q q q qqq q qq qq q qq q q q q qq q q q qq q qq qq q qq qqq qq q q q q q q q q qq qq q q q q q q q qq q q q q q 0 1 q q qq qq qqq q q q q qq q q q qq q qq qq qq qq qq q q q q q q q qq q qq qq qq q q qq qq q q q qq qq q q qq qq qq qq q q q q q q qq qq q q qq q q q qq q qqq −1 q q q qq q q qq −2 q q −2 −2 q q q q qq q q q q q −1 0 1 q q q q q −2 q q qq q qq q q 2 q −2 −1 Theoretical Quantiles 0 1 2 −2 −1 Theoretical Quantiles 1 2 Normal Q−Q Plot 2 q q 3 q 0 Theoretical Quantiles Normal Q−Q Plot 3 Normal Q−Q Plot q q q 2 q q q q q q qq q q q q q q q qq qq q qq qq qq q q qq qq q q q q q qq q q q q q q q q q q q q q q q q q q q qq qqq q qq q q qq q 1 q qqq q q q q qq q q q qq q q q q q q qq...
View Full Document

## This note was uploaded on 02/25/2014 for the course STAT 302 taught by Professor Fritz during the Winter '13 term at University of Washington.

Ask a homework question - tutors are online