What to explore
Change parameters and watch the model adjust.
- True treatment effect, instrument strength, endogeneity, exclusion violation, and sample size
- The notebook shows the first stage and the outcome relation side by side
Upper-undergraduate econometrics
A simulated endogeneity notebook comparing OLS and IV under changes in instrument strength, endogeneity, and exclusion validity.
Endogeneity, relevance, exclusion, and weak instruments
See when IV improves on OLS, when weak instruments make the estimate unstable, and how exclusion violations undermine the design.What to explore
Core ideas
Learning goals
Prerequisites
Next models to study
Upper-undergraduate econometrics
Adjust the data-generating process and watch the fitted line, coefficient estimates, and residual behavior move with noise, slope, and sample size.
Upper-undergraduate econometrics
Change confounding strength and the omitted variable's effect to compare the true coefficient, the naive regression, and the fully controlled benchmark.