code: def test_bootstrap_selection(spa_data):
      spa = SPA(spa_data.benchmark, spa_data.models, bootstrap="sb")
      assert isinstance(spa.bootstrap, StationaryBootstrap)
      spa = SPA(spa_data.benchmark, spa_data.models, bootstrap="cbb")
      assert isinstance(spa.bootstrap, CircularBlockBootstrap)
      spa = SPA(
          spa_data.benchmark, spa_data.models, bootstrap="circular"
      )
      assert isinstance(spa.bootstrap, CircularBlockBootstrap)
      spa = SPA(spa_data.benchmark, spa_data.models, bootstrap="mbb")
      assert isinstance(spa.bootstrap, MovingBlockBootstrap)
      spa = SPA(
          spa_data.benchmark, spa_data.models, bootstrap="moving block"
      )
      assert isinstance(spa.bootstrap, MovingBlockBootstrap)
  
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 9 for calling a global function with example usage: test_bootstrap_selection(spa_data) without return types