Logo: Results Analysis

Results Analysis

Communautéit
HaipingXu
results-analysis

This skill should be used when the user asks to "analyze empirical results", "generate results section", "interpret regression output", "create regression tables", "visualize DID results", "plot event study", "check pre-trends", "first stage F-statistic", "run robustness checks", "interpret causal estimates", or mentions connecting empirical analysis to social science paper writing. Covers DID, IV, RDD, and Synthetic Control designs.

Iwwersiicht

EditeurHaipingXu
Repositorysocial-science-claude-scholar
Skill-Nummresults-analysis
Stären
26
Forks
5
Matgeliwwert Dateien
7
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 7 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    HaipingXu huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Results Analysis an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/HaipingXu/social-science-claude-scholar/tree/main/skills/results-analysis
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HaipingXu/social-science-claude-scholar.git /tmp/social-science-claude-scholar
mkdir -p .claude/skills
cp -r /tmp/social-science-claude-scholar/skills/results-analysis .claude/skills/results-analysis
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Results Analysis an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Results Analysis automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Results Analysis net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

Results Analysis for Social Science Empirical Research

A systematic empirical results analysis workflow for political science and economics papers — from raw regression output to publication-ready tables, figures, and Results section text.

Core Features

  1. Identification Assumption Checks — Pre-trend tests, first-stage F, McCrary density, MSPE ratios
  2. Main Results Presentation — Regression tables with proper SE clustering, LaTeX output
  3. Robustness Battery — Alternative specifications, placebo tests, subgroup analysis
  4. Visualization — Event study plots, coefficient plots, RD plots, binned scatter
  5. Results Section Writing — Social science journal structure (APSR/AJPS/AER/QJE)

When to Use

  • Validate identification assumptions (pre-trends, exclusion restriction, continuity)
  • Generate LaTeX regression tables ready for insertion
  • Create event study / coefficient plots
  • Conduct and report robustness checks
  • Write or revise the Results / Empirical Findings section
  • Interpret causal estimates in substantive terms

Workflow

Data Loading → Identification Checks → Main Results → Robustness → Visualization → Writing → Quality Check

Step 1: Data and Output Loading

Common Input Formats:

  • .dta — Stata dataset (load via pystata or pandas + pyreadstat)
  • .csv — Panel / cross-sectional data
  • Stata log (.smcl / .log) — Regression output to parse
  • Python objects — Results from statsmodels, linearmodels, econml

Initial Data Checks:

  • Sample dimensions: N units, T periods, total observations
  • Panel structure: balanced vs. unbalanced, attrition pattern
  • Missing values: which variables, which groups/periods
  • Treatment/control proportions and overlap

Step 2: Identification Assumption Checks

Always validate before reporting main results.

DID / Event Study
  • Pre-trend test: plot event-study coefficients for periods t = −k to t = −1; all should be statistically indistinguishable from zero
  • Parallel trends visual: plot raw outcome trends for treated and control groups pre-treatment
  • Anticipation effects: inspect t = −1 and t = −2 coefficients
  • Callaway-Sant'Anna / Sun-Abraham for staggered treatment: check for heterogeneity-robust estimates
Instrumental Variables
  • First stage F-statistic: report Kleibergen-Paap (clustered) F, not Cragg-Donald; Stock-Yogo critical values
  • Weak instrument: F > 10 as rule of thumb; F > 104.7 for 5% size distortion (Stock-Yogo)
  • Exclusion restriction: theoretical argument + placebo outcome test
  • Endogeneity test: Hausman test (if OLS and IV differ significantly, report both)
RDD
  • Density continuity: McCrary (2008) test; plot histogram around cutoff
  • Covariate balance: run RDD on pre-determined covariates (should be ≈ 0)
  • Optimal bandwidth: IK (2012) or CCT (2014); report results across multiple bandwidths
  • Donut-hole robustness: exclude observations very close to cutoff
Synthetic Control
  • Pre-period fit: MSPE ratio (treated vs. donor pool); target < 2
  • Placebo in-space: run SC for each donor unit; treated effect should be an outlier
  • Placebo in-time: use an artificial earlier treatment date; effect should be near zero
  • Leave-one-out: drop each donor and re-run; check stability

See references/identification-checklist.md for detailed protocols and code snippets.


Step 3: Main Results

Regression Table Standards (social science journals):

ElementRequirement
Standard errorsClustered at appropriate level (state, county, individual); heteroskedasticity-robust as minimum
Significance markers†p<0.10, *p<0.05, **p<0.01, ***p<0.001 (or journal-specific)
Fixed effects rowsInclude "Unit FE ✓", "Time FE ✓" rows at bottom
Sample infoN (observations), N_clusters if clustered
Model fitR² (within R² for FE models), first-stage F for IV

Recommended Column Progression:

(1) OLS / Baseline
(2) Main specification (DID / IV / RDD)
(3) + Controls
(4) Alternative clustering
(5) Alternative fixed effects / specification

