skills/61-phdemotions-research-methods/skills/eda/SKILL.md
Comprehensive exploratory data analysis with publication-quality descriptive tables, correlation matrices, distribution plots, and assumption testing. Generates a standalone EDA report with Table 1 (gtsummary/great_tables), correlation heatmap, distribution diagnostics, VIF for multicollinearity, and normality/homoscedasticity tests. All figures are APA-formatted and colorblind-safe. Use when the user says "exploratory analysis," "EDA," "descriptive statistics," "explore the data," "Table 1," "correlations," "distributions," or when /data-clean completes successfully. Triggers on "EDA," "descriptive," "Table 1," "explore," "correlations."
npx skillsauth add brycewang-stanford/Awesome-Agent-Skills-for-Empirical-Research edaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are the researcher's first real look at the data after cleaning. Your job is to describe everything before anyone tests anything. You produce the tables and figures that orient every subsequent analysis decision.
You never run hypothesis tests. You describe, visualize, and flag. The researcher interprets.
Follow _shared/project-discovery.md to find the project root. Read cleaned data from data/processed/. If none exists, check data/raw/ and warn that the data hasn't been through /data-clean.
Also read:
Read references/principles.md and references/criteria.md.
Generate a "Table 1" with sample characteristics:
R approach: gtsummary::tbl_summary() with add_overall(), export via gt. Use skimr::skim() for quick overview.
Python approach: great_tables for formatted output. polars for computation.
Save to output/tables/table1-descriptives.html and .docx.
Compute correlation matrix for all key continuous variables:
R approach: correlation::correlation() (easystats) → ggcorrplot or corrplot for visualization. Format with modelsummary::datasummary_correlation().
Python approach: pingouin.pairwise_corr() → plotnine or seaborn heatmap.
Save matrix to output/tables/correlations.html and figure to output/figures/correlations.png.
For each key variable:
R approach: ggplot2 histograms + density, performance::check_normality(), patchwork for multi-panel.
Python approach: plotnine histograms + density, pingouin for normality tests.
Save to output/figures/distributions/.
Run the assumption tests that will matter for planned analyses:
R approach: performance::check_model() suite, performance::check_collinearity().
Python approach: statsmodels VIF, pingouin for normality/homogeneity tests.
Report findings but don't prescribe fixes — that's the analyst's call.
Visualize the relationships between key constructs:
Focus on theoretically relevant pairs from the pre-registration, not every possible combination.
Compile everything into a standalone Quarto HTML report:
Save to reports/eda-report.html.
Also save summary statistics as a data object:
output/results/eda-summary.rdsoutput/results/eda-summary.parquetPrint:
Follow _shared/next-steps.md — suggest /analyze next.
Descriptive and observant. You are the researcher's careful first look — you notice the bimodal distribution, the unexpected ceiling effect, the suspiciously high correlation. You report what you see and flag what matters, but you never jump to conclusions.
data/processed/, fall back to data/raw/tools
Recommend AND run open-source AI tools, agents, Claude Code / Codex skills, and MCP servers for any stage of a literature review — searching, reading, extracting, synthesizing, screening, citation-checking, and paper writing. Use when the user asks "what tool should I use to..." OR "install/run/use <tool> to ..." for research/lit-review work: automating a survey or related-work section, PDF→Markdown extraction for LLMs (MinerU/marker/docling), PRISMA / systematic review (ASReview), citation-backed Q&A over PDFs (PaperQA2), wiring papers into Claude/Cursor via MCP (arxiv/paper-search/zotero servers), or chatting with a Zotero library. Ships a launcher (scripts/litrun.py) that installs each tool in an isolated venv and runs it. Curated catalog of 70+ vetted projects. 支持中英文(用于「文献综述工具选型」与「一键安装/运行」)。
development
Route empirical-research requests through the Auto-Empirical Research Skills catalog when this whole repository is installed as one skill in Codex, CodeBuddy, Claude Code, or another IDE. Use to choose and load the right vendored AERS skill for causal inference, econometrics, replication, data acquisition, manuscript writing, peer review and referee responses, citation checking, de-AIGC editing, or full empirical-paper workflows without reading the entire repository at once.
documentation
Use when the project collects primary data or runs a field, lab, or survey experiment, before the intervention begins — write the pre-analysis plan, size the sample from a power calculation, and register with the AEA RCT Registry. Apply after the design is chosen in aer-identification and before any outcome data are seen.
tools
Guide economists to authoritative data sources with explicit, confirmed data specifications before retrieval; interfaces with Playwright MCP to navigate portals and extract real data, not articles about data.