Skip to content

ENH: GLM outcome models in TreatmentEffect (part of #8987) #10227

Open

Description

@kirilklein

Is your feature request related to a problem? Please describe

I work with binary endpoints and would like to use TreatmentEffect with a logistic outcome model. Currently, the outcome model is limited to OLS the docstring says Logit and Poisson "will become available in future",
and #8987 tracks this

Describe the solution you'd like

Being able to pass a GLM as the outcome model, e.g.

TreatmentEffect(GLM(y, x, family=Binomial()), treat, results_select=res_probit)

and have all five estimators (ra, ipw, aipw, aipw_wls, ipw_ra) work with it.

Describe alternatives you have considered

No response

References

Additional context

No response

Activity

  1. webdevsamran commented on Sep 6, 2026

    @webdevsamran

    Hi team, I would like to work on adding GLM outcome model support to TreatmentEffect.

    Currently TreatmentEffect supports OLS outcome models. I can implement GLM outcome models (such as Binomial/Logit and Poisson) in statsmodels/treatment/treatment_effects.py to allow modeling binary and count endpoints, along with unit tests comparing estimates against benchmark datasets.

    Could you please assign this to me? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions