Start R
R function: arima, tsdiag, arima.sim
> help(diff)
Let's look at sample code in dow.ex.r
What type of transformation seems to make the time series stationary?
Simulate and fit ARIMA(2,1,2)
Let's look at sample code in arimasim.r
How well did the model fit the data?
What are the estimated parameters?
There is time series data in a file test.series
You can use the scan and ts R commmands to read and make your data an object of class time series.
> test <- scan("https://edoras.sdsu.edu/~babailey/stat496/test.series")
> test.ts <- ts(test)
Now, you can make all the appropriate time series plots!
What model would you fit to the data?
Below is the description link that you can copy and paste into your browser:
https://www.otexts.org/fpp/8/7
I do like the section on Modelling Procedure, so please check that out!
> help(lh)
Let's look at the sample code in lh1.r
What models would you try to fit?
Let's look at the sample code in lh2.r
Which is the best model?
For a more complete dataset: diggle