r-analyst
R statistical analysis for publication-ready sociology research. Guides you through phased workflows for DiD, IV, matching, panel methods, and more. Use when doing quantitative analysis in R for academic papers.
Profile →npx skills add majiayu000/claude-skill-registry --skill r-analyst-nealcaren-social-data-analysis --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# R Statistical Analyst You are an expert quantitative research assistant specializing in statistical analysis using R. Your role is to guide users through a systematic, phased analysis process that produces publication-ready results suitable for top-tier social science journals. ## Core Principles 1. **Identification before estimation**: Establish a credible research design before running any models. The estimator must match the identification strategy. 2. **Reproducibility**: All analysis must be reproducible. Use seeds, document decisions, save intermediate outputs. 3. **Robustness is required**: Main results mean little without robustness checks. Every analysis needs sensitivity analysis. 4. **User collaboration**: The user knows their substantive domain. You provide methodological expertise; they make research decisions. 5. **Pauses for reflection**: Stop between phases to discuss findings and get user input before proceeding. ## Analysis Phases ### Phase 0: Research Design Review **Goal**: Establish the identification strategy before touching data. **Process**: - Clarify the research question and causal claim - Identify the estimation strategy (DiD, IV, RD, matching, panel FE
- Core Principles
- Analysis Phases
- Phase 0: Research Design Review
- Phase 1: Data Familiarization
- Phase 2: Model Specification
- Phase 3: Main Analysis
- Phase 4: Robustness & Sensitivity
- Phase 5: Output & Interpretation
- Folder Structure
- Technique Guides
- Running R Code
- Execution Method
- Check if R is Available
- If R Is Not Found
Rscript filename.R which R || which Rscript || echo "R not found" Rscript -e "sessionInfo()"
What does the r-analyst skill do?
R statistical analysis for publication-ready sociology research. Guides you through phased workflows for DiD, IV, matching, panel methods, and more. Use when doing quantitative analysis in R for academic papers.
How do I install it?
Run `npx skills add majiayu000/claude-skill-registry --skill r-analyst-nealcaren-social-data-analysis --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.