code: def test_kernels_eviews(trivariate_data, config):
      y, x = trivariate_data
      kernel = config[0]
      ser = float(config[1])
      lrvar = config[2]
      bw = 9 if kernel == "parzen" else 10
      res = DynamicOLS(y, x).fit(
          kernel=kernel, bandwidth=bw, df_adjust=True
      )
      assert_allclose(res.residual_variance, ser**2.0, rtol=1e-5)
      assert_allclose(res.long_run_variance, lrvar, rtol=1e-5)
  
file_path: arch/arch/tests/unitroot/test_dynamic_ols.py
imports: import numpy
  from numpy.testing import assert_allclose
  import pandas
  import pytest
  from arch.unitroot.cointegration import DynamicOLS
label_desc: Use image node_id 10 for calling a global function with example usage: test_kernels_eviews(trivariate_data, config) without return types