pymc-labs / CausalPy

A Python package for causal inference in quasi-experimental settings
https://causalpy.readthedocs.io
Apache License 2.0
829 stars 52 forks source link

Support for fuzzy vs. sharp regression discontinuity? #333

Closed JacobElder closed 1 month ago

JacobElder commented 1 month ago

I thought one additional useful feature could be allowing for the estimation of fuzzy vs. sharp RDDs.

Sharp RDD: Assignment or running variable completely determines treatment. A jump in the probability of treatment before and after cutoff point. Fuzzy RDD: Cutoff point increases the probability of treatment but doesn't completeley determines treatment.

https://clas.ucdenver.edu/marcelo-perraillon/sites/default/files/attached-files/regression_discontinuity_designs.pdf#:~:text=Sharp%20RDD%3A%20Assignment%20or%20running,doesn't%20completeley%20determines%20treatment.

drbenvincent commented 1 month ago

Thanks for the issue @JacobElder. Going to close this as it's a duplicate of #221. But I'll add the link you've provided to that issue.

It would be a cool new addition. Do you feel like tackling it?