matheusfacure / python-causality-handbook

Causal Inference for the Brave and True. A light-hearted yet rigorous approach to learning about impact estimation and causality.
https://matheusfacure.github.io/python-causality-handbook/landing-page.html
MIT License
2.74k stars 475 forks source link

Issue: Chapter 11 #224

Closed HectorLira closed 2 years ago

HectorLira commented 2 years ago

There is an issue on chapter 11, in the following paragraph (comma missing)

There is a formal proof for why this is, but we can forget it for now and approach the matter in a more intuitive way. The
propensity score is the conditional probability of receiving the treatment right? So we can think of it as some sort of function that converts X into the treatment T. The propensity score makes this middle ground between the variable X and the treatment T. If we show this in a causal graph, this is what it would look like.

It should be

There is a formal proof for why this is, but we can forget it for now and approach the matter in a more intuitive way. The
propensity score is the conditional probability of receiving the treatment, right? So we can think of it as some sort of function that converts X into the treatment T. The propensity score makes this middle ground between the variable X and the treatment T. If we show this in a causal graph, this is what it would look like.