diff --git a/marginaleffects/model_statsmodels.py b/marginaleffects/model_statsmodels.py index f3da7a9..fbf6885 100644 --- a/marginaleffects/model_statsmodels.py +++ b/marginaleffects/model_statsmodels.py @@ -11,6 +11,7 @@ def __init__(self, model): self.formula = model.model.formula self.data = ingest(model.model.data.frame) super().__init__(model) + # after super() self.formula_engine = "patsy" self.design_info_patsy = model.model.data.design_info