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.Econometrics and causal inference
What to explore
Core ideas
Learning goals
Prerequisites
Newsletter
Next models to study
Upper-undergraduate econometrics
Adjust the true intercept, slope, noise, and sample size to relate realised estimates to fit, slope estimation error, and an approximate 95% slope interval.
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.