regress: ordinary least squares in the browser
Estimate a linear model with supported factor-variable and robust-variance syntax.
Independent software. Not affiliated with, sponsored by, or endorsed by StataCorp LLC.
Supported example
import delimited "hsb2.csv", clear
regress math female i.race, robust
The dependent variable is math. The model includes female and indicator terms generated from race. The robust option requests robust standard errors.
How to read the output
The result reports the observation count, model F statistic, R-squared measures, root mean squared error, coefficients, standard errors, test statistics, p-values, and confidence intervals. The browser demo on the homepage is real HTML generated by the stats.camp engine.
Current limits
The compatibility table currently advertises robust, vce(), and factor variables for regress. That does not imply coverage of every Stata option, prefix, stored result, or postestimation workflow. Known unsupported options should error; validate consequential estimates before relying on them.
Related guides
Try the workflow
Open the live project, inspect the existing do-file, and adapt the example above. No stats.camp account is required for the demo.
Open live demo