Literature DB >> 27200285

Statistical notes for clinical researchers: Sample size calculation 2. Comparison of two independent proportions.

Hae-Young Kim1.   

Abstract

Year:  2016        PMID: 27200285      PMCID: PMC4868880          DOI: 10.5395/rde.2016.41.2.154

Source DB:  PubMed          Journal:  Restor Dent Endod        ISSN: 2234-7658


× No keyword cloud information.
Principles and methods of sample size determination for the comparison of two independent means were introduced in the previous article.1 In this article we will discuss sample size determination for the comparison of two independent proportions. While the same principles about power, α error, and β error can be applied as well, the selection of an adequate test is needed for the comparison of two independent proportions, depending on the condition whether the sample size is large enough or not.

Selection of two-sample test for proportions

The comparison of two independent proportions occurs when we perform an experiment with a binary outcome (e.g., success or failure) obtained from two groups (e.g., control vs. experiment groups). Let's call the sample sizes and proportions of success in the control and experimental groups as n1, n2, p1, and p2, respectively. When the sample size of an experiment is large enough (e.g., n1p1 > 5, and n2p2 > 5), we can assume the sampling distribution of proportions as approximately normal based on the central limit theorem. Therefore, when sample size is large enough, we can apply z test approximation in comparing two independent proportions and the same principle can be applied in the required sample size calculation. The comparison of two proportions can be expressed as a 2 × 2 contingency table. When we test the association of two binary variables (two groups and two outcomes), we usually apply the Pearson chi-square test. When the sample size is large enough, the result of chi-square test and z test approximation are equally reliable and show the same result with an identical p value. If the condition satisfies for the application of the Pearson chi-square test, use of z test approximation in sample size calculation is justified. However, if there is one or more cells with expected frequencies smaller than 5, statistical packages display the warning message that the Pearson chi-square test results cannot be reliable. In those cases, we need to apply the Fisher's exact test instead of the Pearson chi-square test. The Fisher's exact test is applicable when the sample size is small and we could expect that there may be one or more small cells (< 5). Therefore, different sample size calculation procedure following the Fisher's exact test will be applied when the sample size is small.

Calculation of sample size

1. Z test approximation for large sample test

When we suppose the sample size is large enough, following sample size calculation procedure can be performed based on z test approximation. Let's assume the following conditions: proportion of control group (p) = 0.2, proportion of experimental group (p) = 0.3. If we set α error level (two-sided) = 0.05 (corresponding zα/2 = 1.96), power level = 0.8 (corresponding zβ = 0.84), and allocation ratio ( n1 / n2= κ) = 1, the sample size is calculated as approximately 291 subjects per group using the following formula.2 The calculation procedure can be accomplished using the software G*Power. G*Power displays a similar result of sample size, 294 (Example 1).

2. Fisher's exact test for small samples test

When we expect the sample size is small and there may be one or more small cells (< 5), following sample size calculation procedure can be performed based on the Fisher's exact test. Let's assume the following conditions: proportion of control group (p1) = 0.05, and proportion of experimental group (p2) = 0.3. We set α error level (two-sided) = 0.05 (corresponding zα/2 = 1.96), power level = 0.8 (corresponding zβ = 0.84), and allocation ratio (n1/n2 = κ) = 1. Because there is no definite formula related to the case, we need to use a software for sample size determination. Table 1 shows exemplary results applying various levels of proportions, α error, and power.
Table 1

Results of sample size determination for Fisher's exact test (two-sided)

α = 0.05α = 0.01
p1p2Power = 0.8Power = 0.9Power = 0.8Power = 0.9
0.050.3039515668
0.4024313542
0.5017212328
0.100.30698998123
0.4036475164
0.5023293340

Sample size determination procedure using G*Power

An appropriate sample size for the comparison of proportions can be obtained by performing the following steps using G*Power, a free software.

1. Z test approximation for two independent proportions (Large sample test)

Step 1: Select statistical test types Menu: Tests - Proportions - Two Independent Groups: Inequality, z-Test Step 2: Select one-sided or two-sided test Step 3: Select α error level Step 4: Select power level Step 5: Select allocation ratio Step 6: Calculation of sample size Menu: Calculate Example 1) Two tailed test Proportions:

2. Fisher exact test for two independent proportions (Small sample test)

Step 1: Select statistical test types Menu: Tests - Proportions - Two Independent Groups: Inequality, Fisher's exact test Step 2 - Step 5 (the same as example 1) Step 6: Calculation of sample size Menu: Calculate Example 2) Two tailed test Proportions: p
  1 in total

1.  Statistical notes for clinical researchers: Sample size calculation 1. comparison of two independent sample means.

Authors:  Hae-Young Kim
Journal:  Restor Dent Endod       Date:  2015-12-30
  1 in total
  6 in total

1.  Effects of creative expression therapy on Chinese elderly patients with dementia: an exploratory randomized controlled trial.

Authors:  Rong Lin; Hui-Ying Chen; Hong Li; Jing Li
Journal:  Neuropsychiatr Dis Treat       Date:  2019-07-30       Impact factor: 2.570

2.  Accelerating caregivers' HIV status disclosure to community-based lay social welfare volunteers in Tanzania.

Authors:  Amon Exavery; John Charles; Asheri Barankena; Erica Kuhlik; Godfrey Martin Mubyazi; Christina Kyaruzi; Tumainiel Mbwambo; Amal Ally; Remmy Mseya; Levina Kikoyo; Elizabeth Jere
Journal:  AIDS Res Ther       Date:  2021-04-01       Impact factor: 2.250

3.  Prevalence and incidence rates of laboratory-confirmed hepatitis B infection in South Africa, 2015 to 2019.

Authors:  Shelina Moonsamy; Melinda Suchard; Pavitra Pillay; Nishi Prabdial-Sing
Journal:  BMC Public Health       Date:  2022-01-06       Impact factor: 3.295

4.  Comparison of Non-Invasive Clinical Algorithms for Liver Fibrosis in Patients With Chronic Hepatitis B to Reduce the Need for Liver Biopsy: Application of Enhanced Liver Fibrosis and Mac-2 Binding Protein Glycosylation Isomer.

Authors:  Mina Hur; Mikyoung Park; Hee-Won Moon; Won Hyeok Choe; Chae Hoon Lee
Journal:  Ann Lab Med       Date:  2022-03-01       Impact factor: 3.464

5.  A community pharmacist-led smoking cessation intervention using a smartphone app (PharmQuit): A randomized controlled trial.

Authors:  Narong Asayut; Phayom Sookaneknun Olson; Juntip Kanjanasilp; Preut Thanarat; Bhattaraporn Senkraigul; Chuthathip Sittisarn; Suratsawatee Suksawat
Journal:  PLoS One       Date:  2022-03-29       Impact factor: 3.240

6.  Incidence of periodontal compromise in teeth indicated for undergoing endodontic treatment: A clinical study.

Authors:  Ricardo Machado; Monique Muniz da Cunha; Daniel Comparin; Leopoldo Cosme-Silva; Eduardo Donato Eing Engelke Back; Lucas da Fonseca Roberti Garcia
Journal:  Eur J Dent       Date:  2018 Jul-Sep
  6 in total

北京卡尤迪生物科技股份有限公司 © 2022-2023.