Regwright.

Stata-compatible statistics engine

Your .do files run here.
No Stata required.

Regwright is a new engine for the Stata language. It reads .dta files, runs your do-files and prints the tables you know, on Linux, macOS, Windows, in CI and in a browser tab.

Free in the browser 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
------------------------------------------------------------------------------
—of the Stata manuals' printed examples reproduced token for token
—Stata-press .dta files read byte-exact, checked against ReadStat
0licence servers, dongles or seat checks in your CI
1static binary per platform, plus a WebAssembly build that runs in your browser

Re-run replication packages in CI

Put regwright -b do master.do in GitHub Actions and get a .log like the one in the package. No licence file to smuggle into a runner.

- 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 surcharge, no "edition" that decides how many variables you may have.

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 on a laptop that has never seen Stata.

How we know it works

Graded against Stata's own manuals.

The Stata reference manuals print thousands of 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. Nothing is graded by us; the manuals are the answer key.

The number on this page comes from that run on the released build, and it goes up with every release. See the full table, entry by entry →

  1. Reference manual—
  2. Data management—
  3. Functions (the manual's worked examples)—
  4. Programming & user's guide—
  5. .dta files, checked against ReadStat—

What it is not (yet)

Regwright is young. Graphs, Mata, and many specialist estimators (survival, SEM, Bayesian, multiple imputation) are on the roadmap, not in the engine. If a command isn't implemented, Regwright says so and stops, so nothing passes silently. Check compatibility or paste your do-file into the playground first.

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