Regwright.

Stata-compatible statistics engine

Your .do files run here.
No Stata required.

Re-run Stata replication packages on Linux, macOS, Windows, and CI — without $765–$1,795/yr Stata/MP seat locks or dongles. Reads .dta files (Stata 13–19), executes 501 Stata commands, and prints exact regression tables locally or in your browser.

Free in the browser and CLI on datasets up to 1,000 observations. Your data never leaves your machine.

main.doregwright -b do main.do
. sysuse wages
(Synthetic wages (935 workers))
. generate lwage = ln(wage)
. label variable lwage "Log hourly wage"
. regress lwage educ exper c.exper#c.exper i.female union

      Source |          SS        df          MS   Number of obs   =        912
-------------+----------------------------------   F(5, 906)       =     131.57
       Model |  123.228425         5  24.6456851   Prob > F        =     0.0000
    Residual |     169.707       906   .18731457   R-squared       =     0.4207
-------------+----------------------------------   Adj R-squared   =     0.4175
       Total |  292.935426       911  .321553705   Root MSE        =      .4328

------------------------------------------------------------------------------
       lwage | Coefficient  Std. err.        t    P>|t|     [95% conf. interval]
-------------+----------------------------------------------------------------
        educ |     .08276   .0038915    21.27   0.000     .0751226    .0903974
       exper |   .0412036   .0068511     6.01   0.000     .0277577    .0546495
             |
    c.exper# |
     c.exper |   -.000714   .0002475    -2.89   0.004    -.0011997   -.0002283
             |
      female |
     Female  |  -.2101862   .0287255    -7.32   0.000    -.2665625   -.1538099
             |
       union |   .1378701   .0341518     4.04   0.000     .0708442     .204896
       _cons |   .8851058   .0727184    12.17   0.000     .7423898    1.027822
------------------------------------------------------------------------------
501Stata commands live — regress, xtreg, logit, ivregress, reghdfe, merge, collapse, reshape; 46.3% of all 14,192 manual examples matched in v0.1.0
779/794Stata-press .dta files read byte-exact, verified against ReadStat
0licence servers, dongles, or seat checks in your CI
1static binary per platform, plus a WebAssembly build that runs offline in your browser

Re-run replication packages in CI

Put regwright -b do master.do in GitHub Actions and get a .log like Stata's. No licence server to smuggle into a runner. GitHub Actions guide →

- uses: Huckcity/regwright-action@v1
- run: regwright -b do code/master.do

Every core, every OS

One engine for Linux, macOS (Apple silicon and Intel), and Windows. No per-core MP surcharge, no "edition" capping your variable count. Linux & CI comparison →

Open a .dta anywhere

Formats 117–119 (Stata 13 to 19), value labels, strLs, and notes. Convert to CSV, inspect variables, or run a quick regression without Stata installed. Open a .dta online →

How we know it works

Graded against Stata's own manuals.

The Stata reference manuals print 14,192 worked examples: the command, then the output Stata produced. Regwright replays every example in order, on the same datasets, and compares its output to the printed output word for word and digit for digit. In v0.1.0, 46.3% (6,573 of 14,192) match token for token across all 32 manuals — and core econometrics commands like regress (89%), egen (98%), and collapse (100%) are already strong.

The numbers on this page come directly from the released build's test run. See the full table, manual by manual →

  1. All manuals (14,192 printed examples)46.3%
  2. Base Reference manual [R]53.4%
  3. Data management [D]56.6%
  4. Functions (158/168 worked examples)94% (158/168)
  5. Programming & user's guide [P]47.6%
  6. .dta files verified against ReadStat779/794

What works today — and what is still partial

Core regression, panel, and data-management commands work today, and basic SVG graphs (twoway, scatter, histogram) and common Mata routines already run. Specialist estimators, advanced graphics options, and C/Mata SSC plugins are partial or in progress — unsupported commands halt with a clear error instead of skipping silently. Check the applied econometrics matrix & 501-command list or test your own do-file in the free playground first.

Stata is a registered trademark of StataCorp LLC. Regwright is an independent product by ALGD LTD and is not affiliated with or endorsed by StataCorp.