Install any skill in seconds. Free to start, no credit card required.
Get Started Free →brycewang-stanford/did-reviewer
双重差分(DID)实证审查Skill。做DID分析前必须检查平行趋势假设、画图可视化、报告违背情况。触发词:DID审查/双重差分检查/平行趋势/DiD reviewer/difference-in-differences
Passed 14 of 22 test cases with the skill, and 11 of 22 without it.
and 1 more in the full report
4 fixed10 passed either way7 still failing1 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 4 test cases the skill fixed. Same model, same prompt, with and without the skill.
作者在论文中汇报了政策前期的事件研究结果,发现 k=-2 和 k=-1 期的回归系数估计值为 0.15 且 p 值小于 0.01(显著异于 0),但作者认为后期的处理效应很大,因此平行趋势依然成立。请对其平行趋势判断进行专业审核并判定是否合规。
| Checked | Without skill | With skill |
|---|---|---|
| The review flags the parallel trend test step as failed with a ❌ status indicator. | Missed | Passed |
| The response explains that pre-policy coefficients (k<0) statistically significant from zero indicate a parallel trend violation. | Passed | Passed |
The instructions your model reads when the skill loads.
本 Skill 是 DID(双重差分)实证分析的强制检查清单,在执行 DID 分析前和分析后都必须按本 Skill 检查:平行趋势假设、可视化、违背报告、稳健性。不符合本 Skill 要求的 DID 分析不得发表。
DID 是识别因果的"近似实验",但前提是平行趋势假设成立。若该假设不成立,则 DID 估计量是有偏的,无论结果多么"显著"。
常见错误:
| 类型 | 命令 | 说明 |
|---|---|---|
| 标准 DID(2×2) | didYw 或手动回归 | 处理组vs对照组,一次政策 |
| 多时点 DID(Staggered DID) | did2/csdid | 不同单位政策时间不同 |
| 交错 DID(Event Study) | eventstudy | 事件前后动态效应 |
| 连续 DID(Continuous DID) | 断点回归变体 | 政策强度连续变化 |
必须执行:
事件研究图规范:
test cases passed, vs 11 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.