code: def test_invalid():
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          order=(1, 0, 0),
          ar_order=1,
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(1, 0, 0),
          seasonal_ar_order=1,
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          order=(-1, 0, 0),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          order=(1.5, 0, 0),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          order=(0, -1, 0),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          order=(0, 1.5, 0),
      )
      assert_raises(
          ValueError, specification.SARIMAXSpecification, order=(0,)
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(0, 1.5, 0, 4),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(-1, 0, 0, 4),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(1.5, 0, 0, 4),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(0, -1, 0, 4),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(0, 1.5, 0, 4),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(1, 0, 0, 0),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(1, 0, 0, -1),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(1, 0, 0, 1),
      )
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          seasonal_order=(1,),
      )
  
      assert_raises(
          ValueError,
          specification.SARIMAXSpecification,
          order=(1, 0, 0),
          endog=np.zeros((10, 2)),
      )
  
      spec = specification.SARIMAXSpecification(ar_order=1)
      assert_raises(ValueError, spec.join_params)
      assert_raises(ValueError, spec.join_params, ar_params=[0.2, 0.3])
  
file_path: statsmodels/statsmodels/tsa/arima/tests/test_specification.py
imports: import numpy
  import pandas
  import pytest
  from numpy.testing import assert_equal, assert_allclose, assert_raises
  from statsmodels.tsa.statespace.tools import constrain_stationary_univariate, unconstrain_stationary_univariate
  from statsmodels.tsa.arima import specification
label_desc: Use image node_id 7 for calling a global function with example usage: test_invalid() without return types