Runs in your local Stata
Sytra executes commands in your installed Stata instance. No browser sandbox. No copy-paste loop.
Tell Sytra what you want to estimate. It writes the code, runs it in Stata, validates the output, and keeps the full workflow reproducible and review-ready.
What users care about
Supports Stata 17+ today. R support is in progress.
MIT licensed. Bring your own API key.
Why this feels different
Sytra executes commands in your installed Stata instance. No browser sandbox. No copy-paste loop.
Validation runs before and after execution. If Stata fails, Sytra retries with concrete fixes.
Missing commands like `reghdfe` or `esttab` are detected with install guidance built into the loop.
Output is parsed, checked, and kept reproducible so model results are not just plausible, but auditable.
Datasets and do-files remain local. You bring your own model key and keep full control of access.
Optimized for econometrics workflows: FE models, IV diagnostics, table export, and iterative refinement.
What you actually get
Sytra is built for researcher workflows, not demo prompts. Each run produces code, checks, and artifacts you can hand to collaborators or include in replication packages.
Sytra produces runnable Stata code you can save, inspect, and rerun with your project files.
Return codes, warnings, and auto-fixes are tracked so failures are visible and recoverable.
Each revision keeps context from the previous run so specification changes stay auditable.
Local execution and BYO key keep sensitive datasets under your own institutional controls.
Step 01
Specify design, controls, fixed effects, and export requirements in plain language.
Step 02
Sytra runs Stata locally, handles errors, and retries with concrete fixes before returning.
Step 03
Deliver clean tables, reproducible scripts, and a traceable run history ready for coauthors.
Methods and trust
Sytra is tuned for estimation workflows used in economics, policy, business, and public health. It focuses on correct execution, clear diagnostics, and clean export.
Panel and fixed effects
Built for iterative FE work with package-aware defaults and clustered inference.
xtset firm_id yearreghdfe y treat controls, absorb(firm_id year) vce(cluster firm_id)Difference-in-differences
Supports staggered adoption and event-study style outputs used in applied work.
csdid y, ivar(id) time(year) gvar(first_treat)estat event, window(-5 5)IV and diagnostics
Keeps first-stage and identification checks in the same execution loop.
ivregress 2sls y controls (x = z), vce(robust)estat firststageTables and reporting
Moves from estimates to publication tables without manual copy-paste cleanup.
esttab m1 m2 using table.tex, replace se star(* 0.10 ** 0.05 *** 0.01)graph export figure.png, width(2400) replaceSimple loop
Sytra is not chat-only. It is an execution loop that closes the gap between prompt and publishable output while preserving reproducibility and local data control.
Supports Stata 17+ now. R support is in active development.