Diagnostics - global temperatures
You can now finish your analysis of global temperatures. Recall that you previously fit two models to the data in globtemp
, an ARIMA(1,1,1) and an ARIMA(0,1,2). In the final analysis, check the residual diagnostics and use AIC and BIC for model choice.
The data are plotted for you.
This exercise is part of the course
ARIMA Models in R
Exercise instructions
- Fit an ARIMA(0,1,2) model to
globtemp
and check the diagnositcs. What does the output tell you about the model? - Fit an ARIMA(1,1,1) model to
globtemp
and check the diagnostics. - Which is the better model? Replace the blanks with your answer (e.g., either
ARIMA(0,1,2)
orARIMA(1,1,1)
).
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Fit ARIMA(0,1,2) to globtemp and check diagnostics
# Fit ARIMA(1,1,1) to globtemp and check diagnostics
# Which is the better model?
"ARIMA(___,___,___)"