code: def test_skewt_basic():
      """
      Tests the length of the latent variable vector for an GASReg model
      with no AR or MA terms, and tests that the values are not nan
      """
      model = pf.GASReg(formula="y ~ x1", data=data, family=pf.Skewt())
      x = model.fit()
      assert len(model.latent_variables.z_list) == 5
      lvs = np.array([i.value for i in model.latent_variables.z_list])
      assert len(lvs[np.isnan(lvs)]) == 0
  
file_path: pyflux/pyflux/gas/tests/gasreg_tests_skewt.py
imports: import numpy
  import pandas
  import pyflux
label_desc: Use image node_id 1 for calling a global function with example usage: test_skewt_basic() without return types