eursr-data-analysis

GitHub

指导ESR期刊稿件的数据分析,涵盖多层/纵向建模、不确定性报告及稳健性检验,确保结果透明可复现。

European-Sociological-Review-Skills/skills/eursr-data-analysis/SKILL.md brycewang-stanford/Awesome-Journal-Skills

Trigger Scenarios

执行主分析和支持性分析 回应审稿人关于稳健性或聚类层级的要求 报告基于少量宏观单元(如国家)的跨层交互效应 在提交前确保分析的可复现性

Install

npx skills add brycewang-stanford/Awesome-Journal-Skills --skill eursr-data-analysis -g -y
More Options

Non-standard path

npx skills add https://github.com/brycewang-stanford/Awesome-Journal-Skills/tree/main/European-Sociological-Review-Skills/skills/eursr-data-analysis -g -y

Use without installing

npx skills use brycewang-stanford/Awesome-Journal-Skills@eursr-data-analysis

指定 Agent (Claude Code)

npx skills add brycewang-stanford/Awesome-Journal-Skills --skill eursr-data-analysis -a claude-code -g -y

安装 repo 全部 skill

npx skills add brycewang-stanford/Awesome-Journal-Skills --all -g -y

预览 repo 内 skill

npx skills add brycewang-stanford/Awesome-Journal-Skills --list

SKILL.md

Frontmatter
{
    "name": "eursr-data-analysis",
    "description": "Use when executing and reporting the analysis for a European Sociological Review (ESR) manuscript so it survives expert double-blind review — correct multilevel and longitudinal modeling, honest uncertainty, robustness, and small-macro-N inference on comparative survey or register data. Guides analysis norms; it does not fabricate results."
}

Data Analysis (eursr-data-analysis)

ESR reviewers are quantitatively demanding and comparative by instinct. Whether your evidence is multilevel coefficients, hazard ratios, growth trajectories, or decompositions, the analysis must be transparent, correctly specified for the data structure, and reproducible. Design decisions live in eursr-research-design; the replication package lives in eursr-transparency-and-data.

When to trigger

  • Running main and supporting analyses; building the results section
  • A reviewer asked for robustness, the right clustering/level, heterogeneity, or alternative specifications
  • Reporting cross-level interactions or country-level effects from few clusters
  • Making the analysis reproducible before depositing materials

Analysis norms ESR expects

  1. Report uncertainty and magnitude, not just significance — confidence intervals and substantive effect sizes (predicted probabilities, marginal effects), respecting survey design (weights, clustering, strata; design-based SEs).
  2. Model the data structure correctly. Multilevel data → random effects or cluster-robust / country fixed effects with the right level; panel data → within estimators matched to the quantity; durations → event-history with correct risk set and time scale.
  3. Small macro-N honesty. With ~20-30 countries, country-level SEs are fragile: too few clusters bias cluster-robust SEs, and a single cross-level interaction can rest on a handful of higher-level units. Use df-appropriate methods (e.g., Satterthwaite/Kenward-Roger df, wild cluster bootstrap, or a Bayesian multilevel model) and do not over-interpret macro coefficients.
  4. Robustness that probes, not decorates. Alternative measures, samples, codings, and estimators that could break the result; report what you learn, not just that it "holds."
  5. Heterogeneity with discipline. Pre-specify or justify subgroups and cross-level interactions; adjust for multiple comparisons; do not mine an interaction and theorize it post hoc.
  6. Measurement. Validate latent constructs (CFA, reliability) and, for comparison, report the invariance level reached and what it licenses.

Reproducibility while you work

  • One master script regenerates every table/figure from the (constructed) data.
  • Set and report seeds for any stochastic step (imputation, bootstrap, MCMC).
  • Pin software/package versions (renv.lock, requirements.txt, recorded ssc/net installs).
  • Keep the harmonization/recoding code (ISCED/CASMIN, ISCO/ISEI/EGP) auditable — reviewers check it.

What an ESR analyst-reviewer is checking

Reviewer probe Clears the ESR bar Triggers a revision flag
"Right level / clustering?" SEs at the correct level; df-aware macro inference individual SEs on a country-level claim
"Just a significant coefficient?" marginal effect + interval tied to the mechanism stars-only, no interpretation
"Few clusters handled?" wild bootstrap / Bayesian / df correction naive cluster SEs on ~20 countries
"Measures comparable?" invariance reported; partial invariance bounded latent comparison with no invariance test
"Heterogeneity real or mined?" pre-specified / MHT-adjusted one fished cross-level interaction

Worked micro-example (illustrative numbers)

A hypothetical ESR study links active labor-market policy (macro) to unemployment scarring (micro) across 24 countries with harmonized panel data.

Main effect: a past spell lowers later wages 6.1% (95% CI 4.0–8.2), within-person fixed effects
Cross-level interaction: scar is 3.4 pp smaller per 1 SD of activation spending (CI 1.1–5.7) —
  the macro × micro hypothesis from eursr-theory-building
Few-cluster inference: wild cluster bootstrap (countries), p = 0.012; macro claim kept modest (24 df)
Robustness: holds dropping any one country (leave-one-out), and under register- vs survey-measured wages
Reproducible: one master script, seed = 2026, renv.lock pinned; harmonization code archived

