r-analyst

Guide phased R statistical analysis from research design to publication-ready output.

203|27|Updated Apr 19, 2026
One-click install
npx skills add https://github.com/franklee16/academic-research-skills --skill r-analyst-franklee16
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: r-analyst
Source: https://github.com/franklee16/academic-research-skills/tree/main/data-analysis/r-analyst
Command: npx skills add https://github.com/franklee16/academic-research-skills --skill r-analyst-franklee16

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill helps you avoid ad-hoc or poorly justified econometric/modeling choices by guiding you through a structured, phased statistical analysis workflow in R for publication-quality social science research.

Core Features & Use Cases

  • Phase-based workflow with decision pauses: Uses a deliberate sequence (design review → data familiarization → specification → main results → robustness → output) with explicit checkpoints for user confirmation.
  • Method coverage for common causal/statistical designs: Supports typical quantitative strategies such as DiD, IV, matching, panel methods, event studies, RD, and more, including robustness/sensitivity planning.
  • Publication-ready deliverables: Produces tables/figures and narrative-ready interpretation plans, including robustness tables and sensitivity assessments.

Quick Start

Start the workflow by telling the Skill your research question, outcome variable, unit structure (cross-section/panel), and the identification strategy you want to use.

Frequently Asked Questions about r-analyst

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure an R statistical analysis for causal inference?

To structure causal inference in R, follow a phased workflow: research design, data familiarization, specification, estimation, robustness, and publication-ready output. This ensures defensible econometric choices for strategies like DiD or IV.

How do I run robustness checks and sensitivity tests for panel data in R?

Run robustness checks for panel data by applying method-appropriate sensitivity tests and clustered standard error considerations during the estimation phase. This produces robust tables ready for publication in quantitative research.

Can I generate publication-ready tables for instrumental variables and event studies in R?

Yes, you can generate publication-ready tables for instrumental variables and event studies by completing the phased R analysis workflow. It outputs narrative-ready interpretation plans and formatted robustness tables for social science papers.

What is the best way to plan identification assumptions before estimating a DiD model in R?

The best way to plan identification assumptions for a DiD model is to start with a design review phase. Explicitly define your research question, unit structure, and identification strategy before moving to data inspection and model specification.

Do I need to manually specify clustered standard errors for matching methods in R?

You must account for clustered standard error considerations as part of the structured workflow. The phased approach ensures you apply method-appropriate robustness and sensitivity checks to matching, panel fixed effects, and related strategies.

Why does my R econometric workflow lack reproducibility for publication?

Your R econometric workflow lacks reproducibility if it skips phased planning and explicit checkpoints. Structuring analysis from design through robustness ensures defensible, paper-ready results with method-appropriate sensitivity checks.