Individual skill

ceq-modern-did

Use when a 《经济学(季刊)》 (China Economic Quarterly, CEQ) manuscript uses difference-in-differences with staggered adoption or heterogeneous treatment effects — to bring it into compliance with modern estimators (Callaway–Sant'Anna, de Chaisemartin–D'Haultfœuille, Sun–Abraham) instead of bare two-way fixed effects. Bare TWFE on staggered timing is a near-certain reject at CEQ.

China-Economic-Quarterly-Skills/skills/ceq-modern-did/SKILL.md

Read pinned source

Source commit 932eb23331721b16e967c59f093781be1928b498

What was checked

Matches the observed repository HEAD
Yes
Scanner rules are current
Yes
Repository scan complete
No
Skill scan complete
Yes
Observed behavior
Network or broad shell
Last checked
Nov 9, 2026

These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.

Install this skill

Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.

An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.

Repository context

Repository stars (not skill ratings)
1,405
Repository last updated
Sep 27, 2026
License
MIT

Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.

Files and excerpt

File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.

Browse files
Read excerpt

# 现代 DID 合规(ceq-modern-did)

## 触发时机

- 处理时点**交错**(不同单位不同时间被处理),但只跑了 TWFE
- 处理效应可能随队列/时间**异质**
- 审稿人提"负权重 / 坏比较 / 前置效应"等批评

## 核心判断:你的 DID 是哪一类?

| 情形 | 是否有 TWFE 偏误 | 处理 |
|------|------------------|------|
| 单一时点、两组 | 通常无 | 标准 DID 即可,仍画事件研究图 |
| 交错处理 + 同质效应 | 轻 | 仍建议稳健估计量交叉验证 |
Back to top