Sample Size Determination and Power Analysis Using
Sample Size Determination and Power Analysis Using
Sample Size Determination and Power Analysis Using
net/publication/353583888
Sample size determination and power analysis using the G*Power software
CITATIONS READS
784 2,024
1 author:
Hyun Kang
Chung-Ang University
319 PUBLICATIONS 7,679 CITATIONS
SEE PROFILE
All content following this page was uploaded by Hyun Kang on 29 January 2022.
Appropriate sample size calculation and power analysis have become major issues in research and publication processes. However, the
complexity and difficulty of calculating sample size and power require broad statistical knowledge, there is a shortage of personnel with
programming skills, and commercial programs are often too expensive to use in practice. The review article aimed to explain the basic
concepts of sample size calculation and power analysis; the process of sample estimation; and how to calculate sample size using
G*Power software (latest ver. 3.1.9.7; Heinrich-Heine-Universität Düsseldorf, Düsseldorf, Germany) with 5 statistical examples. The
null and alternative hypothesis, effect size, power, alpha, type I error, and type II error should be described when calculating the sample
size or power. G*Power is recommended for sample size and power calculations for various statistical methods (F, t, χ2, Z, and exact
tests), because it is easy to use and free. The process of sample estimation consists of establishing research goals and hypotheses, choos-
ing appropriate statistical tests, choosing one of 5 possible power analysis methods, inputting the required variables for analysis, and se-
lecting the “calculate” button. The G*Power software supports sample size and power calculation for various statistical methods (F, t, χ2,
z, and exact tests). This software is helpful for researchers to estimate the sample size and to conduct power analysis.
known, it is not possible to interpret whether the negative results “statistical test” drop-down menu. This can also be carried out by
are due to possibility (1) or possibility (2). Thus, it is important selecting the variable (correlation and regression, means, propor-
to consider power when planning studies. tions, variance, and generic) and the study design for which sta-
tistical tests are performed from the test menu located at the top
Process of sample size calculation and of the screen and sub-menu.
power analysis
Third, choose 1 of 5 possible power analysis methods
In many cases, the process of sample size calculation and pow- This choice can be made by considering the variables to be cal-
er analysis is too complex and difficult for common programs to culated and the given variables. Researchers can select 1 of the 5
be feasible. To calculate sample size or perform power analysis, following types in the “type of power analysis” drop-down menu
some programs require a broad knowledge of statistics and/or (Table 2).
software programming, and other commercial programs are too An a priori analysis is a sample size calculation performed be-
expensive to use in practice. fore conducting the study and before the design and planning
To avoid the need for extensive knowledge of statistics and stage of the study; thus, it is used to calculate the sample size N,
software programming, herein, we demonstrate the process of which is necessary to determine the effect size, desired α level,
sample size and power calculation using the G*Power software, and power level (1-β). As an a priori analysis provides a method
which has a graphical user interface (GUI). The G*Power soft- for controlling type I and II errors to prove the hypothesis, it is
ware is easy to use for calculating sample size and power for vari- an ideal method of sample size and power calculation.
ous statistical methods (F, t, χ2, Z, and exact tests), and can be In contrast, a post-hoc analysis is typically conducted after the
downloaded for free at www.psycho.uni-duesseldorf.de/abteilun- completion of the study. As the sample size N is given, the power
gen/aap/gpower3. G*Power also provides effect size calculators level (1-β) is calculated using the given N, the effect size, and the
and graphics options. Sample size and power calculations using desired α level. Post-hoc power analysis is a less ideal type of sam-
G*Power are generally performed in the following order. ple size and power calculation than a priori analysis as it only
controls α, and not β. Post-hoc power analysis is criticized be-
First, establish the research goals and hypotheses cause the type II error calculated using the results of negative
The research goals and hypotheses should be elucidated. The clinical trials is always high, which sometimes leads to incorrect
null and alternative hypotheses should be presented, as discussed conclusions regarding power [13,14]. Thus, post-hoc power
above. analysis should be cautiously used for the critical evaluation of
studies with large type II errors.
Second, choose appropriate statistical tests
G*Power software provides statistical methods in these 2 ways. Fourth, input the required variables for analysis and select
the “calculate” button
Distribution-based approach In the “input parameters” area of the main window of G*Pow-
Investigators can select the distribution-based approach (exact, er, the required variables for analysis can be entered. If informa-
F, t, χ2, and z tests) using the “test family” drop-down menu. tion is available to calculate the effect size from a pilot study or a
previous study, the effect size calculator window can be opened
Design-based approach by checking the “determine→” button, and the effect size can be
Investigators can select the design-based approach using the calculated using this information.
A B C
D E F
G H
Fig. 1. Using the G*Power software for the 2-independent sample t-test. (A) Main window before a priori sample size calculation using
an effect size, (B) main window after a priori sample size calculation using an effect size, (C) main window showing the protocol for
power analyses, (D) effect size calculator window, (E) plot window, (F) main window before a priori sample size calculation not using an
effect size, (G) main window after a priori sample size calculation not using an effect size, and (H) main window before post-hoc power
analysis.
design similar to that described above. In fact, the effect size is “mean group 2,” and 2 for “SD σ group 2,” and then click the “cal-
not determined on many occasions and it is debatable whether a culate and transfer to main window” button. Then, the corre-
determined effect size can be applied when designing a study. sponding effect size “0.7844645” will be calculated automatically
Thus, when the effect size value is arbitrarily determined, we and appear in the blank space for “effect size d” in the main win-
should provide a logical rationale for the arbitrarily selected ef- dow (Fig. 1H). Because we decided to use 2-sided testing,
fect size. When the effect size is not determined, the effect size α = 0.05, and an equal sample size (n = 30) in both groups, we se-
value can only be assumed using the variables from other previ- lected “two” in the tail(s) drop-down menu, and entered 0.05 for
ous studies, pilot studies, or experiences. “α err prob,” 30 for “sample size group 1,” and 30 for “sample size
In this example, as there was no previous study comparing the group 2.” Pushing the “calculate” button will compute “power
efficacy of drug A to that of drug B, we will assume that the re- (1-β err prob)” as 0.8479274.
searchers conducted a pilot study with 10 patients in each group,
and the means and standard deviations (SDs) of the VAS for Examples 2. Dependent t-test: t-test
drug A and B were 7 ± 3 and 5 ± 2, respectively. The dependent t-test (paired t-test) is a statistical test that
In the main window, push the “determine” button; then, the compares the means of 2 dependent samples. The null hypothe-
effect size calculator window will appear (Fig. 1D). Here, there sis is that the difference between the means of dependent groups
are 2 options: “n1! = n2” and “n1 = n2.” Because we assume an is 0, and the alternative hypothesis is that the difference between
equal sample size for 2 groups, we check the “n1 = n2” box. the means of dependent groups is not equal to 0.
Since the pilot study showed that the mean and SD of the VAS
for drug A and drug B were 7 ± 3 and 5 ± 2, respectively, input 7 H0: μ1-μ2 = 0
for “mean group 1,” 3 for “SD σ group 1,” 5 for “mean group 2,” H1: μ1-μ2≠0
and 2 for “SD σ group 2,” and then click the “calculate and trans- H0: null hypothesis
fer to main window” button. H1: alternative hypothesis
Then, the corresponding effect size “0.7844645” will be auto- μ1, μ2: means of each sample from dependent groups
matically calculated and appear in the blank space for “effect size
d” in the main window (Fig. 1F). Example: a priori
As described above, we decided to use 2-sided testing, α = 0.05, Imagine a study examining the effect of a diet program on
β = 0.2, and an equal sample size in both groups. We selected weight loss. In this study, the researchers plan to enroll partici-
“two” in the “tail(s)” drop-down menu and entered 0.05 for “α err pants, weigh them, enroll them in a diet program, and weigh
prob,” 0.8 for “power (1-β err prob),” and 1 for “allocation ratio them again. The researchers want to determine the sample size
N2/N1.” Clicking the “calculate” button computes “sample size for the null hypothesis to be rejected with a 2-tailed test, α = 0.05,
group 1,” “sample size group 2,” and “total sample size” as 27, 27, and β = 0.2.
and 54, respectively, in the output parameters area (Fig. 1G).
When the effect size is determined: After opening G*Power, go
Example: post hoc to “test > means > two dependent groups (matched pairs).”
A clinical trial comparing the efficacy of 2 analgesics, drugs A In the main window, set “type of power analysis” as “a priori:
and B, was conducted. In this study, 30 patients were enrolled in compute required sample size-given α, power, and effect size”
each group, and the means and SDs of the VAS for drugs A and B (Fig. 2A). Since the researchers decided to use 2-sided testing,
were 7 ± 3 and 5 ± 2, respectively. The researchers wanted to de- α = 0.05, and β = 0.2, select “two” for the tail(s) drop-down menu,
termine the power using a 2-tailed test, α = 0.05, and β = 0.2. and input 0.05 for the blank of “α err prob” and 0.8 for the blank
After opening G*Power, go to “test > means > two independent of “power (1-β err prob).” Unlike the case for the t-test, as the
groups.” In the main window, select “type of power analysis” as number of participants is expected to be equal in the paired t-test,
“post hoc: compute achieved power-given α, sample size and ef- the blank for “allocation ratio N2/N1” is not provided. In this
fect size,” and then push the “determine” button. In the effect size case, calculate the sample size using a small effect size (0.2); thus,
calculator window, since a clinical trial was conducted with equal input 0.2 for “effect size dz.” Upon pushing the “calculate” button,
group sizes, showing that the means and SDs of the VAS for drug the total sample size will be computed as 199 in the output pa-
A and B were 7 ± 3 and 5 ± 2, respectively, check the “n1 = n2” rameter area (Fig. 2B).
box and input 7 for “mean group 1,” 3 for “SD σ group 1,” 5 for
A B C
Fig. 2. Using the G*Power software for the dependent t-test. (A) Main window before a priori sample size calculation using an effect size,
(B) main window after a priori sample size calculation using an effect size, and (C) effect size calculator window.
When the effect size is not determined: Suppose the researchers Example: post hoc
conducted a pilot study to calculate the sample size for the study Assume that a clinical trial comparing participants’ weight be-
investigating the effect of the diet program on weight loss. In this fore and after the diet program was conducted. In this study, 100
pilot study, the mean and SD before and after the diet program patients were enrolled, the means and SDs before and after the
were 66 ±12 kg and 62 ± 11 kg, respectively, and the correlation diet program were 66 ± 12 kg and 62 ± 11 kg, respectively, and
between the weights before and after the diet program was 0.7. the correlation between the weights before and after the diet pro-
Click the “determine” button in the main window and then gram was 0.7. The researchers wanted to determine the power
check the “from group parameters” box from the 2 options “from for 2-tailed testing and α = 0.05.
differences” and “from group parameters” in the effect size calcu- After opening G*Power, go to “test > means > two dependent
lator window, as the group parameters are known. groups (matched pairs).” In the main screen, select “type of pow-
Since the pilot study showed that the means and SDs of the re- er analysis” as “post hoc: compute achieved power-given α, sam-
sults before and after the diet program were 66 ± 12 kg and ple size and effect size,” and then push the “determine” button. In
62 ± 11 kg, respectively, and the correlation between the results the effect size calculator screen, select the “from group parame-
before and after the diet program was 0.7, input 66 for “mean ters” check box from the 2 options “from differences” and “from
group 1,” 62 for “mean group 2,” 12 for “SD group 1,” 11 for “SD group parameters” as the group parameters are known. In this ef-
group 2,” and 0.7 for “correlation between groups,” and then click fect size calculator window, as a clinical trial showed that the
the “calculate and transfer to main window” button (Fig. 2C). means and SDs of the results before and after the diet program
Then, the corresponding effect size “0.4466556” will be calculat- were 66 ± 12 kg and 62 ± 11 kg, respectively, and the correlation
ed automatically and appear at the blank space for “effect size dz” between the results before and after the diet program was 0.7, in-
in the main screen and in the effect size calculator screen. In the put 66 for “mean group 1,” 62 for “mean group 2,” 12 for “SD
main window, as we decided to use 2-sided testing, α = 0.05, and group 1,” 1 for “SD group 2,” and 0.7 for “correlation between
β = 0.2, we will select “two” in the “tail(s)” drop-down menu, and groups,” and then click the “calculate and transfer to main win-
input 0.05 for “α err prob” and 0.8 for “power (1-β err prob).” dow” button. Then, the corresponding effect size “0.4466556”
Pushing the “calculate” button will compute the “total sample will be calculated automatically and appear in the blank space for
size” as 42. “effect size dz” in the main window and in the effect size calcula-
tor window.
In the main window, as we decided to use 2-sided testing and
α = 0.05 and the enrolled number of patients was 100, select 5 ± 2, respectively, in 5 patients for each group.
“two” in the “tail(s)” drop-down menu and input 0.05 for “α err Push the “determine” button and the effect size calculator win-
prob” and 100 for “total sample size.” Pushing the “calculate” but- dow will appear. Here, we can find 2 options: “effect size from
ton will compute “power (1-β err prob)” as 0.9931086. means” and “effect size from variance.” Select “effect size from
means” in the “select procedure” drop-down menu and select 4
Examples 3. One-way analysis of variance: F-test in the “number of groups” drop-down menu.
One-way analysis of variance (ANOVA) is a statistical test that Here, as G*Power does not provide the common SD, we must
compares the means of 3 or more samples. The null hypothesis is calculate this. The formula for the common SD is as follows:
that all k means are identical, and the alternative hypothesis is
that at least 2 of the k means differ. (n1 – 1)S12 + (n2 – 1)S22 + (n3 – 1)S32 + (n4 – 1)S42
spooled =
((n1 – 1) + (n2 – 1) + (n3 – 1) + (n4 – 1) – 4)
H0: μ1 = μ2 = ⋯ = μk
H1: the means are not all equal Spooled: common SD
H0: null hypothesis S1, S2, S3, S4: SDs in each group
H1: alternative hypothesis n1, n2, n3, n4: numbers of patients in each group
μ1, μ2, ⋯ μk: means of each sample from the independent Using the above formula, we obtain the following:
groups (1, 2, ⋯, k)
(5 – 1)22+ (5 – 1)12+ (5 – 1)12+ (5 – 1)22
spooled =
The assumptions of the ANOVA test are as follows: (1) inde- ((5 – 1 + (5 – 1) + (5 – 1 + (5 – 1) – 4)
pendence of observations, (2) normal distribution of dependent
variables, and (3) homogeneity of variance. Herein, the common SD will be 1.58. Thus, input 1.58 into the
blank of “SD σ within each group.” As the means and numbers of
Example: a priori patients in each group are 2, 4, 5, and 5 and 5, 5, 5, and 5, respec-
Assume that a study investigated the effects of 4 analgesics: A, tively, input each value, and then click the “calculate and transfer
B, C, and D. Pain will be measured at 6 hours postoperatively us- to main window” button. Then, the corresponding effect size
ing a VAS. The researchers wanted to determine the sample size “0.7751550” will be automatically calculated and appear in the
for the null hypothesis to be rejected at α = 0.05 and β = 0.2. blank for “effect size f” in the main window.
Since we decided to use 4 groups, α = 0.05, and β = 0.2, input 4
When the effect size is determined: For the ANOVA test, Co- for “number of groups,” 0.05 for “α err prob,” and 0.8 for “power
hen suggested the effect sizes of “small,” “medium,” and “large” as (1-β err prob).” Pushing the “calculate” button computes the total
0.1, 0.25, and 0.4, respectively [12], and G*Power provides con- sample size as 24, as shown in the “total sample size” in the “out-
ventional effect size values when the cursor is moved onto the put parameters” area.
“effect size” in the “input parameters” field. In this case, we calcu-
lated the sample size using a medium effect size (0.25). Example: post hoc
After opening G*Power, go to “test > means > many groups: Assume that a clinical trial showed the following means and
ANOVA: one-way (one independent variable).” In the main win- SDs of VAS at 6 hours postoperation in drugs A, B, C, and D :
dow, set “type of power analysis” as “a priori: compute required 2 ± 2, 4 ± 1, 5 ± 1, and 5 ± 2, respectively, in 20 patients for each
sample size-given α, power, and effect size.” Since we decided to group. The researchers want to determine the power with
use a medium effect size, α = 0.05, and β = 0.2, we enter 0.25 for 2-tailed testing, α = 0.05, and β = 0.2.
“effect size f,” 0.05 for “α err prob,” and 0.8 for “power (1-β err After opening G*Power, go to “test > means > many groups:
prob).” Moreover, as we compared 4 analgesics, we input 4 for ANOVA: one-way (one independent variable).” In the main
“number of groups.” Pushing the “calculate” button computes the screen, select “type of power analysis” as “post hoc: compute
total sample size as 180, as shown in the “total sample size” in the achieved power-given α, sample size and effect size,” and then
“output parameters” area. push the “determine” button to show the effect size calculator
When the effect size is not determined: Assume that a pilot screen.
study showed the following means and SDs (of VAS) at 6 hours Using the above formula, the common SD is 1.58. Thus, input
postoperation for drugs A, B, C, and D: 2 ± 2, 4 ± 1, 5 ± 1, and 1.58 into the blank of “SD σ within each group.” As the means
and numbers of patients in each group are 2, 4, 5, and 5, and 20, of determination.
20, 20, and 20, respectively, input these values into the corre-
sponding blank; next, click the “calculate and transfer to main Example: a priori
window” button. Consider a hypothetical study investigating the correlation be-
Then, the corresponding effect size “0.7751550” and the total tween height and weight in pediatric patients. The researchers
number of patients will be calculated automatically and appear in wanted to determine the sample size for the null hypothesis to be
the blanks for “effect size f” and “total sample size” on the main rejected with 2-tailed testing, α = 0.05, and β = 0.2. In the pilot
screen. study, the Pearson correlation coefficient for the sample was 0.5.
Since the clinical trial used 4 groups and we decided to use After opening G*Power, go to “test > correlation and regres-
α = 0.05, input 4 for “number of groups” and 0.05 for “α err prob.” sion > correlation: bivariate normal model.” In the main screen,
Pushing the “calculate” button will compute the power as set “type of power analysis” as “a priori: compute required sam-
0.9999856 at “power (1-β err prob)” in the “output parameters” ple size-given α, power, and effect size.” Because we decided to
area. use 2-sided testing, α = 0.05, and β = 0.2, the Pearson correlation
coefficient in the null hypothesis is 0, and the Pearson correla-
Examples 4. Correlation–Pearson r tion coefficient in the sample was 0.7, in the pilot study, select
A correlation is a statistic that measures the relationship be- “two” for the “tail(s)” drop-down menu, and input 0.5 for “cor-
tween 2 continuous variables. The Pearson correlation coeffi- relation ρ H1,” 0.05 for “α err prob,” 0.8 for “power (1-β err
cient is a statistic that shows the strength of the relationship be- prob),” and 0 for “correlation ρ H1.” Upon pushing the “calcu-
tween 2 continuous variables. The Greek letter ρ (rho) represents late” button, the total sample size will be computed as 29 in the
the Pearson correlation coefficient in a population, and r rep- “output parameters” area.
resents the Pearson correlation coefficient in a sample. The null G*Power also provides an option to calculate the sample size
hypothesis is that the Pearson correlation coefficient in the pop- using the coefficient of determination. If the coefficient of deter-
ulation is 0, and the alternative hypothesis is that the Pearson mination is known, push the “determine” button in the main
correlation coefficient in the population is not equal to 0. window, input the value into the blank of “coefficient of determi-
nation ρ2,” and then click the “calculate and transfer to main win-
H0: ρ = 0 dow” button. Finally, push the “calculate” button to compute the
H1: ρ≠0 total sample size.
H0: null hypothesis
H1: alternative hypothesis Example: post hoc
ρ: Pearson correlation coefficient in the population Assume that a clinical trial investigated the correlation between
height and weight in pediatric patients. In this study, 50 pediatric
The Pearson correlation coefficient in the population (ρ, rho) patients were enrolled, and the sample Pearson correlation coef-
ranges from −1 to 1, where −1 represents a perfect negative linear ficient was 0.5. The researchers wanted to determine the power
correlation, 0 represents no linear correlation, and 1 represents a at the 2-tailed and α = 0.05 levels.
perfect positive linear correlation. The coefficient of determina- After opening G*Power, go to “test > correlation and regres-
tion (ρ2) is calculated by squaring the Pearson correlation coeffi- sion > correlation: bivariate normal model.” In the main screen,
cient in the population (ρ) and is interpreted as “the percent of select “type of power analysis” as “post hoc: compute achieved
variation in one continuous variable explained by the other con- power-given α, sample size, and effect size.” Then, as the clinical
tinuous variable” [15]. trial showed that the sample Pearson correlation coefficient was
For correlations, Cohen suggested the effect sizes of “small,” 0.5 and the number of enrolled patients was 50, input 0.5 for
“medium,” and “large” as 0.1, 0.3, and 0.5, respectively [12]. “correlation ρ H1,” 0 for “correlation ρ H1,” and 50 for “total sam-
However, G*Power does not provide a sample size calculation ple size.” As the researchers want to determine the power at the
using the effect size for correlations. Therefore, this article does 2-tailed and α = 0.05 levels, select “two” for the tail(s) drop-down
not present a sample size calculation using the effect size. Instead, menu and input 0.05 for “α err prob.”
an example is provided of sample size calculation using the ex- Then, the corresponding power “0.9671566” will be calculated
pected population Pearson correlation coefficient or coefficient automatically and appear at the blank for “power (1-β err prob)”
in the output parameter area of the main screen. N2/N1,” and 0.3 and 0.1 for “proportion p2” and “proportion
p1,” respectively.
Example 5. Two independent proportions: chi-square test Pushing the “calculate” button will compute “sample size group
The chi-square test, also known as the χ2 test, is used to com- 1,” “sample size group 2,” and “total sample size” as 62, 62, and
pare 2 proportions of independent samples. G*Power provides 124, respectively.
the options to compare 2 proportions of independent samples,
namely “two independent groups: inequality, McNemar test,” Example: post hoc
“two independent groups: inequality, Fisher’s exact test,” “two in- Assume that a clinical trial compared the effect of 2 treatments,
dependent groups: inequality, unconditional exact,” “two inde- A and B, on the incidence of post-herpetic neuralgia. In this
pendent groups: inequality with offset, unconditional exact,” and study, researchers enrolled 101 and 98 patients, respectively, and
“two independent groups: inequality, z-test.” In this article, we in- post-herpetic neuralgia occurred in 31 and 9 patients after treat-
troduce the “two independent groups: inequality, z-test” because ments A and B, respectively. The incidence of post-herpetic neu-
many statistical software programs provide similar options. ralgia in the groups that received treatments A and B was 0.307
The null hypothesis is that the difference in proportions of in- (31/101) and 0.092 (9/98), respectively.
dependent groups is 0, and the alternative hypothesis is that the The researchers wanted to determine the power using 2-tailed
difference in proportions of independent groups is not equal to 0. testing and α = 0.05. After opening G*Power, go to “test > propor-
tions > two independent groups: inequality, z-test.” In the main
H0: π1-π2 = 0 screen, select “type of power analysis” as “post hoc: compute
H1: π1-π2≠0 achieved power-given α, sample size and effect size.” Then, as a
clinical trial showed that the incidence of post-herpetic neuralgia
As G*Power does not provide sample size calculation using the in the groups that received treatments A and B was 0.307 and
effect size for this option, this is not provided in this article; in- 0.092, respectively, and the number of enrolled patients was 101
stead, an example of sample size calculation using the expected and 98, respectively, input 0.307 for “proportion p2,” 0.092 for
proportions of each group is provided. “proportion p1,” 101 for “sample size group 2,” and 98 for “sam-
ple size group 1.”
Example: a priori As researchers wanted to determine the power for 2-tailed test-
Assume that a study examined the effects of 2 treatments, for ing and α = 0.05, select “two” for the tail(s) drop-down menu and
which the measure of the effect is a proportion. Treatment A has input 0.05 for “α err prob.” Pushing the “calculate” button will
been traditionally used for the prevention of post-herpetic neu- compute “power (1-β err prob)” as 0.9715798 in the “output pa-
ralgia, and treatment B is a newly developed treatment. The re- rameter” area of the main window.
searchers wanted to determine the sample size for the null hy-
pothesis to be rejected using 2-tailed testing, α = 0.05, and β = 0.2. Sample size calculation considering the
The number of patients was equal in both groups. Suppose the drop-out rate
researchers conducted a pilot study examining the effects of
treatments A and B. In the pilot study, the proportions of When conducting a study, drop-out of study subjects or
post-herpetic neuralgia development were 0.3 and 0.1, respec- non-compliance to the study protocol is inevitable. Therefore,
tively, for treatments A and B. we should consider the drop-out rate when calculating the sam-
After opening G*Power, go to “test > proportions > two inde- ple size. When calculating the sample size considering the drop-
pendent groups: inequality, z-test.” In the main window, set out rate, the formula for the sample size calculation is as below:
“type of power analysis” as “a priori: compute required sample
size-given α, power, and effect size.” N
Nd =
Because we decided to use 2-sided testing, α = 0.05, and N(1 – d)
β = 0.2, there was an equal sample size in both groups, and the N: sample size before considering drop-out
proportions of post-herpetic neuralgia development were 0.3 d: expected drop-out rate
and 0.1 for treatments A and B, respectively, in the pilot study, se- ND: sample size considering drop-out
lect “two” for the “tail(s)” drop-down menu, and input 0.05 for “α
err prob,” 0.8 for “power (1-β err prob),” 1 for “allocation ratio Let us assume that a sample size for a study was calculated as
100. If the drop-out rate during the study process is expected to References
be 20% (0.2), the sample size considering drop-out will be 125.
100 1. In J, Kang H, Kim JH, Kim TK, Ahn EJ, Lee DK, Lee S, Park
= 125
(1 – 0.2) JH. Tips for troublesome sample-size calculation. Korean J An-
esthesiol 2020;73:114-120. https://doi.org/10.4097/kja.19497
Conclusion 2. Kang H. Sample size determination for repeated measures de-
sign using G Power software. Anesth Pain Med 2015;10:6-15.
Appropriate sample size calculation and power analysis have https://doi.org/10.17085/apm.2015.10.1.6
become major issues in research and analysis. The G*Power soft- 3. Moher D, Dulberg CS, Wells GA. Statistical power, sample size,
ware supports sample size and power calculation for various sta- and their reporting in randomized controlled trials. JAMA
tistical methods (F, t, χ2, z, and exact tests). G*Power is easy to 1994;272:122-124. https://doi.org/10.1001/jama.1994.0352
use because it has a GUI and is free. This article provides guid- 0020048013
ance on the application of G*Power to calculate sample size and 4. Freiman JA, Chalmers TC, Smith H Jr, Kuebler RR. The im-
power in the design, planning, and analysis stages of a study. portance of beta, the type II error and sample size in the design
and interpretation of the randomized control trial: survey of 71
ORCID “negative” trials. N Engl J Med 1978;299:690-694. https://doi.
org/10.1056/NEJM197809282991304
Hyun Kang: https://orcid.org/0000-0003-2844-5880 5. Halpern SD, Karlawish JH, Berlin JA. The continuing unethical
conduct of underpowered clinical trials. JAMA 2002;288:358-
Authors’ contributions 362. https://doi.org/10.1001/jama.288.3.358
6. Edwards SJ, Lilford RJ, Braunholtz D, Jackson J. Why “under-
Conceptualization, data curation, formal analysis, writing– powered” trials are not necessarily unethical. Lancet
original draft, writing–review & editing: HK. 1997;350:804-807. https://doi.org/10.1016/s0140-6736(97)
02290-3
Conflict of interest 7. Ko MJ, Lim CY. General considerations for sample size estima-
tion in animal study. Korean J Anesthesiol 2021;74:23-29.
No potential conflict of interest relevant to this article was re- https://doi.org/10.4097/kja.20662
ported. 8. Kang H. Statistical messages from ARRIVE 2.0 guidelines. Ko-
rean J Pain 2021;34:1-3. https://doi.org/10.3344/kjp.2021.
Funding 34.1.1
9. Percie du Sert N, Hurst V, Ahluwalia A, Alam S, Avey MT, Baker
None. M, Browne WJ, Clark A, Cuthill IC, Dirnagl U, Emerson M,
Garner P, Holgate ST, Howells DW, Karp NA, Lazic SE, Lidster
Data availability K, MacCallum CJ, Macleod M, Pearl EJ, Petersen OH, Rawle F,
Reynolds P, Rooney K, Sena ES, Silberberg SD, Steckler T,
None. Wurbel H. The ARRIVE guidelines 2.0: updated guidelines for
reporting animal research. PLoS Biol 2020;18:e3000410.
Acknowledgments https://doi.org/10.1371/journal.pbio.3000410
10. Altman DG, Schulz KF, Moher D, Egger M, Davidoff F, El-
None. bourne D, Gotzsche PC. The revised CONSORT statement
for reporting randomized trials: explanation and elaboration.
Supplementary materials Ann Intern Med 2001;134:663-694. https://doi.org/10.7326/
0003-4819-134-8-200104170-00012
Supplement 1. Audio recording of the abstract. 11. Von Elm E, Altman DG, Egger M, Pocock SJ, Gotzsche PC,
Vandenbroucke JP; STROBE Initiative. The Strengthening the
Reporting of Observational Studies in Epidemiology (STROBE)
statement: guidelines for reporting observational studies. PLoS