Skill / SKILL.md

Power Analysis

pedrohcgs/claude-code-my-workflow

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", or when /preregister needs a power section for an experiment. Produces a power/MDE table, power curves, and a methods paragraph to paste into a preregistration.
2 views 1,745 repository stars 0 commentsUpdated Nov 27, 2026
Overview

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", or when /preregister needs a power section for an experiment. Produces a power/MDE table, power curves, and a methods paragraph to paste into a preregistration.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/pedrohcgs/claude-code-my-workflow' skill-source

Use the complete skill-source/.agents/skills/power-analysis directory with your client’s skill installer.

  • .agents/skills/power-analysis

    main · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory .agents/skills/power-analysis

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
561c3c260786b1b8c6473feeb237e2545f3b7733e2cf41a13fc9edcf1a7f9c7b
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills