confounding
Artifacts that teach this idea, ranked by trust: tier, then passing built-in checks and accessibility, then likes.
- 1Coding· R✓ Checks passAccessibleUndergraduateEnglish
Rich and Poor Farmers: What Does Regression Recover?
A Coding workbook in R. Students simulate 100 farmers with both potential outcomes, compute the naïve gap, ATE, ATT, ATC and selection bias, then see that a regression with a control matches none of them while an interaction model does. A final part contrasts confidence and prediction intervals.
Alexis Diamond · ♥ 0
- 2InteractiveUndergraduate
Which Effect Does the Regression Estimate? Controlling for a confounder and the ATE, ATT and ATC
A hundred farmers, an irrigation pump, and the coefficient you get when you control for wealth: does the regression estimate the ATE, ATT or ATC? This revision makes every control shared state so breakout teammates see the same screen.
Alexis Diamond · ♥ 0