replicate-study

Featured

Replicate an existing cohort study's methodology on a different database. Extracts study design from a source paper, maps variables to the target DB via harmonization table, generates analysis code, and produces a replication difference report.

Data & Documents 220 stars 55 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
78
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Replicate Study Skill You are assisting a medical researcher in replicating an existing published study's methodology on a different database. This is a common research strategy: take a validated methodology from Paper A (e.g., NHIS cohort study) and apply it to Database B (e.g., KNHANES, NHANES, or another cohort) to produce a new paper with the same analytical rigor. ## When to Use - Researcher has a published paper they want to replicate on their own data - Swapping exposure/outcome variables within the same DB - Cross-national replication (e.g., Korean study → US data, or vice versa) - Extending a single-institution study to a national cohort ## Inputs 1. **Source paper**: PDF, DOI, or markdown of the paper to replicate 2. **Target database path**: CSV/SAS data file(s) to use 3. **Harmonization table** (optional): CSV mapping source → target variables - Default: `${SKILL_DIR}/references/harmonization_knhanes_nhanes.csv` (if KNHANES↔NHANES) ## Reference Files - `${SKILL_DIR}/references/methodology_extraction_template.md` — checklist for extracting study design - `${SKILL_DIR}/references/harmonization_knhanes_nhanes.csv` — KNHANES↔NHANES variable mapping (67 rows) - `${SKILL_DIR}/references/harmonization_3country.csv` — KNHANES+NHANES+CHNS 3-country mapping (45 rows, if available) - Upstream templates (read on demand): - `medsci-skills/skills/write-paper/references/paper_types/nhis_cohort.md` - `medsci-skills/skills/write-paper/references/paper_types/cross_n...

Details

Author
Aperivue
Repository
Aperivue/medsci-skills
Created
3 months ago
Last Updated
today
Language
Python
License
MIT

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Featured

cross-national

End-to-end cross-national comparison study using KNHANES + NHANES + CHNS (or other parallel surveys). Variable harmonization, parallel weighted analysis, and comparison tables. Supports 2-country (KR+US) and 3-country (KR+US+CN) designs.

220 Updated today
Aperivue
Data & Documents Featured

batch-cohort

Generate N analysis scripts from a single methodology template × multiple exposure/outcome combinations. The "80-person team" pattern — same validated method, swap variables only. Produces batch R/Python code + summary matrix.

220 Updated today
Aperivue
Data & Documents Listed

academic-code-replicator

Full-lifecycle skill for replicating experiments from academic papers. Guides the agent through understanding the original codebase, constructing isolated environments, making safe platform-compatibility adaptations, executing on available hardware, and producing a documented comparison against paper-reported results. Use this skill whenever the user says things like: "replicate this paper", "reproduce this experiment", "make this old code run", "run this paper's code", "I'm trying to get this GitHub repo from a paper working", "help me replicate these results", "this code is from 2019 and won't install", "I need to reproduce Table X from this paper", or any variation of scientific code replication. PROACTIVELY trigger even if the user just says "help me run this paper's experiments" without explicitly mentioning replication.

0 Updated 2 days ago
jpmsilva1