code: def __init__(
      self,
      model_formula,
      model_class,
      data,
      n_skip=3,
      init_kwds=None,
      fit_kwds=None,
  ):
      self.model_formula = model_formula
      self.model_class = model_class
      self.n_skip = n_skip
      self.data = data
      self.results_list = []
  
      self.init_kwds = init_kwds if init_kwds is not None else {}
      self.fit_kwds = fit_kwds if fit_kwds is not None else {}
  
imports: import pandas
  import numpy
  import patsy
  from statsmodels.base.model import LikelihoodModelResults
  from statsmodels.regression.linear_model import OLS
  from collections import defaultdict
label_desc: Use image node_id 1 to create a new MICE object  with example: obj = MICE(model_formula, model_class, data, n_skip, init_kwds, fit_kwds)