Aan de slagGa gratis aan de slag

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.

Deze oefening maakt deel uit van de cursus

ARIMA Models in R

Cursus bekijken

Oefeninstructies

  • 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) or ARIMA(1,1,1)).

Praktische interactieve oefening

Probeer deze oefening eens door deze voorbeeldcode in te vullen.

# 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(___,___,___)"
Code bewerken en uitvoeren