did-event-study

仓库创建 2026年2月7日最近提交 1 个月前SkillHot 收录 21 天前
▸ 精选理由

调用权威软件包并强制诊断套件,便于产出规范可重复的实证结果。

▸ 风险提示

依赖 R/Stata 及特定包,需在安装相应统计环境下使用。

这个 Skill 做什么

按 Sant'Anna 等标准化流程运行分期/多期 DiD 与事件研究并输出诊断与稳健性检验。

按 Sant'Anna 的实践标准把分期/多期 DiD(event-study)分析流程跑通:调用权威 R/Stata 包、用双重稳健默认、做必需的诊断与稳健性检验,最后给出可评分的可信度结论。适合手头有面板数据且处理时点不一致的政策或冲击评估场景。它不重写估计器,只做编排、复现与验证,输出规范化的诊断报告。

▸ 展开 SKILL.md 英文原文

Run a staggered difference-in-differences / event-study analysis to the Sant'Anna practitioner standard — drives the canonical packages (R `did`/`DRDID`/`didFF`/`contdid`; Stata `csdid`/`drdid`), enforces the doubly-robust default, a mandatory diagnostic + sensitivity suite, uniform-band inference, replicate-and-verify-against-source discipline, and ends in a graded credibility verdict. Use when user says "run a DiD", "event study", "staggered adoption", "Callaway Sant'Anna", "att_gt", "csdid", "did with multiple periods", or points at panel data with a treatment-timing variable. NEVER reimplements an estimator.

研究检索DiD事件研究经济计量通用
1.4k
Stars
2.8k
Forks
40
仓库内 Skill
+59
7 日增星
安装 / 使用
给你的 Agent 一句话(通用)
帮我安装这个 skill:https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/did-event-study/SKILL.md
或 curl 直取 SKILL.md
curl -fsSL "https://raw.githubusercontent.com/pedrohcgs/claude-code-my-workflow/main/.claude/skills/did-event-study/SKILL.md"
SKILL.MD 节选查看完整文件 ↗
# /did-event-study — DiD / event study, Sant'Anna practitioner standard

This is a **thin orchestrator over the canonical packages** — it never reimplements an estimator. It walks the practitioner workflow from *Difference-in-Differences with Multiple Time Periods* (Callaway & Sant'Anna 2021), the *Doubly Robust DiD* estimators (Sant'Anna & Zhao 2020), and the *"What's Trending in DiD?"* synthesis (Roth, Sant'Anna, Bilinski & Poe 2023), and it follows the **replicate-and-verify-against-source** discipline.

> **Actor → Critic.** The skill is the *Actor*: it runs your packages and the diagnostics. It then puts on the *Critic* hat for **Phase 8 — a graded credibility verdict**, never a binary 
via SKILL·HOT · 数据来自 GitHub 公开信息 · 原文版权归作者所有