SlideShare a Scribd company logo
1 of 54
Mohamed MamdouhAbdAlBary
Ass. Lecturer of Internal Medicine (Nephrolo
Poor quality research
“Errors”
Too small :
not powerful to demonstrate
difference
Too large :
Waste of resources
The
variable
Level of
significance
Statistical power
One-sided or
two-sided
Effect size
Type
Continuous Variable
(Mean & SD)
Categorical variable
(proportion)
Variance (σ2)
Data from previous studies
Pilot study
Estimate or guess
REALITY
Decision H₀ True H₀ False
Reject H₀ Error : Type I (α) Correct (1-β)
Not Reject H₀ Correct (1-α) Error: Type II (β)
Prove difference
No difference
False +ve
Difference is real
Fail to prove it False -ve
The Power
Testing relation in one directions
Smoking and lung cancer
Testing relation in both directions
“A” is either better or worse than “B”
Note: Calculated sample size is the minimal number required
Variables
Qualitative
Nominal
no natural order
e.g. gender,
race
Ordinal
ordered categories
e.g. stages of cancer
Quantitative
Continuous
Measured units &
fraction is possible
e.g. bl. pr., age,
weight, height,
hemoglobin
Discrete
Counted units &
fraction is not
possible
E.g. no. of deaths,
no. of patients
Binominal Enumeration = exact power
Usually the same results
But for small sample and extreme values choose
binominal.
Enter null proportion (P0) and if use:
Alternative proportion (P1) >> Proportions
Alternative difference (P1-P0) >> Differences
Alternative ratio (P1/P0) >> Ratios
alternative odds ratio >> Odds Ratios
The higher the difference the lower the sample size needed
Two proportion
Group Allocation :
Equal (N1 = N2).
Enter N1, solve for N2 and vice versa.
Enter R = N2/N1, solve for N1 and N2.
Enter percentage in Group 1, solve for N1 and N2.
P1 = Treatment Group
P2 = Control Group.
One Mean
The confidence interval method to be used is the Yates chi-square simple asymptotic method with continuity correction.
How to calculate Sample Size
How to calculate Sample Size
How to calculate Sample Size
How to calculate Sample Size
How to calculate Sample Size
How to calculate Sample Size
How to calculate Sample Size

More Related Content

What's hot

Basics of statistics
Basics of statisticsBasics of statistics
Basics of statistics
Gaurav Kr
 

What's hot (20)

Test of significance
Test of significanceTest of significance
Test of significance
 
Sample and sample size
Sample and sample sizeSample and sample size
Sample and sample size
 
Sample size determination
Sample size determinationSample size determination
Sample size determination
 
Sample size
Sample sizeSample size
Sample size
 
Sample size calculation
Sample  size calculationSample  size calculation
Sample size calculation
 
Chi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemarChi-square, Yates, Fisher & McNemar
Chi-square, Yates, Fisher & McNemar
 
SAMPLE SIZE CALCULATION IN DIFFERENT STUDY DESIGNS AT.pptx
SAMPLE SIZE CALCULATION IN DIFFERENT STUDY DESIGNS AT.pptxSAMPLE SIZE CALCULATION IN DIFFERENT STUDY DESIGNS AT.pptx
SAMPLE SIZE CALCULATION IN DIFFERENT STUDY DESIGNS AT.pptx
 
Tests of significance
Tests of significanceTests of significance
Tests of significance
 
Estimation and confidence interval
Estimation and confidence intervalEstimation and confidence interval
Estimation and confidence interval
 
Part 2 Cox Regression
Part 2 Cox RegressionPart 2 Cox Regression
Part 2 Cox Regression
 
Two phase sampling
Two phase samplingTwo phase sampling
Two phase sampling
 
Basics of statistics
Basics of statisticsBasics of statistics
Basics of statistics
 
Survival analysis
Survival analysisSurvival analysis
Survival analysis
 
3 cross sectional study
3 cross sectional study3 cross sectional study
3 cross sectional study
 
Sample size calculation
Sample size calculationSample size calculation
Sample size calculation
 
Cross-Sectional Study.pptx
Cross-Sectional Study.pptxCross-Sectional Study.pptx
Cross-Sectional Study.pptx
 
ODDS RATIO AND RELATIVE RISK EVALUATION
ODDS RATIO AND RELATIVE RISK EVALUATIONODDS RATIO AND RELATIVE RISK EVALUATION
ODDS RATIO AND RELATIVE RISK EVALUATION
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and size
 
Multinomial Logistic Regression
Multinomial Logistic RegressionMultinomial Logistic Regression
Multinomial Logistic Regression
 
Sample size calculation - a brief overview
Sample size calculation - a brief overviewSample size calculation - a brief overview
Sample size calculation - a brief overview
 

Similar to How to calculate Sample Size

Biostatistics research type of statics and examples
Biostatistics research type of statics and examplesBiostatistics research type of statics and examples
Biostatistics research type of statics and examples
7543e80ceb
 
Peds journal club 2 -diagnostic test
Peds journal club 2 -diagnostic testPeds journal club 2 -diagnostic test
Peds journal club 2 -diagnostic test
coolboy101pk
 
Hypothesis testing lectures
Hypothesis testing lectures Hypothesis testing lectures
Hypothesis testing lectures
Sanjaya Sahoo
 

Similar to How to calculate Sample Size (20)

Sample Size Estimation and Statistical Test Selection
Sample Size Estimation  and Statistical Test SelectionSample Size Estimation  and Statistical Test Selection
Sample Size Estimation and Statistical Test Selection
 
Research Methodology for nursing students: data analysis
Research Methodology for nursing students: data analysisResearch Methodology for nursing students: data analysis
Research Methodology for nursing students: data analysis
 
UAB Pulmonary board review study design and statistical principles
UAB Pulmonary board review study  design and statistical principles UAB Pulmonary board review study  design and statistical principles
UAB Pulmonary board review study design and statistical principles
 
Biostatistics research type of statics and examples
Biostatistics research type of statics and examplesBiostatistics research type of statics and examples
Biostatistics research type of statics and examples
 
1559221358_week 6-MCQ in EBP-1.pdf
1559221358_week 6-MCQ in EBP-1.pdf1559221358_week 6-MCQ in EBP-1.pdf
1559221358_week 6-MCQ in EBP-1.pdf
 
bio statistics for clinical research
bio statistics for clinical researchbio statistics for clinical research
bio statistics for clinical research
 
Analysis and Interpretation
Analysis and InterpretationAnalysis and Interpretation
Analysis and Interpretation
 
K7 - Critical Appraisal.pdf
K7 - Critical Appraisal.pdfK7 - Critical Appraisal.pdf
K7 - Critical Appraisal.pdf
 
Cohort Study.pptx
Cohort Study.pptxCohort Study.pptx
Cohort Study.pptx
 
Validity and realibility.pptx
Validity and realibility.pptxValidity and realibility.pptx
Validity and realibility.pptx
 
Bias and validity
Bias and validityBias and validity
Bias and validity
 
Inferential statistics
Inferential statisticsInferential statistics
Inferential statistics
 
Statistics
StatisticsStatistics
Statistics
 
Stat
StatStat
Stat
 
Epcm l23,25 association and causation
Epcm l23,25   association and causationEpcm l23,25   association and causation
Epcm l23,25 association and causation
 
Comparing research designs fw 2013 handout version
Comparing research designs fw 2013 handout versionComparing research designs fw 2013 handout version
Comparing research designs fw 2013 handout version
 
Peds journal club 2 -diagnostic test
Peds journal club 2 -diagnostic testPeds journal club 2 -diagnostic test
Peds journal club 2 -diagnostic test
 
Biostatistics
BiostatisticsBiostatistics
Biostatistics
 
Hypothesis testing lectures
Hypothesis testing lectures Hypothesis testing lectures
Hypothesis testing lectures
 
Sample size in clinical research 2021 april
Sample size in clinical research 2021 aprilSample size in clinical research 2021 april
Sample size in clinical research 2021 april
 

More from MNDU net

More from MNDU net (20)

Thrombotic microangiopathy and the kidney - Dr. Mohamed Mamdouh AbdAlBary
Thrombotic microangiopathy and the kidney -  Dr. Mohamed Mamdouh AbdAlBaryThrombotic microangiopathy and the kidney -  Dr. Mohamed Mamdouh AbdAlBary
Thrombotic microangiopathy and the kidney - Dr. Mohamed Mamdouh AbdAlBary
 
Cardiovascular complications in CKD - Dr. Mohamed Mamdouh AbdAlBary
Cardiovascular complications in CKD - Dr. Mohamed Mamdouh AbdAlBaryCardiovascular complications in CKD - Dr. Mohamed Mamdouh AbdAlBary
Cardiovascular complications in CKD - Dr. Mohamed Mamdouh AbdAlBary
 
Hyperphosphatemia in CKD patients; The Magnitude of The Problem - Prof. Alaa ...
Hyperphosphatemia in CKD patients; The Magnitude of The Problem - Prof. Alaa ...Hyperphosphatemia in CKD patients; The Magnitude of The Problem - Prof. Alaa ...
Hyperphosphatemia in CKD patients; The Magnitude of The Problem - Prof. Alaa ...
 
Hypercalcemia & Hypocalcemia -Dr. Nora Khreba
Hypercalcemia & Hypocalcemia -Dr. Nora KhrebaHypercalcemia & Hypocalcemia -Dr. Nora Khreba
Hypercalcemia & Hypocalcemia -Dr. Nora Khreba
 
Hypokalemia and Hypomagnesemia - Dr. Sherouk El-nagar
Hypokalemia and Hypomagnesemia - Dr. Sherouk El-nagarHypokalemia and Hypomagnesemia - Dr. Sherouk El-nagar
Hypokalemia and Hypomagnesemia - Dr. Sherouk El-nagar
 
Towards improving HD efficiency .. HD membranes update - prof. Hesham Elsayed
Towards improving HD efficiency .. HD membranes update - prof. Hesham ElsayedTowards improving HD efficiency .. HD membranes update - prof. Hesham Elsayed
Towards improving HD efficiency .. HD membranes update - prof. Hesham Elsayed
 
What are we missing in CKD-MBD management? - prof. Magdy El Sharkawy
What are we missing in CKD-MBD management? - prof. Magdy El SharkawyWhat are we missing in CKD-MBD management? - prof. Magdy El Sharkawy
What are we missing in CKD-MBD management? - prof. Magdy El Sharkawy
 
Vascular access care .. nephrology perspective - Dr. Tamer El said
Vascular access care .. nephrology perspective - Dr. Tamer El saidVascular access care .. nephrology perspective - Dr. Tamer El said
Vascular access care .. nephrology perspective - Dr. Tamer El said
 
Treatment Of HCV in CKD Patients - Prof. Hussein El-Fishawy
Treatment Of HCV in CKD Patients - Prof. Hussein El-FishawyTreatment Of HCV in CKD Patients - Prof. Hussein El-Fishawy
Treatment Of HCV in CKD Patients - Prof. Hussein El-Fishawy
 
Updates in management of membranous nephropathy - Dr. Mohammed Kamal Nassar
Updates in management of membranous nephropathy - Dr. Mohammed Kamal NassarUpdates in management of membranous nephropathy - Dr. Mohammed Kamal Nassar
Updates in management of membranous nephropathy - Dr. Mohammed Kamal Nassar
 
Renal transplantation in patients with lupus nephritis - prof. Ayman Refaie
Renal transplantation in patients with lupus nephritis - prof. Ayman Refaie Renal transplantation in patients with lupus nephritis - prof. Ayman Refaie
Renal transplantation in patients with lupus nephritis - prof. Ayman Refaie
 
Obstacles for organ donation and transplantation in developing countries - Pr...
Obstacles for organ donation and transplantation in developing countries - Pr...Obstacles for organ donation and transplantation in developing countries - Pr...
Obstacles for organ donation and transplantation in developing countries - Pr...
 
Rate of kidney function decline (KFD) and subsequent ESRD - prof. Ahmed Shokr
Rate of kidney function decline (KFD) and subsequent ESRD - prof. Ahmed Shokr Rate of kidney function decline (KFD) and subsequent ESRD - prof. Ahmed Shokr
Rate of kidney function decline (KFD) and subsequent ESRD - prof. Ahmed Shokr
 
3rd Day Quiz Answer - Dr. Emad Magdy
3rd Day Quiz Answer - Dr. Emad Magdy 3rd Day Quiz Answer - Dr. Emad Magdy
3rd Day Quiz Answer - Dr. Emad Magdy
 
Obesity Related Glomerulopathy (ORG) - prof. Salem Eldeeb
Obesity Related Glomerulopathy (ORG) - prof. Salem EldeebObesity Related Glomerulopathy (ORG) - prof. Salem Eldeeb
Obesity Related Glomerulopathy (ORG) - prof. Salem Eldeeb
 
Lupus Nephritis Dilemma - Prof. Mohsen El Kosi
Lupus Nephritis Dilemma - Prof. Mohsen El KosiLupus Nephritis Dilemma - Prof. Mohsen El Kosi
Lupus Nephritis Dilemma - Prof. Mohsen El Kosi
 
Incremental Heamodialysis .. Who Fit ? - prof. Amir el-okeily
Incremental Heamodialysis .. Who Fit ? - prof. Amir el-okeilyIncremental Heamodialysis .. Who Fit ? - prof. Amir el-okeily
Incremental Heamodialysis .. Who Fit ? - prof. Amir el-okeily
 
Hypertension 2018 Guidelines - prof. Tarek Medhat
Hypertension 2018 Guidelines - prof. Tarek Medhat Hypertension 2018 Guidelines - prof. Tarek Medhat
Hypertension 2018 Guidelines - prof. Tarek Medhat
 
Haemodialysis or Haemodifiltration? - Prof. Mohsen El Kosi
Haemodialysis or Haemodifiltration? - Prof. Mohsen El KosiHaemodialysis or Haemodifiltration? - Prof. Mohsen El Kosi
Haemodialysis or Haemodifiltration? - Prof. Mohsen El Kosi
 
Fabry Disease - Dr. Dina Ibrahim Sallam
Fabry Disease - Dr. Dina Ibrahim SallamFabry Disease - Dr. Dina Ibrahim Sallam
Fabry Disease - Dr. Dina Ibrahim Sallam
 

Recently uploaded

The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptxHMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
HMCS Max Bernays Pre-Deployment Brief (May 2024).pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Interdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptxInterdisciplinary_Insights_Data_Collection_Methods.pptx
Interdisciplinary_Insights_Data_Collection_Methods.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
REMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptxREMIFENTANIL: An Ultra short acting opioid.pptx
REMIFENTANIL: An Ultra short acting opioid.pptx
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 

How to calculate Sample Size

  • 1. Mohamed MamdouhAbdAlBary Ass. Lecturer of Internal Medicine (Nephrolo
  • 2. Poor quality research “Errors” Too small : not powerful to demonstrate difference Too large : Waste of resources
  • 4. Type Continuous Variable (Mean & SD) Categorical variable (proportion) Variance (σ2) Data from previous studies Pilot study Estimate or guess
  • 5.
  • 6.
  • 7. REALITY Decision H₀ True H₀ False Reject H₀ Error : Type I (α) Correct (1-β) Not Reject H₀ Correct (1-α) Error: Type II (β) Prove difference No difference False +ve Difference is real Fail to prove it False -ve The Power
  • 8.
  • 9.
  • 10. Testing relation in one directions Smoking and lung cancer Testing relation in both directions “A” is either better or worse than “B”
  • 11.
  • 12.
  • 13. Note: Calculated sample size is the minimal number required
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. Variables Qualitative Nominal no natural order e.g. gender, race Ordinal ordered categories e.g. stages of cancer Quantitative Continuous Measured units & fraction is possible e.g. bl. pr., age, weight, height, hemoglobin Discrete Counted units & fraction is not possible E.g. no. of deaths, no. of patients
  • 19.
  • 20.
  • 21.
  • 22.
  • 23. Binominal Enumeration = exact power Usually the same results But for small sample and extreme values choose binominal. Enter null proportion (P0) and if use: Alternative proportion (P1) >> Proportions Alternative difference (P1-P0) >> Differences Alternative ratio (P1/P0) >> Ratios alternative odds ratio >> Odds Ratios
  • 24. The higher the difference the lower the sample size needed
  • 26. Group Allocation : Equal (N1 = N2). Enter N1, solve for N2 and vice versa. Enter R = N2/N1, solve for N1 and N2. Enter percentage in Group 1, solve for N1 and N2. P1 = Treatment Group P2 = Control Group.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43.
  • 44.
  • 45.
  • 46.
  • 47. The confidence interval method to be used is the Yates chi-square simple asymptotic method with continuity correction.

Editor's Notes

  1. If the study has more than one important outcome variables: Separate sample size calculations should be done for each important variable & select the largest calculated size
  2.   كل مرة بترفض فيها ال h0 فيه احتمالية للخطأ
  3. Reject H₀ when it is true. (type 1 error). = Accept H₁ = False positive. .. Alpha = probability of type 1 reject a true null hypothesis Reject H₀ when it is false. (Correct) Not Reject H₀ when it is true. (Correct) Not reject H₀ when it is false. (type II error) = Reject H₁ = False negative. Beta = probability of fail to reject a false null hypothesis.
  4. Things do not always work out as expected, you may be surprised by your results. (2) Use two-sided tests unless there is a very good reason for doing otherwise . (3) If you use one sided tests , direction of the test must be specified in advance. (4) Never use one sided tests to make a non-significant difference significant 4.   One tail 2 tail :: نشتغل بنية إثبات إ،ه أعلى في جهة واحدة لو جايز يطلع العكس يبقى اتجاهين One tail :: عدد أقل
  5. The variable of interest is not their actual weight, but how much their weight changed. In this design, the data are analyzed using a one-sample t-test on the differences between the paired observations. The null hypothesis is that the average difference is zero. The alternative hypothesis is that the average difference is some nonzero value.
  6. hazard ratio (HR) is the ratio of the hazard rates corresponding to the conditions described by two levels of an explanatory variable. For example, in a drug study, the treated population may die at twice the rate per unit time as the control population. The hazard ratio would be 2, indicating higher hazard of death from the treatment. Or in another study, men receiving the same treatment may suffer a certain complication ten times more frequently per unit time than women, giving a hazard ratio of 10.
  7. Z-test is a statistical test where normal distribution is applied and is basically used for dealing with problems relating to large samples when n ≥ 30. For example suppose a person wants to test if both tea & coffee are equally popular in a particular town. Then he can take a sample of size say 500 from the town out of which suppose 280 are tea drinkers. To test the hypothesis, he can use Z-test.