code: def a_test_predict_nans():
      model = pf.EGARCHMReg(formula="JPM~Rf", data=data, p=2, q=2)
      x = model.fit()
      x.summary()
      assert (
          len(
              model.predict(h=5, oos_data=data).values[
                  np.isnan(model.predict(h=5, oos_data=data).values)
              ]
          )
          == 0
      )
  
imports: import numpy
  import pyflux
  import pandas
  from pandas.io.data import DataReader
  from datetime import datetime
label_desc: Use image node_id 12 for calling a global function with example usage: a_test_predict_nans() without return types