code: def test_permuted_ols_check_h0_noeffect_labelswap_centered(
      model_intercept,
  ):
      # create dummy design with no effect
      rng = np.random.RandomState(0)
      target_var = rng.randn(N_SAMPLES, 1)
  
      centered_var = np.arange(N_SAMPLES, dtype="f8").reshape((-1, 1))
      centered_var -= centered_var.mean(0)
  
      all_kstest_pvals, all_mse = run_permutations(
          centered_var, target_var, model_intercept=model_intercept
      )
  
      check_ktest_p_values_distribution_and_mse(
          all_kstest_pvals, all_mse
      )
  
imports: import nibabel
  import numpy
  import pytest
  from numpy.testing import assert_array_almost_equal, assert_array_less, assert_equal
  from scipy import stats
  from nilearn.conftest import _rng
  from nilearn.maskers import NiftiMasker
  from nilearn.mass_univariate import permuted_ols
label_desc: Use image node_id 16 for calling a global function with example usage: test_permuted_ols_check_h0_noeffect_labelswap_centered(model_intercept) without return types