code: def test_raises(self):
      mlag = self.mlag
      assert_raises(
          ValueError, sw.lagged_groups, self.x, mlag, self.g.groupidx
      )
  
file_path: statsmodels/statsmodels/stats/tests/test_groups_sw.py
imports: import numpy
  from numpy.testing import assert_equal, assert_raises
  import statsmodels.stats.sandwich_covariance
  from statsmodels.tools.grouputils import GroupSorted
label_desc: Use image node_id 3 for calling the CheckPanelLagMixin obj's underlying member method code with example usage: obj.test_raises() without return types