Research-design recipes
Pick a design and a field: what the replication code in that cell typically does — sample screens, outliers, missing values, fixed effects, standard errors, estimator commands and the design's validation checks — with real packages to click. Read from the 5,361 replication packages that are in at least one design, of the 8,371 linked to a paper whose models we read (how the site counts); the field is the linked paper's.
A package is in a design when we found the design's identification pattern on a line of code it runs
(e.g. a treat × post product or csdid for DiD, rdrobust for RD) or it runs that design's own estimator
(for IV, one with an excluded instrument); a package can be in several. "Panel fixed effects" is the rest: packages that absorb fixed effects and show none of the other designs.
These counts are the design counts on the methods and outcomes pages too. The command, clustering and fixed effects are read from the models that show the design itself
("of N" = the packages with such a model). "Mainly" is said only of a class more than half of the packages use; a clustering variable whose name does not say its level
(fac_id, id, a macro) is counted as not readable, never guessed.
Cells with fewer than 10 packages are marked thin; a grey figure rests on fewer than 10 packages.
How a package is put in a design
- The universe is every replication package our extractors have read (code_model_design) that is linked to a live paper by a confirmed link; the field is the linked paper's.
- A package is in a design when (a) our extractor found the design's identification pattern on a line of code it runs (not a path, a folder macro, an export or an install line), or (b) it runs a model of the design's own estimator family. An ivreg2 / ivreghdfe call with no (endog = z) group counts for neither: it is OLS with robust or HAC errors, not IV.
- Panel fixed effects is the rest: a fixed-effects estimation and none of the other designs. A package can be in several designs (not panel FE).
- A model is an estimation OF the design only when the model itself carries the design's signature; the recipe's estimation choices, the outcomes, the instruments and every example are read from those models.