What problem does it solve? Running Stata analysis through an AI agent normally means guessing commands, losing session state between calls, and drowning in oversized raw output. This Skill provides a complete Stata programming guide plus a 75-tool MCP Server that executes commands in one persistent Stata session, so data loaded once stays in memory across loading, cleaning, modeling, diagnostics, and export. ## Core Features & Use Cases - Full statistical workflow: Run regressions (OLS, logit, probit, Poisson, quantile), panel models (xtreg), IV/2SLS, DID, t-tests, and post-estimation diagnostics (VIF, heteroskedasticity, Hausman) via dedicated tools or arbitrary commands through stata_run. - Data management: Load .dta files, import Excel/CSV/SAS/SPSS, merge, append, reshape, collapse, and clean datasets with structured parameter validation. - Output and export control: Paginate large outputs, export graphs (PNG/PDF/SVG), and produce regression tables with the official etable command to Word, Excel, LaTeX, or HTML. - Use Case: Ask the agent to load auto.dta, regress price on weight and mpg, test for heteroskedasticity with estat hettest, and export the residual-vs-fitted plot as a PNG file. ## Quick Start Ask the agent to load your .dta dataset, summarize the variables, run a regression of your outcome on the predictors, and export the results table to Word.