Mgmt Paper Causal Methods logo

Mgmt Paper Causal Methods

Community
HaonanAlex
mgmt-paper-causal-methods

面向中国情境的因果推断方法集,覆盖 DiD / RDD / IV / Synthetic Control / PSM 五种识别策略,提供 Stata / R / Python 三语言模板代码与中国数据/政策研究的常见陷阱与稳健性套路。当用户讨论因果推断、双重差分、断点回归、工具变量、合成控制、倾向得分匹配、政策评估,或要在 CSMAR/Wind/CFPS/CHFS 等中国数据上实现识别策略时调用本 Skill。

Overview

PublisherHaonanAlex
RepositoryMGMT-Paper-Skills
Skill namemgmt-paper-causal-methods
Stars
130
Forks
18
Bundled files
26
LicenseApache-2.0
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 26 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by HaonanAlex on GitHub. Read the source before you install it.

Installation

Install the Mgmt Paper Causal Methods AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/HaonanAlex/MGMT-Paper-Skills/tree/main/mgmt-paper-causal-methods
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HaonanAlex/MGMT-Paper-Skills.git /tmp/MGMT-Paper-Skills
mkdir -p .claude/skills
cp -r /tmp/MGMT-Paper-Skills/mgmt-paper-causal-methods .claude/skills/mgmt-paper-causal-methods
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Mgmt Paper Causal Methods in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Mgmt Paper Causal Methods on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Mgmt Paper Causal Methods is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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

方法缩写文件夹关键场景
双重差分DiDmethods/did/政策时点冲击、面板数据
断点回归RDDmethods/rdd/阈值规则(分数线/年龄线/行政线)
工具变量IVmethods/iv/内生性、反向因果
合成控制SCmethods/sc/单一处理单位(一省/一市/一国)
倾向得分匹配PSMmethods/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

  1. 确定方法:先读 methods/<方法>/overview.md,确认假设是否成立。
  2. 挑语言:根据用户工作流读 stata.md / r.md / python.md 中的对应模板。
  3. 过中国情境关:套用 cases/cn-context.md 中的检查项(行政区划、数据库特点)。
  4. 跑稳健性:按 cases/robustness-checklist.md 至少跑 3 项稳健性。
  5. 政策评估:参考 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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Mgmt Paper Causal Methods AI skill do?

面向中国情境的因果推断方法集,覆盖 DiD / RDD / IV / Synthetic Control / PSM 五种识别策略,提供 Stata / R / Python 三语言模板代码与中国数据/政策研究的常见陷阱与稳健性套路。当用户讨论因果推断、双重差分、断点回归、工具变量、合成控制、倾向得分匹配、政策评估,或要在 CSMAR/Wind/CFPS/CHFS 等中国数据上实现识别策略时调用本 Skill。

Why use Mgmt Paper Causal Methods on TypingMind?

Because you install it once and use it with any model. Mgmt Paper Causal Methods is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Mgmt Paper Causal Methods in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/HaonanAlex/MGMT-Paper-Skills/tree/main/mgmt-paper-causal-methods. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Mgmt Paper Causal Methods?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Mgmt Paper Causal Methods?

As many as you like. As long as a model supports skills, you can use Mgmt Paper Causal Methods with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Mgmt Paper Causal Methods AI skill free?

Yes. It is published on GitHub by HaonanAlex under the Apache-2.0 license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