ComenzarEmpieza gratis

Fitting an ARMA model

In this exercise you will fit an ARMA model to the earthquakes dataset. You saw before that the earthquakes dataset is stationary so you don't need to transform it at all. It comes ready for modeling straight out the ground. You can remind yourself what it looks like below.

The earthquakes dataset is available in your environment as earthquake. The ARIMA class is also available in your environment.

Este ejercicio forma parte del curso

ARIMA Models in Python

Ver curso

Instrucciones del ejercicio

  • Instantiate an ARMA(3,1) model and pass it the earthquakes dataset.
  • Fit the model.
  • Print the summary of the model fit.

Ejercicio interactivo práctico

Prueba este ejercicio y completa el código de muestra.

# Instantiate the model
model = ____

# Fit the model
results = ____

# Print model fit summary
____
Editar y ejecutar código