node10 Lab 3 - Producing Output and Plots STAT 510 - Applied Time Series Analysis

Node10 Lab 3 - Producing Output and Plots STAT 510 - Applied Time Series Analysis

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
This is Google's cache of http://onlinecourses.science.psu.edu/stat510/node/10 . It is a snapshot of the page as it appeared on 19 Jul 2010 01:36:59 GMT. The current page could have changed in the meantime. Learn more Text-only version STAT 510 - Applied Time Series Analysis ANGEL Department of Statistics Eberly College of Science Home Lab 3 - Producing Output and Plots In this section, we will go over how to use R to produce the output and graphs presented in class for the Yule data set. First, create a folder titled "lab3" and download the files " yule1.dat " and " yule2.dat " to this folder ('right-click', 'save link as'). Once you open R, remember you need to change the working directory to this new folder. 1. First, we need to read the data into R. mortality=scan("yule1.dat", skip=12) marriages=scan("yule2.dat", skip=12) time=1866:1911 2. Now, we should plot the data to see what is going on. par(mfrow=c(2,1))
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 3

Node10 Lab 3 - Producing Output and Plots STAT 510 - Applied Time Series Analysis

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online