pymc-devs / pymc-examples

Examples of PyMC models, including a library of Jupyter notebooks.
https://www.pymc.io/projects/examples/en/latest/
MIT License
269 stars 234 forks source link

new Difference In Differences notebook #424

Closed drbenvincent closed 1 year ago

drbenvincent commented 1 year ago

This adds a new notebook covering the difference in differences approach to causal inference.

review-notebook-app[bot] commented 1 year ago

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

review-notebook-app[bot] commented 1 year ago

View / edit / reply to this conversation on ReviewNB

lucianopaz commented on 2022-09-24T19:41:11Z ----------------------------------------------------------------

Another way of saying this is that treatment would be fully determined by time, so there is no way to dissociate the changes in the pre and post outcome measures as being caused by treatment or time.

Doesn’t this actually mean that time and observed treatment outcomes are confounded or undetermined? I don’t remember the exact term from causal inference, but I think that time doesn’t determine outcome as much as you cannot disambiguate


_drbenvincent commented on 2022-09-25T10:02:49Z_ ----------------------------------------------------------------

Changed to "disambiguate"