Presentation is loading. Please wait.

Presentation is loading. Please wait.

UNR * STAT 758 * Fall 2006. Observations Model Probability (a fair coin will show about 50% of tails) Statistics (a coin that shows 90 tails out.

Similar presentations


Presentation on theme: "UNR * STAT 758 * Fall 2006. Observations Model Probability (a fair coin will show about 50% of tails) Statistics (a coin that shows 90 tails out."— Presentation transcript:

1 UNR * STAT 758 * Fall 2006

2

3

4

5

6 Observations Model Probability (a fair coin will show about 50% of tails) Statistics (a coin that shows 90 tails out of 100 throws is probably not fair)

7 UNR * STAT 758 * Fall 2006

8 What is the period? par(bg='yellow') plot(co2,lwd=2,col=4,xlab='Time, years',ylab='CO2 in parts per million (ppm)', main='Mauna Loa Atmospheric CO2 Concentration') abline(v=seq(1950,2006,by=10),lty=2) abline(h=seq(320,360,by=10),lty=2) R-code

9 UNR * STAT 758 * Fall 2006 # This line adds yearly grid abline(v=seq(1950,2006,by=1),lty=2) R-code

10 UNR * STAT 758 * Fall 2006 # Filter with 1-year window and plot a trend f<-filter(co2,rep(1,12)/12) points(f,col=2,type='l',lwd=2) R-code

11 UNR * STAT 758 * Fall 2006 # Plot series minus trend plot(co2-f,ldw=2,col=4,lwd=2, xlab='Time, years',ylab='CO2-trend',main='Detrended CO2 series') abline(h=seq(-4,4,by=2),lty=2) abline(v=seq(1950,2006,by=1),lty=2) R-code

12 UNR * STAT 758 * Fall 2006 # Perform seasonal analysis and plot season component m<decompose(co2) plot(m$figure,lwd=2,type='p',pch=19,col=4, xlab='Month',ylab='Seasonal component') axis(1,at=seq(1,12)) grid(col='black',lty=2) R-code

13 UNR * STAT 758 * Fall 2006 m<decompose(co2) plot(m) R-code


Download ppt "UNR * STAT 758 * Fall 2006. Observations Model Probability (a fair coin will show about 50% of tails) Statistics (a coin that shows 90 tails out."

Similar presentations


Ads by Google