Effect Size Interpretation:

  • Raw coefficient + percentage of outcome mean (e.g., "0.23 SD increase, or 14% of the sample mean")
  • For log outcomes: elasticity ("a 10% increase in X → Y% change in outcome")
  • For binary outcomes: marginal effects at the mean alongside LPM/logit

Step 4: Robustness Checks

Standard Robustness Battery:

CheckDescription
Alternative window/bandwidth±50%, ±200% of main specification
Different control setsNo controls → parsimonious → saturated
Alternative outcome definitionsDifferent measurement, normalization
Alternative clustering levelOne level up / down
Wild bootstrapFor small N_cluster (< 50)
Placebo treatmentAssign treatment to untreated units
Placebo outcomeTest on predetermined variable
Subgroup analysisKey heterogeneity dimensions
Balanced panelRestrict to always-observed units

Present robustness as a coefficient plot across specifications (point estimate + 95% CI per column), or a robustness table in the appendix.


Step 5: Visualization

Event Study / Coefficient Plot:

  • Point estimates + 95% CI for each event-time period
  • Reference line at zero; vertical dashed line at treatment date
  • Pre-period serves as visual identification test
  • Use matplotlib + pandas or plotnine (ggplot2 equivalent)

Coefficient Plot (across specifications):

  • One row per specification, all on same scale
  • Ordered by model complexity or specification dimension

RD Plot:

  • Binned scatter with local polynomial fit on each side of cutoff
  • Confidence band around polynomial
  • Raw scatter as background (lighter color)

Binned Scatter:

  • For non-parametric relationship visualization
  • Residualize on controls / FE before binning

Publication Standards:

  • Vector format (PDF preferred for journals)
  • Colorblind-safe palette (Okabe-Ito or similar)
  • Font size ≥ 10pt
  • Axis labels in plain English (not variable names like ln_gdppc)
  • Caption must be self-contained

See references/visualization-guide.md for Python/Stata code templates.


Step 6: Writing the Empirical Results Section

Social Science Results Structure:

markdown
## [N]. Empirical Results

### [N.1] Main Results
[Lead with headline number and substantive significance]
[Table X presents the main results. Column (1) shows... Column (2) adds...]
[Interpret magnitude: "a one-standard-deviation increase in X is associated with a Y-unit / Z% change in outcome"]

### [N.2] Identification Tests
[Pre-trend test: "Figure X plots event-study coefficients... none of the pre-treatment coefficients are statistically distinguishable from zero"]
[First stage: "The Kleibergen-Paap F-statistic is XX, exceeding the Stock-Yogo critical value"]

### [N.3] Robustness
[Brief summary: "These results are robust to..."; point to Appendix Table X]

### [N.4] Heterogeneity / Mechanisms
[Which subgroups show larger/smaller effects and why — connect to theory]

Writing Principles:

  • Lead with substantive significance ("equivalent to 0.3 years of average wage growth"), not just stars
  • Always interpret magnitudes in context
  • Explicitly link identification evidence back to the causal claim
  • Acknowledge limitations honestly; reviewers will raise them anyway

See references/results-writing-guide.md for journal-specific style guidance.


Step 7: Quality Checklist

  • Identification assumptions explicitly tested and reported
  • Standard errors clustered at correct level (justified in text)
  • Regression table includes N, FE indicators, clustering info
  • Effect sizes interpreted in substantive terms (not just "significant")
  • Pre-trend / first-stage F / density test results reported
  • At least 3 robustness specifications
  • Figures are vector format, colorblind-safe, self-contained captions
  • Results section connects back to theoretical motivation

Integration with Paper Writing

Causal analysis complete (Stata / Python)
    ↓
results-analysis: validate assumptions, generate tables/figures
    ↓
ml-paper-writing: integrate into full paper structure
    ↓
Complete Empirical Results section

This skill handles:

  • Assumption validation and reporting
  • Regression tables (LaTeX)
  • Visualization (event study, coefficient plots, RD plots)
  • Results section drafting

ml-paper-writing handles:

  • Full paper structure (Introduction, Theory, Data, Conclusion)
  • Citation formatting
  • Journal submission requirements

Reference Resources

  • references/identification-checklist.md — DID/IV/RDD/SC assumption testing with code
  • references/visualization-guide.md — Python + Stata code templates for coefficient plots, event studies
  • references/results-writing-guide.md — Results section writing standards for APSR/AJPS/AER/QJE
  • references/statistical-methods.md — Statistical tests reference (clustered SE, wild bootstrap, etc.)

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Results Analysis?

This skill should be used when the user asks to "analyze empirical results", "generate results section", "interpret regression output", "create regression tables", "visualize DID results", "plot event study", "check pre-trends", "first stage F-statistic", "run robustness checks", "interpret causal estimates", or mentions connecting empirical analysis to social science paper writing. Covers DID, IV, RDD, and Synthetic Control designs.

Firwat Results Analysis op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Results Analysis besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Results Analysis an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/HaipingXu/social-science-claude-scholar/tree/main/skills/results-analysis an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Results Analysis benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Results Analysis benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Results Analysis domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Results Analysis gratis?

HaipingXu huet de Skill op GitHub publizéiert. Kuckt am Repository no de Lizenzbedéngungen. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