Distribution of Cohen's d, p-values, and power curves for an independent two-tailed t-test
Participants per group:
Cohen's d effect size:
alpha, or p-value (upper limit):
The three other plots indicate power for a range of alpha levels (top right), sample sizes per group (bottom left), and effect sizes (bottom right). The bottom right figure illustrates the point that when the true effect size of a study is unknown, the power of a study is best thought of as a curve, not as a single value.
Get the code at
GitHub