code: def test_uecm_model_formula(
      data: Dataset,
      uecm_lags,
      uecm_order,
      trend,
      causal,
      fixed,
      seasonal,
  ):
      fmla = "lrm ~ lry + ibo + ide"
      df = pd.concat([data.y, data.x], axis=1)
      if fixed is not None:
          fmla += " | " + " + ".join(fixed.columns)
          df = pd.concat([df, fixed], axis=1)
      mod = UECM.from_formula(
          fmla,
          df,
          uecm_lags,
          uecm_order,
          trend,
          causal=causal,
          seasonal=seasonal,
      )
      res = mod.fit()
      check_results(res)
      res.predict()
  
imports: from typing import NamedTuple
  import numpy
  from numpy.testing import assert_allclose
  import pandas
  from pandas.testing import assert_index_equal
  import pytest
  from statsmodels.datasets import danish_data
  from statsmodels.iolib.summary import Summary
  from statsmodels.tools.sm_exceptions import SpecificationWarning
  from statsmodels.tsa.ar_model import AutoReg
  from statsmodels.tsa.ardl.model import ARDL, UECM, ARDLResults, ardl_select_order
  from statsmodels.tsa.deterministic import DeterministicProcess
label_desc: Use image node_id 48 for calling a global function with example usage: test_uecm_model_formula(data, uecm_lags, uecm_order, trend, causal, fixed, seasonal) without return types