ols-regression
Installation
SKILL.md
OLS Regression Skill
This skill provides comprehensive guidance for OLS regression and linear models in empirical research. It covers model specification, assumption testing, diagnostic checks, and result interpretation, with code examples in Python, R, and Stata.
Core Workflow
When assisting with OLS regression, follow this sequence:
- Clarify the research question and data — understand dependent variable, key regressors, and sample
- Specify the model — choose functional form, control variables, fixed effects if needed
- Run the regression — provide code in the user's preferred language
- Check assumptions — run diagnostics systematically (see references)
- Interpret and report — explain coefficients, significance, fit, and caveats