Skill / SKILL.md

Power Calculations

dariia-m/my_claude_skills

Power, minimum detectable effect (MDE) and sample-size calculations in R for randomized experiments and survey experiments - two-arm and multi-arm designs with a shared control, ANCOVA vs change-score vs post-only, binary outcomes, within-subject differences, interactions/heterogeneity, clustered assignment, attrition and exclusions, and multiple-testing adjustment (per-test, Bonferroni bound, Holm/Romano-Wolf). Combines closed-form MDEs with Monte Carlo simulation of the exact pre-registered regression, including size checks. Use whenever the user asks for power calculations, an MDE table, "how many respondents do we need", "is N big enough", "what effect can we detect", power for a PAP or grant, or wants to check/redo an existing power analysis (including translating Stata power .do files to R).
2 views 37 repository stars 0 commentsUpdated Nov 28, 2026
Overview

Power, minimum detectable effect (MDE) and sample-size calculations in R for randomized experiments and survey experiments - two-arm and multi-arm designs with a shared control, ANCOVA vs change-score vs post-only, binary outcomes, within-subject differences, interactions/heterogeneity, clustered assignment, attrition and exclusions, and multiple-testing adjustment (per-test, Bonferroni bound, Holm/Romano-Wolf). Combines closed-form MDEs with Monte Carlo simulation of the exact pre-registered regression, including size checks. Use whenever the user asks for power calculations, an MDE table, "how many respondents do we need", "is N big enough", "what effect can we detect", power for a PAP or grant, or wants to check/redo an existing power analysis (including translating Stata power .do files to R).

Installation & variants

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

git clone -- 'https://github.com/dariia-m/my_claude_skills' skill-source

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

Source directory power-calculations

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
1d1af0bbf0fdc97a89fe9548bb404a2c9ef93bb502e8d29aaea9d49412c87f9f
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills