What problem does it solve?
This Skill helps you perform ordinary least squares regression and avoid misleading inference by running key econometric diagnostics and producing presentation-ready results.
Core Features & Use Cases
- Full OLS workflow: fit models from a Patsy formula, generate results, and compute fit statistics (N, R², adjusted R², AIC/BIC, F-statistic).
- Diagnostics for validity: test heteroscedasticity (Breusch–Pagan and White), check functional form misspecification (RESET), assess residual normality, and report Durbin–Watson for autocorrelation signals.
- Robust inference & reporting: compute HC3 robust standard errors and VIF for multicollinearity, optionally support clustered SE, and generate regression tables suitable for write-ups.
- Use case: analyze how education and experience relate to log wages while reporting heteroscedasticity-aware standard errors, VIF flags, and diagnostic plots to support an economics-style empirical paper.
Quick Start
Use the ols-regression skill to estimate an OLS model from your dataset and return robust regression results with heteroscedasticity tests, VIF, RESET, and a publication-style summary table.