شعار Results Analysis

Results Analysis

المجتمع
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.

نظرة عامة

الناشرHaipingXu
المستودعsocial-science-claude-scholar
اسم المهارةresults-analysis
النجوم
26
التفريعات
5
الملفات المرفقة
7
الروابط
  • تعليمات بصيغة Markdown

    ملف SKILL.md يُحمّله النموذج عند الحاجة، فلا يستهلك توكنات إلا عندما يَرِد طلب ذو صلة فعلًا.

  • تعمل مع أي نموذج لغوي كبير

    مهارات الذكاء الاصطناعي مكتوبة بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا تعمل مع GPT أو Claude أو Gemini أو Grok أو نموذج محلي.

  • الملفات المرفقة: 7

    نصوص برمجية وقوالب ومراجع يمكن للنموذج قراءتها أثناء عمله. الملفات للقراءة فقط ولا تُنفّذ أبدًا.

  • مفتوحة المصدر

    نشرها HaipingXu على GitHub. اطّلع على المصدر قبل تثبيتها.

التثبيت

ثبّت مهارة الذكاء الاصطناعي Results Analysis في TypingMind لاستخدامها مع أي نموذج لغوي كبير، أو أضفها إلى وكيل ذكاء اصطناعي آخر يقرأ SKILL.md.

1

التثبيت في TypingMind

يُثبّت TypingMind المهارة مباشرةً من مجلدها على GitHub — فيقرأ SKILL.md، ويجمع ملفات الموارد في حزمة، ويحفظ النتيجة محليًا.

  1. افتح التطبيق وانتقل إلى «الإضافات» ثم «المهارات».
  2. اختر «تثبيت من GitHub».
  3. الصق رابط مجلد المهارة الموضّح أدناه وأكّد التثبيت.
    https://github.com/HaipingXu/social-science-claude-scholar/tree/main/skills/results-analysis
  4. فعّل المهارة في كل محادثة تريد إتاحتها فيها.
الإضافات ← المهارات ← إضافة مهارة ← من رابط GitHub، ثم الصق رابط المجلد واضغط على «متابعة».
2

التثبيت في وكيل ذكاء اصطناعي آخر

يمكن لأي وكيل ذكاء اصطناعي يقرأ تنسيق Agent Skills استخدام هذه المهارة — انسخ المجلد إلى مجلد المهارات الخاص بذلك الوكيل.

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
أعد تشغيل Claude Code بعد النسخ ليتعرّف على المهارة الجديدة.

استخدمها في TypingMind

فعّل Results Analysis في أي محادثة على TypingMind وسيتولى النموذج الباقي. تتضمن مطالبة النظام اسمها ووصفها، وبمجرد ورود طلب ذي صلة، يُحمّل النموذج التعليمات الكاملة تلقائيًا — فلا تحتاج إلى استدعائها يدويًا، ولا تستهلك أي توكنات حتى تُستخدم فعليًا.

يُحمّل النموذج مهارة Results Analysis تلقائيًا بمجرد ورود طلب ذي صلة بها.

تعمل مع أي نموذج ذكاء اصطناعي

مهارات الذكاء الاصطناعي هي تعليمات بصيغة Markdown وليست شيفرة خاصة بمزوّد معيّن، لذا لا ترتبط Results Analysis بالنموذج الذي كُتبت له. ثبّتها مرة واحدة في TypingMind واستخدمها مع GPT-5 أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو نموذج محلي تشغّله بنفسك — كل ذلك باستخدام مفاتيح API الخاصة بك.

  • تُحمَّل عند الحاجة فقط

    تتضمن مطالبة النظام الاسم والوصف فقط. وتُجلب التعليمات عند أول طلب ذي صلة، لذا لا تستهلك تعليمات المهارة أي توكنات ما دامت المهارة غير مستخدمة.

  • بدّل النماذج أثناء المحادثة

    لأن المهارة تعليمات وليست شيفرة، فإن تغيير النموذج لا يعطّلها — فالنموذج التالي يقرأ ملف SKILL.md نفسه.

تعليمات المهارة

هذا هو محتوى SKILL.md الذي يُحمّله النموذج. اقرأه قبل التثبيت — فالمهارة عبارة عن تعليمات سيتبعها نموذجك.

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.)

