Skip to content
Back to skills

Stata Plan

ASecurity

Convert an empirical design into a Stata execution plan or optional do-file skeleton covering merge, variable construction, regressions, robustness, and exports

  • 82 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 7, 2026
business

Security analysis

A100/100

Scanned September 7, 2026

npx -y skills add Lambenthan/empiricalwiki --skill stata-plan --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Stata Plan?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Stata Plan
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/lambenthan-stata-plan-empiricalwiki/badge)](https://www.skillsdirectory.com/skills/lambenthan-stata-plan-empiricalwiki)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
description: Convert an empirical design into a Stata execution plan or optional do-file skeleton covering merge, variable construction, regressions, robustness, and exports
argument-hint: "<empirical-design-path-or-topic> [--write-do]"
---

# /stata-plan

Read the selected empirical design, `wiki/variables/*.md`, `wiki/datasets/*.md`, `wiki/models/*.md`, robustness and heterogeneity pages, plus local `.do`, `.dta`, `.xlsx`, dictionaries, and READMEs.

By default, create `wiki/outputs/stata-plan-{slug}-{YYYY-MM-DD}.md` with:

1. Input data
2. Merge keys and merge order
3. Sample filters
4. Variable construction
5. Winsorization and missing-value handling
6. Descriptive statistics
7. Correlations
8. Baseline regressions
9. Mechanism tests
10. Heterogeneity tests
11. Robustness checks
12. Table exports
13. Verification checklist

Only when the user passes `--write-do`, also create `wiki/outputs/stata-plan-{slug}-{YYYY-MM-DD}.do`.

Constraints:

- Never overwrite existing user `.do` files.
- Do not invent final variable names; use placeholders and mark `needs confirmation` when names are uncertain.
- Include checks for sample size, merge results, missingness, and variable distributions.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in business →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.