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.
Cet exercice fait partie du cours
ARIMA Models in R
Instructions
- Fit an ARIMA(0,1,2) model to
globtempand check the diagnositcs. What does the output tell you about the model? - Fit an ARIMA(1,1,1) model to
globtempand 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)).
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de 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(___,___,___)"