data-analysis

Perform end-to-end social science data analysis with Python and Stata.

21|4|Updated Mar 14, 2026
One-click install
npx skills add https://github.com/HaipingXu/social-science-claude-scholar --skill data-analysis-haipingxu
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: data-analysis
Source: https://github.com/HaipingXu/social-science-claude-scholar/tree/main/skills/data-analysis
Command: npx skills add https://github.com/HaipingXu/social-science-claude-scholar --skill data-analysis-haipingxu

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill streamlines the entire data analysis process for social science research, from initial data loading and exploration to generating publication-ready tables and figures.

Core Features & Use Cases

  • End-to-End Workflow: Handles data loading, exploratory analysis, regression modeling (Python/Stata), and output generation.
  • Publication-Ready Output: Produces clean tables and figures suitable for academic papers.
  • Specialized Methods: Supports common social science methods like panel data analysis, DID, IV, and RDD.
  • Use Case: Analyze a new dataset to produce regression tables and event study plots for a research paper.

Quick Start

Use the data-analysis skill to perform an end-to-end analysis of the dataset located at 'data/my_data.csv', regressing 'y' on 'x' with appropriate fixed effects and outputting tables to 'output/tables/'.

Frequently Asked Questions about data-analysis

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

FAQPage Schema
How do I run end-to-end data analysis and generate publication-ready tables for social science research?

End-to-end data analysis for social science research is performed using Python and Stata to load data, run regressions, and export publication-ready tables and figures. It handles the entire workflow from exploratory analysis to final output generation.

Can I do DID, IV, and RDD regression analysis with panel data using this approach?

Yes, DID, IV, and RDD regression analysis with panel data are fully supported. The workflow executes these specialized social science methods using either Python or Stata and outputs formatted results suitable for academic publication.

What's the best way to automate regression table formatting and event study plots for an academic paper?

Automating regression table formatting and event study plots is handled by the workflow's output generation phase, which produces clean, publication-ready figures and tables directly from your regression results for academic papers.

Does the data analysis workflow require both Python and Stata, or can I use just one?

The data analysis workflow supports both Python and Stata for regression modeling and specialized methods. You can leverage either environment based on your coding standards to perform the analysis and generate the required outputs.

How do I load a CSV dataset and run a regression with fixed effects for a research paper?

To load a CSV dataset and run a regression with fixed effects, you specify the dataset path, dependent and independent variables, and desired fixed effects. The workflow executes the analysis and saves the resulting tables to your designated output directory.