Grad Did
Apply Difference-in-Differences (DID) to estimate causal treatment effects by comparing changes in outcomes between treatment and control groups. Use this skill when the user evaluates policy interventions, natural experiments, or regulatory changes, needs to test parallel trends, or when they ask 'did this policy work', 'how do I identify causal effects without randomization', or 'what is the treatment effect'.
Install
npx skills add asgard-ai-platform/skills --skill grad-didgit clone --depth 1 https://github.com/asgard-ai-platform/skills.git /tmp/skills
mkdir -p ~/.claude/skills
cp -r /tmp/skills/grad-did ~/.claude/skills/grad-didPersonal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.
From the SKILL.md
# 雙重差分法 (Difference-in-Differences) ## Overview Difference-in-Differences (DID) estimates causal effects by comparing the change in outcomes over time between a treatment group (affected by an intervention) and a control group (unaffected). By differencing out both time-invariant group differences and common time trends, DID isolates the treatment effect under the parallel trends assumption. ## When to Use - Evaluating the impact of a policy, regulation, or intervention - A natural experiment assigns treatment at a group level (state, industry, firm) - Panel or repeated cross-section data with pre- and post-treatment periods - Randomized experiment is infeasible but a plausible control group exists ## When NOT to Use - Parallel trends assumption is violated and cannot be remedied - Treatment and control groups differ in ways that change over time - Treatment is self-selected based on anticipated outcomes (anticipation effects) - Only post-treatment data are available (no pre-treatment baseline) ## Assumptions ``` IRON LAW: DID is valid ONLY if the parallel trends assumption holds — without it, the estimated treatment effect is biased by differential pre-existing trends. ``` Key assumptions: 1. Parallel trends: absent treatment, treated and control groups would have followed the same trajectory 2. No spillover effects from treated to control units (SUTVA) 3. Treatment timing is sharp and exogenous
Details
- Skill name
grad-did- Repository
- asgard-ai-platform/skills
- Path
grad-did/SKILL.md- License
- MIT
- Repo updated
- 6 June 2026
FAQ
What does the Grad Did skill do?
Apply Difference-in-Differences (DID) to estimate causal treatment effects by comparing changes in outcomes between treatment and control groups. Use this skill when the user evaluates policy interventions, natural experiments, or regulatory changes, needs to test parallel trends, or when they ask 'did this policy work', 'how do I identify causal effects without randomization', or 'what is the treatment effect'.
How do I install the Grad Did skill?
skills CLI (Claude Code, Cursor, Codex and more): npx skills add asgard-ai-platform/skills --skill grad-did. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.
Is Grad Did popular?
It lives in asgard-ai-platform/skills, which has 248 GitHub stars and 30 forks.
Related skills
Algo Ad Bidding
248asgard-ai-platform/skills
Implement and select ad bidding strategies from manual CPC to automated target-CPA and target-ROAS. Use this skill when the user needs to choose a bidding strategy, set up automated bidding, or optimize bid parameters — even if they say 'what bidding strategy should I use', 'target CPA setup', or 'smart bidding configuration'.
Algo Ad Budget
248asgard-ai-platform/skills
Optimize advertising budget allocation across campaigns using marginal returns analysis. Use this skill when the user needs to distribute budget across multiple campaigns, optimize spend pacing, or maximize overall ROAS under budget constraints — even if they say 'how to split my ad budget', 'campaign budget optimization', or 'diminishing returns on ad spend'.
Algo Ad Ctr
248asgard-ai-platform/skills
Build CTR prediction models for estimating ad click-through rates from features. Use this skill when the user needs to predict click probability, build an ad ranking model, or evaluate ad creative performance — even if they say 'predict click rate', 'ad relevance scoring', or 'which ad will get more clicks'.
Grad Sem
248asgard-ai-platform/skills
Apply Structural Equation Modeling (SEM) to test hypothesized causal structures by combining measurement models (CFA) and structural models (path analysis). Use this skill when the user needs to validate latent constructs, test mediation or moderation paths, assess model fit with CFI/TLI/RMSEA/SRMR, or when they ask 'do these variables form a causal chain', 'how do I test my theoretical model', or 'is my measurement model valid'.
Cs Notification Strategy
248asgard-ai-platform/skills
Design push notification and messaging strategies including channel selection, timing optimization, personalization, and fatigue management. Use this skill when the user needs to improve notification engagement, reduce opt-out rates, plan multi-channel messaging, or A/B test notification content — even if they say 'our push open rates are low', 'users are unsubscribing', 'when should we send notifications', or 'which channel to use for alerts'.
Mkt Ab Testing
248asgard-ai-platform/skills
Design and execute marketing A/B tests for landing pages, email campaigns, ad creatives, and pricing with proper test design and result analysis. Use this skill when the user needs to test marketing variations, improve conversion rates through experimentation, or decide between two campaign approaches — even if they say 'which version performs better', 'test this landing page', 'A/B test our email subject line', or 'should we change our CTA'.
Browse the most popular Claude skills, all testing & qa skills, or write your own with the skills generator.