code: def test_couple_terms():
      """
      Tests an ARIMA model with 1 AR and 1 MA term and that
      the latent variable list length is correct, and that the estimated
      latent variables are not nan
      """
      model = ARIMA(data=data, ar=1, ma=1, family=Skewt())
      x = model.fit()
      assert len(model.latent_variables.z_list) == 6
      lvs = np.array([i.value for i in model.latent_variables.z_list])
      assert len(lvs[np.isnan(lvs)]) == 0
  
file_path: pyflux/pyflux/arma/tests/test_arima_skewt.py
imports: import numpy
  from pyflux.arma import ARIMA
  from pyflux.families import Skewt
label_desc: Use image node_id 2 for calling a global function with example usage: test_couple_terms() without return types