- name
SKILL.md
Beceri dosyası yayıncının deposunda kalır.
Kopyalanan komutu bir terminale yapıştırın. Bu SKILL.md dosyasını ilgili ajana kurar.
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill 10-Jill0099-causal-inference-mixtape -a cursor -yKopyalanan komutu bir terminale yapıştırın. Bu SKILL.md dosyasını ilgili ajana kurar.
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill 10-Jill0099-causal-inference-mixtape -a claude-code -yKopyalanan komutu bir terminale yapıştırın. Bu SKILL.md dosyasını ilgili ajana kurar.
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill 10-Jill0099-causal-inference-mixtape -a codex -yKopyalanan komutu bir terminale yapıştırın. Bu SKILL.md dosyasını ilgili ajana kurar.
npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill 10-Jill0099-causal-inference-mixtape -a grok -yKopyalanan mesajı bir Grok Bot sohbetinde gönderin. Bot bu SKILL.md dosyasını GitHub'dan alır ve tüm Bot'larınızın paylaştığı becerilere ekler.
Install this skill: https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills/tree/HEAD/skills/10-Jill0099-causal-inference-mixtapeYayıncıdan
Practitioner-oriented causal inference skill built from Scott Cunningham's Causal Inference: The Mixtape repository. Covers 10 identification strategies with ready-to-run code templates in Python, R, and Stata.
references/method-patterns.mdimport statsmodels.formula.api as smf
model = smf.ols('y ~ C(treated)*C(post) + controls', data=df)
results = model.fit(cov_type='cluster', cov_kwds={'groups': df['firm_id']})
# Create relative time dummies
for k in range(-4, 5):
col = f'rel_{k}' if k >= 0 else f'rel_m{abs(k)}'
df[col] = (df['relative_time'] == k).astype(int)
# Drop t=-1 as reference
formula = 'y ~ ' + ' + '.join([c for c in rel_cols if c != 'rel_m1']) + ' + C(id) + C(year)'
from linearmodels.iv import IV2SLS
model = IV2SLS.from_formula('y ~ 1 + exog + [endog ~ instrument]', data=df)
results = model.fit(cov_type='clustered', clusters=df['cluster_var'])
rpy2 to call R's Synth from Python.references/method-patterns.md — Detailed code templates for all 10 methods with full examplesreferences/r-stata-comparison.md — Cross-language package comparison and method coverage gapsprompts/01-implement-method.md — Copy-paste prompt for implementing any causal methodprompts/02-robustness-checks.md — Copy-paste prompt for generating robustness check codeThis skill should be used when the user asks to "implement a DiD regression", "write a causal inference pipeline", "set up an event study", "implement instrumental variables", "run a regression discon
---name: causal-inference-mixtapedescription: This skill should be used when the user asks to "implement a DiD regression", "write a causal inference…---# skills/10-Jill0099-causal-inference-mixtape/SKILL.mdGenel bakış
This skill should be used when the user asks to "implement a DiD regression", "write a causal inference pipeline", "set up an event study", "implement instrumental variables", "run a regression discontinuity design", "build a synthetic control model", "implement propensity score matching", "write parallel trends test", "implement Bacon decomposition", or needs code templates for causal inference methods in Python, R, or Stata. Based on Scott Cunningham''s Causal Inference: The Mixtape.
SSS
skills/10-Jill0099-causal-inference-mixtape/SKILL.md dosyasını yayıncıdan indirin veya yolu kopyalayıp depoyu açın. PlugMCP beceriyi listeler, dosyayı barındırmaz.
Yayıncı bunu şurada tutuyor: https://github.com/brycewang-stanford/Auto-Empirical-Research-Skills.
Claude, Cursor, Codex ve Grok Build, yayıncının deposundan eklediğiniz bir SKILL.md dosyasını okuyabilir. Grok Bot, becerinin GitHub klasör bağlantısını bir sohbette gönderdiğinizde onu kurar.