code: def test_repeated_measures_collinearity():
      data1 = data.iloc[:48, :].copy()
      data1["E"] = data1["A"]
      assert_raises(
          ValueError, AnovaRM, data1, "DV", "id", within=["A", "E"]
      )
  
file_path: statsmodels/statsmodels/stats/tests/test_anova_rm.py
imports: from statsmodels.compat.pandas import assert_frame_equal
  from numpy.testing import assert_array_almost_equal, assert_equal, assert_raises
  import pandas
  from statsmodels.stats.anova import AnovaRM
label_desc: Use image node_id 5 for calling a global function with example usage: test_repeated_measures_collinearity() without return types