Data Analysis (jole-data-analysis)
When to trigger
- You are building the analysis sample from CPS/ACS/IPUMS, administrative, or register data
- You are running wage decompositions (Oaxaca / RIF) or AKM firm–worker models
- Standard errors, weighting, or robustness need to meet labor-referee expectations
- You want to make sure the empirical work will be replicable before you write it up
Labor empirical norms at JOLE
JOLE publishes empirical / simulation / experimental labor papers only if the data are documented and available for replication, so build the analysis so it can be deposited later (data + programs + documentation) to the JOLE Dataverse (see jole-replication-and-data-policy). Beyond reproducibility, labor referees expect disciplined data work:
- Sample construction is part of identification. Document the universe, age/labor-force restrictions, top-coding handling, and how you treat zeros/imputed earnings (CPS allocation flags, ACS PUMS edits). Report sample sizes at each restriction.
- Weights and design. Use survey weights appropriately (CPS/ACS) and account for complex sampling; for registers, be explicit about coverage and linkage rules.
- Earnings measures. Be precise: hourly vs. weekly vs. annual; nominal vs. real (state the deflator); winsorizing/top-coding decisions and their sensitivity.
- Standard errors. Cluster at the level of the variation (often state or firm); use heteroskedasticity-robust SEs by default; wild-cluster bootstrap with few clusters; randomization inference for experiments.
Common labor estimations (and their pitfalls)
- Wage decompositions: Blinder–Oaxaca for mean gaps; RIF / unconditional-quantile (
rifreg) for distributional gaps. State the reference group and the index-number problem; do not over-interpret the "unexplained" component as discrimination without argument.
- Two-way (AKM) firm–worker FE: estimate on the connected set; correct limited-mobility bias (leave-out / KSS) before decomposing wage variance; report the share of movers.
- Labor-supply elasticities: be explicit about extensive vs. intensive margin, and about which elasticity (Marshallian/Hicksian/Frisch) is identified.
- Returns to schooling/training: distinguish OLS from IV/RDD estimates; report both and reconcile.
- Event studies / DID: use modern estimators on staggered timing (see jole-identification-strategy) and plot leads.
Robustness a labor referee will ask for
- Alternative samples (age bands, full-time/part-time, with/without imputed earnings)
- Alternative SE clustering and few-cluster corrections
- Specification curve / leave-one-out on key controls or sub-populations
- Placebo outcomes and placebo timing/cutoffs
- Heterogeneity by the labor-relevant dimensions (gender, education, age, sector) where theory predicts it
Execution bridge (StatsPAI / Stata MCP)
Run the battery, don't just enumerate it. Full map:
execution-with-mcp. JOLE is labor economics — the home of clean identification; DiD/IV/RDD and selection corrections are the binding constraint.
- Many outcomes / specifications:
romano_wolf (step-down FWER) or benjamini_hochberg.
- OVB sensitivity:
oster_delta / sensemakr.
- Inference:
wild_cluster_bootstrap (few clusters), twoway_cluster / conley.
- Re-fit off one handle:
audit_result(result_id) lists missing checks + the exact
suggest_function for each.
- Exhibits:
etable / did_summary_to_latex from the handle — no retyped numbers.
Decisive checks in the body, exhaustive battery in the appendix.
JF execution walkthrough.
Checklist
Anti-patterns
- Undocumented sample cuts that drive the result
- Ignoring CPS/ACS allocation flags and imputed-earnings issues
- Default i.i.d. SEs when variation is at the state/firm level
- Interpreting the Oaxaca "unexplained" gap as discrimination with no further argument
- Reporting AKM firm-effect dispersion without limited-mobility-bias correction
- Leaving reproducibility to the end instead of scripting it as you go
Output format
【Data】source(s) + sample universe + restrictions (with counts):
【Earnings measure】hourly/weekly/annual, real/nominal, deflator:
【Estimator】OLS / Oaxaca / RIF / AKM / IV / DID:
【SEs】clustering level + few-cluster handling:
【Robustness done】[samples, SEs, placebos, heterogeneity]:
【Replicability】master script regenerates all exhibits? [Y/N]
【Next step】jole-contribution-framing or jole-tables-figures
Source: brycewang-stanford/Awesome-Journal-Skills → Journal-of-Labor-Economics-Skills/skills/jole-data-analysis/SKILL.md
1---2name: jole-data-analysis3description: Use when executing the empirical analysis for a Journal of Labor Economics (JOLE) manuscript — labor sample construction (CPS/ACS/registers), wage decompositions, standard errors, and robustness to labor norms, with replicability built in from the start. Operational guidance; pairs with jole-identification-strategy.4---567# Data Analysis (jole-data-analysis)89## When to trigger1011- You are building the analysis sample from CPS/ACS/IPUMS, administrative, or register data12- You are running wage decompositions (Oaxaca / RIF) or AKM firm–worker models13- Standard errors, weighting, or robustness need to meet labor-referee expectations14- You want to make sure the empirical work will be replicable before you write it up1516## Labor empirical norms at JOLE1718JOLE publishes empirical / simulation / experimental labor papers **only if the data are documented and available for replication**, so build the analysis so it can be deposited later (data + programs + documentation) to the JOLE Dataverse (see jole-replication-and-data-policy). Beyond reproducibility, labor referees expect disciplined data work:1920- **Sample construction is part of identification.** Document the universe, age/labor-force restrictions, top-coding handling, and how you treat zeros/imputed earnings (CPS allocation flags, ACS PUMS edits). Report sample sizes at each restriction.21- **Weights and design.** Use survey weights appropriately (CPS/ACS) and account for complex sampling; for registers, be explicit about coverage and linkage rules.22- **Earnings measures.** Be precise: hourly vs. weekly vs. annual; nominal vs. real (state the deflator); winsorizing/top-coding decisions and their sensitivity.23- **Standard errors.** Cluster at the level of the variation (often state or firm); use heteroskedasticity-robust SEs by default; wild-cluster bootstrap with few clusters; randomization inference for experiments.2425## Common labor estimations (and their pitfalls)2627- **Wage decompositions:** Blinder–Oaxaca for mean gaps; RIF / unconditional-quantile (`rifreg`) for distributional gaps. State the reference group and the index-number problem; do not over-interpret the "unexplained" component as discrimination without argument.28- **Two-way (AKM) firm–worker FE:** estimate on the connected set; correct **limited-mobility bias** (leave-out / KSS) before decomposing wage variance; report the share of movers.29- **Labor-supply elasticities:** be explicit about extensive vs. intensive margin, and about which elasticity (Marshallian/Hicksian/Frisch) is identified.30- **Returns to schooling/training:** distinguish OLS from IV/RDD estimates; report both and reconcile.31- **Event studies / DID:** use modern estimators on staggered timing (see jole-identification-strategy) and plot leads.3233## Robustness a labor referee will ask for3435- Alternative samples (age bands, full-time/part-time, with/without imputed earnings)36- Alternative SE clustering and few-cluster corrections37- Specification curve / leave-one-out on key controls or sub-populations38- Placebo outcomes and placebo timing/cutoffs39- Heterogeneity by the labor-relevant dimensions (gender, education, age, sector) where theory predicts it4041## Execution bridge (StatsPAI / Stata MCP)4243Run the battery, don't just enumerate it. Full map:44[`execution-with-mcp`](../../../shared-resources/empirical-methods/execution-with-mcp.md). JOLE is labor economics — the home of clean identification; DiD/IV/RDD and selection corrections are the binding constraint.4546- **Many outcomes / specifications:** `romano_wolf` (step-down FWER) or `benjamini_hochberg`.47- **OVB sensitivity:** `oster_delta` / `sensemakr`.48- **Inference:** `wild_cluster_bootstrap` (few clusters), `twoway_cluster` / `conley`.49- **Re-fit off one handle:** `audit_result(result_id)` lists missing checks + the exact50 `suggest_function` for each.51- **Exhibits:** `etable` / `did_summary_to_latex` from the handle — no retyped numbers.5253Decisive checks in the body, exhaustive battery in the appendix.54[JF execution walkthrough](../../../Journal-of-Finance-Skills/resources/worked-examples/02-execution-walkthrough.md).55## Checklist5657- [ ] Sample restrictions documented with counts at each step58- [ ] Earnings measure and deflator stated; top-coding/winsorizing sensitivity shown59- [ ] Survey weights / register coverage handled correctly60- [ ] SEs clustered at the variation level; few-cluster issues addressed61- [ ] Decompositions report reference group; AKM corrects limited-mobility bias62- [ ] Robustness covers samples, SEs, placebos, and theory-motivated heterogeneity63- [ ] Every table/figure regenerable from a master script (replicability built in)6465## Anti-patterns6667- Undocumented sample cuts that drive the result68- Ignoring CPS/ACS allocation flags and imputed-earnings issues69- Default i.i.d. SEs when variation is at the state/firm level70- Interpreting the Oaxaca "unexplained" gap as discrimination with no further argument71- Reporting AKM firm-effect dispersion without limited-mobility-bias correction72- Leaving reproducibility to the end instead of scripting it as you go7374## Output format7576```77【Data】source(s) + sample universe + restrictions (with counts):78【Earnings measure】hourly/weekly/annual, real/nominal, deflator:79【Estimator】OLS / Oaxaca / RIF / AKM / IV / DID:80【SEs】clustering level + few-cluster handling:81【Robustness done】[samples, SEs, placebos, heterogeneity]:82【Replicability】master script regenerates all exhibits? [Y/N]83【Next step】jole-contribution-framing or jole-tables-figures84```8586---8788**Source:** [`brycewang-stanford/Awesome-Journal-Skills`](https://github.com/brycewang-stanford/Awesome-Journal-Skills) → `Journal-of-Labor-Economics-Skills/skills/jole-data-analysis/SKILL.md`