clinical-trial-ipd-sim

Official

Generate synthetic IPD for clinical trials with causal-DAG simulation

AuthorRConsortium
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill addresses the challenge of generating synthetic individual patient data (IPD) for clinical trials, ensuring that the simulated data aligns with published trial results while maintaining an explicit causal structure.

Core Features & Use Cases

  • Causal-DAG Simulation: Utilizes a g-formula causal-DAG simulator to generate IPD that matches both marginal statistics and joint distributions of the trial results.
  • SDTM/ADaM Derivations: Produces SDTM-style CRFs and ADaM analysis datasets following CDISC standards for data exchange and analysis.
  • Use Case: When a user provides an NCT ID and wants to simulate IPD for a trial with published results and a protocol document, this skill can generate synthetic data for analysis and modeling.

Quick Start

Run the clinical-trial-ipd-sim skill on an NCT ID (e.g., NCT04035486) to generate synthetic IPD, CRFs, and SDTM/ADaM datasets.

Dependency Matrix

Required Modules

renvdplyrtidyrpurrrreadrtibblelubridatestringrrlangsurvivalflexsurvbroomjsonlitesdtm.oakadmiralhaventidytlgxportrdatasetjson

Components

scriptsreferencesassets

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: clinical-trial-ipd-sim
Download link: https://github.com/RConsortium/pharma-skills/archive/main.zip#clinical-trial-ipd-sim

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 620,000+ vetted skills library on demand.