<< All versions

Skill v1.0.0

currentAutomated scan100/100
brycewang-stanford/auto-empirical-research-skills/stata-results
──Details
PublishedNovember 2, 2026 at 05:43 PM
Content Hashsha256:e421dba8f311ecc7...
Git SHA81c0f2b7f438
──Files
Files (1 file, 767 B)
SKILL.md767 Bactive
SKILL.md · 19 lines · 767 B

name: stata-results description: Fetch and display stored r(), e(), and s() results from the last Stata command. metadata: version: "1.0.0"


Call stata_get_results(include_matrices=True, as_json=True).

Present the results in a structured format:

  • r() scalars: name → value pairs (e.g., r(N), r(mean), r(sd))
  • e() scalars: model-level results (e.g., e(N), e(r2), e(F))
  • e() matrices: if present, display b (coefficients) and V (variance-covariance) as formatted tables
  • s() macros: string results if any

If no results are stored (empty response), tell the user to run a Stata command first (e.g., regress, summarize, ttest).

If the user needs Mata state, note they can ask you to call stata_get_results(include_mata=True).

All versions