技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
crim-data-analysis【数据与研究】Use when executing and reporting the analysis for a Criminology (ASC / Wiley) manuscript so it survives expert review — honest uncertainty, robustness, and methods appropriate to crime counts, longitudinal panels, trajectory models, and recidivism survival. Guides analysis norms; it does not fabricate results.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Criminology reviewers are methodologically sophisticated and increasingly expect that your results
can be reproduced from deposited materials (see crim-data-and-transparency). Analyze as if both are
true. This skill covers execution and reporting norms; design decisions live in crim-research-design.
renv.lock, requirements.txt, recorded ssc/net/traj installs).Run the battery, don't just enumerate it. Full map:
execution-with-mcp. Criminology is observational — place/person panels where selection is pervasive; foreground DiD/IV/RDD and the selection objection.
romano_wolf (step-down FWER) or
benjamini_hochberg — report the adjusted threshold.oster_delta / sensemakr.wild_cluster_bootstrap (few clusters), twoway_cluster / conley;
multilevel data → cluster at the right level.audit_result(result_id) lists the missing checks and the
exact suggest_function for each.etable / did_summary_to_latex from the handle — no retyped numbers.Keep the decisive checks in the body and the exhaustive battery in the supplement. See the executed chain in the JF execution walkthrough.
Criminology reviewers are quantitatively literate and will name a mismatch between model and the data-generating process for offending. Use the outcome to pick the estimator, then defend the assumption the reviewer will probe.
| Outcome shape | Default estimator | Reviewer will probe |
|---|---|---|
| Over-dispersed offense counts | negative binomial w/ exposure offset | dispersion test, offset justification |
| Excess-zero counts (most offend zero times) | zero-inflated / hurdle | what the inflation stage means theoretically |
| Repeated within-person offending | fixed-effects / hybrid panel | within vs. between separation |
| Time-to-recidivism, censored | Cox / competing-risks | proportional hazards, censoring mechanism |
| Developmental offending paths | GBTM / growth mixture | BIC, AvePP ≥ 0.7, group shares not reified |
Suppose a hybrid model returns an incident-rate ratio of 0.62 on the within-person "employed" indicator (illustrative): entering employment maps to roughly a 38% lower offending rate for the same person, 95% CI [0.49, 0.78], net of stable traits. The between-person column, IRR 0.80, is weaker and reading it as desistance would conflate selection (people prone to desist also find work) with the within-person change the life-course claim requires. Report both; tell the reader which identifies the mechanism.
【Main estimate】magnitude (IRR / predicted count / hazard) + interval + substantive meaning
【Crime measure】reported / victimization / self-report + dark-figure caveat
【Within vs between】isolated correctly? [Y/N/NA]
【Model fit】counts: dispersion handled? trajectory: BIC/AvePP reported? [Y/N/NA]
【Robustness】specs that could break it → what held
【Reproducible】master script + seeds + pinned versions? [Y/N]
【Next】crim-tables-figures
../../resources/external_tools.md — count, trajectory, survival, and spatial packages../../resources/official-source-map.md — transparency expectations and crime-data sources