pipeline
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
E1-Quantitative Analysis Guide with Code Generation & Sensitivity Analysis VS-Enhanced with Full 5-Phase process: Avoids obvious analyses, explores innovative methodologies Expanded to include qualitative analysis (thematic, grounded theory, content, narrative) Absorbed E4
Claude Code
$ npx -y skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill e1 --agent claude-code
Codex
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill e1 -a codex -y
Cursor
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill e1 -a cursor -y
Gemini CLI
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill e1 -a gemini-cli -y
GitHub Copilot
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill e1 -a github-copilot -y
OpenCode
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill e1 -a opencode -y
Windsurf
$ npx skills add brycewang-stanford/Auto-Empirical-Research-Skills --skill e1 -a windsurf -y
name: e1 description: | E1-Quantitative Analysis Guide with Code Generation & Sensitivity Analysis VS-Enhanced with Full 5-Phase process: Avoids obvious analyses, explores innovative methodologies Expanded to include qualitative analysis (thematic, grounded theory, content, narrative) Absorbed E4 (Analysis Code Generator) and E5 (Sensitivity Analysis - Primary Study) capabilities Use when: selecting statistical/qualitative methods, interpreting results, checking assumptions, generating code, sensitivity analysis Triggers: statistical analysis, ANOVA, regression, t-test, power analysis, assumption checking, effect size, thematic analysis, grounded theory, content analysis, narrative analysis, NVivo, ATLAS.ti, coding, qualitative data, R code, Python code, SPSS syntax, sensitivity analysis, robustness check version: "12.0.1"
`diverga_check_prerequisites("e1")` → must return `approved: true` If not approved → AskUserQuestion for each missing checkpoint (see `.claude/references/checkpoint-templates.md`)
Read `.research/decision-log.yaml` directly to verify prerequisites. Conversation history is last resort.
---
**Agent ID**: E1 (formerly 10) **Category**: E - Publication & Communication (Analysis Methods) **VS Level**: Full (5-Phase) **Tier**: Flagship **Icon**: 📈📊
Comprehensive guide for both **quantitative** and **qualitative** analysis methods appropriate for research design and data characteristics. Applies **VS-Research methodology** to avoid monotonous analyses like "recommend t-test" or "just do thematic analysis," presenting methodological diversity optimized for research questions across paradigms.
Must collect before VS application:
Required Context: - research_question: "Relationship/difference to analyze" - independent_variable: "Type (continuous/categorical), number of levels" - dependent_variable: "Type (continuous/categorical), number of levels" - design: "Independent/Repeated/Mixed" Optional Context: - control_variables: "Covariate list" - sample_size: "Current or expected N" - target_journal: "Target journal level"
**Purpose**: Explicitly identify the most predictable "obvious" analysis methods
## Phase 1: Modal Analysis Method Identification ⚠️ **Modal Warning**: The following are the most commonly used analyses for this design: | Modal Method | T-Score | Usage Rate | Limitation | |--------------|---------|------------|------------| | [Method1] | 0.92 | 60%+ | [Limitation] | | [Method2] | 0.88 | 25%+ | [Limitation] | ➡️ Confirming if this is optimal and exploring more suitable alternatives.
**Purpose**: Present alternatives at 3 levels based on T-Score
## Phase 2: Long-Tail Analysis Method Sampling **Direction A** (T ≈ 0.7): Standard but enhanced analysis - [Method]: [Description] - Advantages: Familiar to reviewers, slight improvements - Suitable for: Conservative journals **Direction B** (T ≈ 0.45): Modern alternatives - [Method]: [Description] - Advantages: Methodological contribution, more accurate inference - Suitable for: Methodology-oriented journals **Direction C** (T < 0.3): Innovative approaches - [Method]: [Description] - Advantages: Latest methodology, high differentiation - Suitable for: Top-tier journals
**Purpose**: Select method most appropriate for research question and data
Selection Criteria: 1. **Statistical Fit**: Assumption satisfaction, data characteristics 2. **Research Question Alignment**: Optimal for hypothesis testing 3. **Methodological Contribution**: Differentiation potential 4. **Feasibility**: Software, expertise
**Purpose**: Provide specific guidance for selected analysis method
## Phase 4: Analysis Execution Guide ### Primary Analysis Method [Specific guidance] ### Assumption Checks [Procedures and code] ### Effect Size [Calculation and interpretation]
**Purpose**: Confirm final selection is optimal for research
## Phase 5: Suitability Verification ✅ Modal Avoidance Check: - [ ] "Was basic t-test/ANOVA sufficient?" → Review complete - [ ] "Are there more suitable modern alternatives?" → Review complete - [ ] "Is methodological contribution possible?" → Confirmed ✅ Quality Check: - [ ] Statistical assumptions satisfied? → YES - [ ] Accurately answers research question? → YES - [ ] Defensible in peer review? → YES
---
T > 0.8 (Modal - Explore Alternatives): ├── Independent t-test ├── One-way ANOVA ├── OLS Regression (simple) ├── Pearson correlation └── Chi-square test T 0.5-0.8 (Established - Situational): ├── Factorial ANOVA ├── ANCOVA ├── Multiple regression ├── Hierarchical regression ├── Repeated measures ANOVA ├── Mixed ANOVA └── Traditional Meta-analysis T 0.3-0.5 (Modern - Recommended): ├── Hierarchical Linear Modeling (HLM/MLM) ├── Structural Equation Modeling (SEM) ├── Latent Growth Modeling ├── Bayesian regression ├── Mixed-effects models ├── Meta-Analytic SEM (MASEM) ├── Propensity Score Matching └── Robust methods (bootstrapping) T < 0.3 (Innovative - For Top-tier): ├── Bayesian methods (full) ├── Causal inference (IV, RDD, DiD) ├── Machine Learning + inference (SHAP, causal forests) ├── Network analysis ├── Computational modeling └── Novel hybrid methods (Double ML, Targeted learning)
T > 0.8 (Modal - Explore Alternatives): ├── Gen
## 🔥 力荐 · StatsPAI — Stata 与 R 的 Python 平替,为 AI Agent 而生 🔁 Stata / R 平替:reghdfe、csdid、rdrobust、synth、fixest、did 等常用命令在 Python 中一站式替代,一个 import statspai as sp 搞定 DID / RD / IV / SCM / DML / matching 🤖 面向 Agent 设计:结构化结果对象 + 内置 MCP Server,Claude / Codex
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Use when the user asks to run a full empirical / causal analysis in Python — by default in the style of an applied economics…
Classical end-to-end empirical analysis workflow in the traditional Python econometric stack — pandas + numpy + scipy +…
Classical end-to-end empirical analysis workflow in the traditional Stata ecosystem — native Stata + reghdfe + ivreg2 + csdid +…
Classical end-to-end empirical analysis workflow in the modern tidyverse + econometrics R ecosystem — dplyr + tidyr + haven +…
Systematic writing framework for philosophy and interdisciplinary academic papers from optimized outline to submission-ready…
Direct browser control via CDP for web interaction: automation, scraping, testing, screenshots, and site/app work. Also covers…
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling…