Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Causal inference design audit for the sewage-house-prices project. Runs a 4-phase review (claim identification, design validity, inference, polish) covering hedonic pricing, repeat sales, long difference, DiD/event studies, upstream/downstream, and dry spill strategies. This skill should be used when asked to "check the econometrics", "audit the identification", "review the strategy", or when verifying that code matches the stated design.
| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-09 | ✗→✓ | ▲ Improved | -7% | 0% |
| case-17 | ✗→✓ | ▲ Improved | 44% | 0% |
| case-19 | ✗→✓ | ▲ Improved | -11% | 0% |
| case-20 | ✗→✓ | ▲ Improved | -12% | 0% |
| case-21 | ✗→✓ | ▲ Improved | 10% | 0% |
Run a 4-phase causal inference audit on the target file(s) for the sewage-house-prices project.
Input: $ARGUMENTS — a .tex file, .R script, directory path, or all.
log(price) on spill count/hours (continuous + bins), LSOA FE, heteroskedasticity-robust SElog(price) for sales, log(rent) for rentalsspill_count, spill_hrs, spill_count_daily_avg, spill_hrs_daily_avgn_spill_sites within radius, min_dist / mean_distlsoa), MSOA (msoa), year-quarterfixest::feols(vcov = "hetero")spill_aggregation_utils.Rdocs/overleaf/*.texscripts/R/09_analysis/scripts/R/utils/scripts/R/01_data_ingestion/ through scripts/R/06_analysis_datasets/Determine target from $ARGUMENTS:
.tex file: Review manuscript section for identification claims, assumption statements, estimation descriptions.R file: Review analysis script for code-theory alignment, package usage, SE computationscripts/R/09_analysis/02_hedonic/): Review all scripts in that approachall: Review docs/overleaf/*.tex and scripts/R/09_analysis/Before auditing:
docs/overleaf/refs.bib for citation availabilityscripts/R/utils/spill_aggregation_utils.R for counting methodologyDesign-specific assumption checks:
Hedonic:
Repeat sales:
Long difference:
DiD / Event studies:
Upstream/downstream:
Dry spills:
Early stopping: If Phase 2 finds CRITICAL issues, focus there.
markdown## Econometrics Audit: [target] **Date:** YYYY-MM-DD ### Design(s) Reviewed - [List designs audited] ### Overall Assessment: [SOUND / MINOR ISSUES / MAJOR ISSUES / CRITICAL ERRORS] ### Blocking Issues (CRITICAL) 1. ... ### Priority Action List 1. ... 2. ... 3. ... ### Positive Findings - ...
Save report to output/log/econometrics_check_[target].md.
Other measured skills in the registry, with their headline benchmark lift.