code: def generate_data(n_subjects, n_conditions):
      """Generate testing data."""
      rng = np.random.RandomState(42)
      data = rng.randn(n_subjects * n_conditions).reshape(
          n_subjects, n_conditions
      )
      return data
  
file_path: mne-python/mne/stats/tests/test_parametric.py
imports: from functools import partial
  from itertools import product
  import numpy
  import pytest
  import scipy.stats
  from numpy.testing import assert_allclose, assert_array_almost_equal, assert_array_less
  import mne
  from mne.stats.parametric import _map_effects, f_mway_rm, f_threshold_mway_rm
label_desc: Use image node_id 1 for calling a global function with example usage: generate_data(n_subjects, n_conditions) and returns: data