code: def test_filter_output(univariate, missing, init, periods):
      # Test the output when the multivariate filter switches to the univariate
      # filter
      mod = get_model(univariate, missing, init)
      check_filter_output(mod, periods)
  
file_path: statsmodels/statsmodels/tsa/statespace/tests/test_multivariate_switch_univariate.py
imports: import numpy
  import pytest
  from statsmodels.tsa.statespace import mlemodel, sarimax, structural, varmax, dynamic_factor
  from statsmodels.tsa.statespace.tests.test_impulse_responses import TVSS
  from numpy.testing import assert_allclose
label_desc: Use image node_id 5 for calling a global function with example usage: test_filter_output(univariate, missing, init, periods) without return types