mgmt-paper-causal-methods
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "mgmt-paper-causal-methods" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-b044574a41130f4e19b5a6f514f524acbe68f5dfa82322d2adec50913516fc46. Verify the upstream source and version against https://github.com/HaonanAlex/MGMT-Paper-Skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
A China-focused causal inference toolkit covering five identification strategies: DiD, RDD, IV, synthetic control, and PSM; it supplies template code in Stata, R, and Python and discusses common pitfalls and robustness checks for Chinese data and policy research. Intended for use when discussing causal inference, policy evaluation, or implementing identification strategies on Chinese datasets such as CSMAR, Wind, CFPS, or CHFS.
Introduction source: third_party · HaonanAlex · 0.1.0 Reference
SkillPi interpretation
- Tasks
- Translation pending; see source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: mgmt-paper-causal-methods
description: 面向中国情境的因果推断方法集,覆盖 DiD / RDD / IV / Synthetic Control / PSM 五种识别策略,提供 Stata / R / Python 三语言模板代码与中国数据/政策研究的常见陷阱与稳健性套路。当用户讨论因果推断、双重差分、断点回归、工具变量、合成控制、倾向得分匹配、政策评估,或要在 CSMAR/Wind/CFPS/CHFS 等中国数据上实现识别策略时调用本 Skill。
tags: [causal-inference, econometrics, did, rdd, iv, synthetic-control, psm, stata, r, python, chinese]
version: 0.1.0
author: HaonanAlex
license: Apache-2.0
display_name: "MGMT - Paper - Causal Methods"MGMT - Paper - Causal Methods — 中国情境因果推断方法集
本 Skill 为面向中文情境(中国数据、中国政策评估)的研究助手,覆盖 5 种核心因果识别策略,给出 Stata / R / Python 三语言模板代码,以及中国数据/政策研究中的常见陷阱与稳健性套路。
What it does
- 给出 5 种主流因果识别方法的标准做法 (overview)
- 每种方法配 Stata / R / Python 三套可直接复用模板 (~20–40 行)
- 涵盖标准稳健性扩展(平行趋势、带宽敏感性、弱工具检验、安慰剂等)
- 中国情境补丁:CSMAR/Wind/CFPS/CHFS 数据特点、行政区划匹配、政策外生性回应
Methods covered
| 方法 | 缩写 | 文件夹 | 关键场景 |
|---|---|---|---|
| 双重差分 | DiD | methods/did/ |
政策时点冲击、面板数据 |
| 断点回归 | RDD | methods/rdd/ |
阈值规则(分数线/年龄线/行政线) |
| 工具变量 | IV | methods/iv/ |
内生性、反向因果 |
| 合成控制 | SC | methods/sc/ |
单一处理单位(一省/一市/一国) |
| 倾向得分匹配 | PSM | methods/psm/ |
横截面选择性偏误 |
Trigger phrases
中文:因果推断、识别策略、双重差分、DID、平行趋势、断点回归、RDD、工具变量、IV、合成控制法、SCM、倾向得分匹配、PSM、政策评估、政策冲击。
English: causal inference, DiD, RDD, IV, synthetic control, propensity score matching, identification, parallel trends, first stage, weak IV, bandwidth.
How to use this Skill
- 确定方法:先读
methods/<方法>/overview.md,确认假设是否成立。 - 挑语言:根据用户工作流读
stata.md/r.md/python.md中的对应模板。 - 过中国情境关:套用
cases/cn-context.md中的检查项(行政区划、数据库特点)。 - 跑稳健性:按
cases/robustness-checklist.md至少跑 3 项稳健性。 - 政策评估:参考
cases/policy-evaluation.md的 SOP 应用到具体政策。
File map
SKILL.md (this file)
methods/
did/ {overview, stata, r, python}.md
rdd/ {overview, stata, r, python}.md
iv/ {overview, stata, r, python}.md
sc/ {overview, stata, r, python}.md
psm/ {overview, stata, r, python}.md
cases/
cn-context.md 中国数据/区划/包生态
policy-evaluation.md 政策评估 SOP + 假想例
robustness-checklist.md 稳健性清单
Source & attribution
本 Skill 完全独立编写。方法学叙述参考公开教材:Angrist & Pischke (2009) Mostly Harmless Econometrics、Wooldridge (2010) Econometric Analysis of Cross Section and Panel Data、Cunningham Causal Inference: The Mixtape (https://mixtape.scunning.com/);代码模板参考各包的公开文档(`reghdfe,csdid,rdrobust,fixest,did,MatchIt,linearmodels,DoubleML,Synth,gsynth` 等)。
仓库 Jill0099/causal-inference-mixtape 提供了组织结构上的概念灵感(仅 README 高层结构),未复制其文本或代码。
License
Apache 2.0. See LICENSE and NOTICE.
Current listing version
0.1.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 覆盖 DiD/RDD/IV/Synthetic Control/PSM 五种主流因果识别策略,满足学术研究刚需
- 提供 Stata/R/Python 三语言可直接复用模板代码,显著提升研究效率
- 针对中国情境(CSMAR/Wind/CFPS/CHFS 数据、行政区划、政策外生性)提供专门补丁
Highlights
- 触发词覆盖中英文关键词,边界清晰,能有效匹配用户关于因果推断的查询
Highlights
- How to use 五步法清晰指导用户执行流程
- 文件结构说明完整,frontmatter 信息齐全
Highlights
- 工具来源明确,引用公开教材和主流包文档
- 覆盖标准稳健性扩展(平行趋势、带宽敏感性、弱工具检验、安慰剂等)
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Domains or addresses referenced in the document
These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.
- github.com
- mixtape.scunning.com
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.