الملفات المرفقة

يقرأ النموذج هذه الملفات عند الحاجة ما دامت المهارة محمّلة. وهي متاحة للقراءة ولا تُنفّذ أبدًا.

الأسئلة الشائعة

ماذا تفعل مهارة الذكاء الاصطناعي 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.

لماذا تستخدم Results Analysis على TypingMind؟

لأنك تثبّتها مرة واحدة وتستخدمها مع أي نموذج. مهارة Results Analysis عبارة عن نص Markdown وليست شيفرة خاصة بمزود بعينه، لذا تعمل المهارة نفسها مع GPT-5 أو Claude أو Gemini أو Grok أو نموذج محلي، ويمكنك تبديل النموذج أثناء المحادثة دون تعطّل المهارة. يعمل TypingMind بمفاتيح API الخاصة بك، فتدفع للمزودين مباشرةً بدلًا من اشتراك لكل مقعد، وتبقى مهاراتك ومحادثاتك في مساحة التخزين الخاصة بك.

كيف أثبّت Results Analysis في TypingMind؟

في TypingMind، افتح «الإضافات»، ثم «المهارات»، ثم اختر «التثبيت من GitHub» والصق https://github.com/HaipingXu/social-science-claude-scholar/tree/main/skills/results-analysis. يقرأ TypingMind ملف SKILL.md الخاص بالمهارة، ويجمع ملفاتها ويثبّتها كمهارة يمكنك تفعيلها لكل محادثة على حدة.

ما نماذج الذكاء الاصطناعي التي يمكنها استخدام Results Analysis؟

أي نموذج تربطه في TypingMind. مهارات الذكاء الاصطناعي عبارة عن تعليمات Markdown وليست شيفرة خاصة بمزود بعينه، لذا يمكن لكل من GPT وClaude وGemini وGrok والنماذج المحلية تحميل هذه المهارة عندما يتوافق الطلب معها.

كم نموذج ذكاء اصطناعي يمكنني استخدامه مع Results Analysis؟

أي عدد تريده. ما دام النموذج يدعم المهارات، يمكنك استخدام Results Analysis معه، سواء كان GPT أو Claude أو Gemini أو Grok أو DeepSeek أو Mistral أو Llama أو غيرها، وكل ذلك على TypingMind باستخدام مفاتيح API الخاصة بك.

هل مهارة الذكاء الاصطناعي Results Analysis مجانية؟

نشرها HaipingXu على GitHub. راجع المستودع للاطلاع على شروط الترخيص. لا تدفع إلا لمزود الذكاء الاصطناعي الخاص بك مقابل التوكنات التي تستخدمها.

ما هي مهارات الذكاء الاصطناعي؟

مهارة الذكاء الاصطناعي حزمة تعليمات قابلة لإعادة الاستخدام تعلّم نموذج الذكاء الاصطناعي كيفية تنفيذ مهمة محددة. وتتبع تنسيق Agent Skills المفتوح: ملف SKILL.md يتضمن اسمًا ووصفًا، إلى جانب أي نصوص برمجية أو قوالب أو ملفات مرجعية قد يحتاج إليها النموذج. لا يقرأ النموذج التعليمات إلا عندما يتوافق طلبك مع المهارة، لذا لا تترتب على المهارة المثبتة أي تكلفة حتى تُستخدم.

كيف تختلف مهارات الذكاء الاصطناعي عن الإضافات أو موصلات MCP؟

تمنح الإضافة أو موصل MCP النموذج أدوات جديدة يمكنه استدعاؤها، وهي شيفرة تُنفَّذ في مكان ما وتُرجع نتيجة. أما مهارة الذكاء الاصطناعي فتزوّد النموذج بالمعرفة ومنهجية العمل: كيفية التعامل مع مهمة، والخطوات التي ينبغي اتباعها، وما ينبغي أن تكون عليه المخرجات الجيدة. المهارات عبارة عن نصوص Markdown، لذا لا تحتاج إلى خادم أو مفتاح API أو بيئة تشغيل، وتعمل مع أي نموذج.

عرض الكل

أنشئ مساحة عملك للذكاء الاصطناعي الآن

اشترك في نشرتنا الإخبارية لتصلك أخبار الميزات الجديدة والهدايا القادمة 👇