Economics
Economists estimate, report and write it up with the do-file attached. Run regressions with robust errors, fit panel models, test time series, and keep every command with the result it produced.
LabSpace for economists
Estimate the return to schooling
Regress log wages on education and experience with robust standard errors, then plot the coefficients with their confidence intervals.
- Load the wages data
- Regress log wages with robust errors
- Read the coefficients
- Plot them with confidence intervals
Fit a fixed-effects panel model
Fit a production function on a firm panel with fixed effects, and compare it to pooled OLS in the same session.
- Load the firm panel
- Fit pooled OLS
- Fit fixed effects by firm
- Compare the two estimates
Test a time series for a unit root
Plot a macroeconomic series and run an augmented Dickey–Fuller test before you model it.
- Load quarterly US macro data
- Plot real GDP over time
- Run the Dickey–Fuller test
- Read the test statistic
The tools behind it
- Stats: Regressions with robust errors, tabulations and graphs from commands or a do-file
- Insights: Reports and dashboards built from the same tables
- Preregistration: Hypotheses and analysis plans locked before the data comes in
- Manuscripts: LaTeX papers with references and submission tracking