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.61k stars 456 forks source link

Issue on page /17-Predictive-Models-101.html #314

Closed cgrinaldi closed 1 year ago

cgrinaldi commented 1 year ago

There is a typo in this paragraph:

To figure this out we can partition our data into income quantiles (a quantile has the propriety of dividing the data into partitions of equal size, that’s why I like them). Then, for each income quantile, let’s compute the average net value. The hope here is that, although the average net value in negative, , there might be some subpopulation defined by income where the net value is positive, SEE EQUATION BELOW, probably, higher income levels.

Specifically, the inequality should be the other way in this equation:

image