code: def test_score_shape():
      # Test that the `score()` output for fixed params has the same shape as the
      # input vector
      endog = macrodata["infl"]
  
      mod = sarimax.SARIMAX(endog, order=(1, 0, 0))
  
      with mod.fix_params({"ar.L1": 0.5}):
          score = mod.score([1.0])
  
      assert_equal(score.shape, (1,))
  
imports: import numpy
  import pytest
  from statsmodels import datasets
  from statsmodels.tsa.statespace import initialization, mlemodel, sarimax, structural, dynamic_factor, varmax
  from numpy.testing import assert_, assert_raises, assert_equal, assert_allclose
label_desc: Use image node_id 15 for calling a global function with example usage: test_score_shape() without return types