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.78k stars 483 forks source link

Issue on page /05-The-Unreasonable-Effectiveness-of-Linear-Regression.html #347

Closed doctor-phil closed 1 year ago

doctor-phil commented 1 year ago

This formula says that we can predict educ from the parents’ education, from IQ, from experience and so on. After we do that, we’ll be left with a version of educ, which is uncorrelated with all the variables included previously. This will break down arguments such as “people that have more years of education have it because they have higher IQ. It is not the case that education leads to higher wages. It is just the case that it is correlated with IQ, which is what drives wages”.

In the sentence above think the variable we are predicting should be wage, Since educ is on the rhs