code: def test_output_invariant_to_period_order(
      data,
      periods_ordered,
      windows_ordered,
      periods_not_ordered,
      windows_not_ordered,
  ):
      mod1 = MSTL(
          endog=data, periods=periods_ordered, windows=windows_ordered
      )
      res1 = mod1.fit()
      mod2 = MSTL(
          endog=data,
          periods=periods_not_ordered,
          windows=windows_not_ordered,
      )
      res2 = mod2.fit()
  
      assert_equal(res1.observed, res2.observed)
      assert_equal(res1.trend, res2.trend)
      assert_equal(res1.seasonal, res2.seasonal)
      assert_equal(res1.resid, res2.resid)
  
file_path: statsmodels/statsmodels/tsa/stl/tests/test_mstl.py
imports: from pathlib import Path
  from numpy.testing import assert_allclose, assert_equal
  import pandas
  import pytest
  from statsmodels.tsa.seasonal import MSTL
label_desc: Use image node_id 13 for calling a global function with example usage: test_output_invariant_to_period_order(data, periods_ordered, windows_ordered, periods_not_ordered, windows_not_ordered) without return types