code: def spa_data():
      rng = RandomState(23456)
      fixed_rng = stats.chi2(10)
      t = 1000
      k = 500
      benchmark = fixed_rng.rvs(t)
      models = fixed_rng.rvs((t, k))
      index = pd.date_range("2000-01-01", periods=t)
      benchmark_series = pd.Series(benchmark, index=index)
      benchmark_df = pd.DataFrame(benchmark, index=index)
      models_df = pd.DataFrame(models, index=index)
      return SPAData(
          rng,
          k,
          t,
          benchmark,
          models,
          index,
          benchmark_series,
          benchmark_df,
          models_df,
      )
  
imports: from typing import NamedTuple
  import numpy
  from numpy import linspace
  from numpy.random import RandomState
  from numpy.testing import assert_allclose, assert_equal
  import pandas
  from pandas.testing import assert_frame_equal, assert_series_equal
  import pytest
  import scipy.stats
  from arch.bootstrap import CircularBlockBootstrap, MovingBlockBootstrap, StationaryBootstrap
  from arch.bootstrap.multiple_comparison import MCS, SPA, StepM
label_desc: Use image node_id 1 for calling a global function with example usage: spa_data() and returns: SPAData