pedrohcgs/claude-code-my-workflow/power-analysis
Compute statistical power, required sample size, and minimum detectable effect (MDE) for a study design, then write a registry-ready power section. Handles two-arm RCTs (with clustering / ICC and unequal allocation), multiple-arm corrections, and a simulation-based power option for non-standard designs (DiD/event-study, IV, panel). Use when user says "power analysis", "power calculation", "MDE", "minimum detectable effect", "how big a sample do I need", "is my study powered", "power for an RCT",
Agent skill · version 2.9.3-main.1794513599.gfe70774 · from pedrohcgs/claude-code-my-workflow
Install
npx yarkr-cli add skill:pedrohcgs/claude-code-my-workflow/power-analysisWithout Node.js, on macOS and Linux (curl or wget):
curl -fsSL https://yarkr.com/install.sh | sh -s -- add skill:pedrohcgs/claude-code-my-workflow/power-analysis
wget -qO- https://yarkr.com/install.sh | sh -s -- add skill:pedrohcgs/claude-code-my-workflow/power-analysisOn Windows, in PowerShell:
irm https://yarkr.com/install.ps1 | iex; yarkr add skill:pedrohcgs/claude-code-my-workflow/power-analysisWorks with Claude Code, Codex, opencode, Cursor, any harness over MCP.