Gallery/Academic tables

Academic tables

Publication-ready tables — regression tables, summary statistics and model results typeset like a journal page, with Great Tables. stargazer for Python.

Regression table, stargazer style
Academic tables

Regression table, stargazer style

Three nested OLS models side by side, with standard errors under the coefficients and fit statistics at the foot, typeset like a journal table.

stargazer::stargazer(type = "html")
Summary statistics table
Academic tables

Summary statistics table

The "Table 1" of an empirical paper — N, mean, SD, min, median and max per variable in panels, with group means and a test of their difference.

modelsummary::datasummary_balance()
Machine learning model comparison table
Academic tables

Machine learning model comparison table

Five classifiers compared on repeated cross-validation — discrimination, classification and calibration metrics as mean (SD), best in bold, with corrected tests of the AUC gap.

tidymodels::workflow_map() + collect_metrics()
Panel data regression table
Academic tables

Panel data regression table

Pooled OLS, random effects, country fixed effects and two-way fixed effects side by side, with clustered standard errors, fixed-effect indicators and a Hausman test.

fixest::etable()
Difference-in-differences table
Academic tables

Difference-in-differences table

Staggered adoption estimated four ways — two-way fixed effects, with controls, Gardner's two-stage DiD and Wooldridge's extended TWFE — with a pre-trend test and the true effect for comparison.

fixest::etable() + did2s::did2s() + etwfe::etwfe()
Instrumental variables table
Academic tables

Instrumental variables table

OLS against 2SLS, LIML and GMM, with the second stage and the first stage in two panels and the usual diagnostics — first-stage F, partial R², endogeneity and overidentification tests.

fixest::etable() + ivreg::ivreg()