The interval carries the micro claim, the cross-level term names the portable mechanism, and the few-cluster inference is handled honestly rather than asserted.

Referee pushback → ESR-specific fix

  • "Your country-level SEs are too optimistic." → Re-estimate with a wild cluster bootstrap or a Bayesian multilevel model; report the df and temper the macro claim.
  • "Robustness agrees by construction." → Add a spec that could break it (alternative harmonization, leave-one-country-out, placebo period) and report what you learned.
  • "Significant but does it matter?" → Give a predicted-probability or marginal-effect scenario and name what changes for the comparative debate.

Calibration anchors

  • Get the level right or nothing else counts. ESR's signature error is mismatched SEs/clustering on a multilevel or comparative claim — fix the variance structure first.
  • Few clusters demand humility. ~20-30 countries cannot support strong macro-level inference with naive SEs; df-aware methods and modest claims are expected.
  • Magnitude over significance. Report marginal effects and intervals a comparative reader can interpret, not stars.

Execution bridge (StatsPAI / Stata MCP)

Run the battery, don't just enumerate it. Full map: execution-with-mcp. ESR is comparative quantitative sociology; cross-country panels with confounded institutions — foreground fixed effects and clustering.

  • Many outcomes / specifications: romano_wolf (step-down FWER) or benjamini_hochberg — report the adjusted threshold.
  • OVB sensitivity: oster_delta / sensemakr.
  • Inference: wild_cluster_bootstrap (few clusters), twoway_cluster / conley; multilevel data → cluster at the right level.
  • Re-fit off one handle: audit_result(result_id) lists the missing checks and the exact suggest_function for each.
  • Exhibits: 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.

Anti-patterns

  • Individual-level SEs on a country-level coefficient; naive cluster SEs on ~20 countries
  • Stars-only tables with no effect sizes or intervals; ignoring survey weights
  • "Robustness" that only reruns near-identical specs to manufacture stability
  • p-hacking / HARKing an exploratory cross-level interaction into a hypothesis
  • Latent cross-national comparisons reported without an invariance check

Output format

【Main result】marginal effect + interval
【Data structure handled】level / clustering / panel estimator correct? [Y/N]
【Cross-level / macro inference】few-cluster method + df honest? [Y/N]
【Robustness】what held (incl. leave-one-country-out)
【Reproducible】master script + seeds + pinned versions + harmonization code? [Y/N]
【Next】eursr-tables-figures

Supplementary resources

Version History

  • 1839142 Current 2026-07-05 13:13

Same Skill Collection

AAAI-Skills/skills/aaai-artifact-evaluation/SKILL.md
AAAI-Skills/skills/aaai-author-response/SKILL.md
AAAI-Skills/skills/aaai-camera-ready/SKILL.md
AAAI-Skills/skills/aaai-experiments/SKILL.md
AAAI-Skills/skills/aaai-related-work/SKILL.md
AAAI-Skills/skills/aaai-reproducibility/SKILL.md
AAAI-Skills/skills/aaai-review-process/SKILL.md
AAAI-Skills/skills/aaai-submission/SKILL.md
AAAI-Skills/skills/aaai-supplementary/SKILL.md
AAAI-Skills/skills/aaai-topic-selection/SKILL.md
AAAI-Skills/skills/aaai-workflow/SKILL.md
AAAI-Skills/skills/aaai-writing-style/SKILL.md
AAMAS-Skills/skills/aamas-artifact-evaluation/SKILL.md
AAMAS-Skills/skills/aamas-author-response/SKILL.md
AAMAS-Skills/skills/aamas-camera-ready/SKILL.md
AAMAS-Skills/skills/aamas-experiments/SKILL.md
AAMAS-Skills/skills/aamas-related-work/SKILL.md
AAMAS-Skills/skills/aamas-reproducibility/SKILL.md
AAMAS-Skills/skills/aamas-review-process/SKILL.md
AAMAS-Skills/skills/aamas-submission/SKILL.md
AAMAS-Skills/skills/aamas-supplementary/SKILL.md
AAMAS-Skills/skills/aamas-topic-selection/SKILL.md
AAMAS-Skills/skills/aamas-workflow/SKILL.md
AAMAS-Skills/skills/aamas-writing-style/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-editor-strategy/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-evidence-standards/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-literature-synthesis/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-organizing-framework/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-proposal-framing/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-review-process/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-revision/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-submission/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-tables-figures/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-topic-selection/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-workflow/SKILL.md
Academy-of-Management-Annals-Skills/skills/amann-writing-style/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-contribution-framing/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-data-analysis/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-literature-positioning/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-methods/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-rebuttal/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-review-process/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-submission/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-tables-figures/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-theory-development/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-topic-selection/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-workflow/SKILL.md
Academy-of-Management-Journal-Skills/skills/amj-writing-style/SKILL.md
Academy-of-Management-Review-Skills/skills/amr-contribution-framing/SKILL.md
Academy-of-Management-Review-Skills/skills/amr-data-analysis/SKILL.md

Metadata

Files
0
Version
5717eab
Hash
2a61c082
Indexed
2026-07-05 13:13

Главная - Вики-сайт
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-06 20:17
浙ICP备14020137号-1 $Гость$