code: def test_MixedLM(self):
      import statsmodels.regression.mixed_linear_model as mlm
  
      diabetes = datasets.load_diabetes()
      models = ["MixedLM"]
      data = diabetes.data[:100, :]
      target = diabetes.target[:100]
      groups = np.array([0] * 50 + [1] * 50)
      for model in models:
          klass = getattr(sm, model)
  
          estimator = base.StatsModelsRegressor(klass, groups=groups)
          fitted = estimator.fit(data, target)
          # result = estimator.predict(diabetes.data)
          # NotImplementedError
          self.assertIsInstance(fitted, mlm.MixedLMResultsWrapper)
  
file_path: pandas-ml/pandas_ml/smaccessors/test/test_base.py
imports: import pytest
  import numpy
  import sklearn.datasets
  import statsmodels.api
  import pandas_ml.smaccessors.base
  import pandas_ml.util.testing
label_desc: Use image node_id 6 for calling the TestBaseRegressor obj's underlying member method code with example usage: obj.test_MixedLM() without return types