Run do-files in your browser
Keep commands together in a reusable script and run supported workflows without a desktop installation.
What the do-file runner does
A do-file is a plain-text record of an analysis. stats.camp can store .do files inside a project, run them in order, and show command output in the browser. Supported scripting includes locals, globals, and common loop forms.
Runnable example
clear
import delimited "data/showcase.csv"
local measures y age score
foreach variable of local measures {
summarize `variable'
}
regress y treatment age score, robust
Save the snippet as a .do file and run it. It loads the demo data, summarizes three variables with a local macro and loop, then estimates a regression.
Before running an existing project
Do-files can call unsupported commands, options, external files, user-written packages, or operating-system features. Package installation and the complete community ado-file ecosystem are not available. Check dependencies line by line and use the compatibility table as a starting point, not a guarantee of identical behavior.
Related guides
Try the workflow
Open the live project, inspect the existing do-file, and adapt the workflow. No stats.camp account is required for the demo.
Try the live demo