SlideShare a Scribd company logo
1 of 23
Sample size calculation
Dr. Quamrun Nahar
Summer 2016
North South University
Why calculating sample size?
• Reduce unnecessary expense (time, labor,
money, materials)
• Avoid useless research
Approaches and decisions about
sample size
• Depends on research questions and research
designs
• Some common situations
– Estimating prevalence /mean
– Comparing two groups
• Mean
• Proportion
Sample size for prevalence study
• For dichotomous data (only 2 outcomes;
sick/not sick, male/female, dead/alive)
• The study describe results in percentage
• For example, disease prevalence survey
Sample size: prevalence survey
2
)]
1
(
[
2
d
p
p
Z
n


• p = estimated prevalence (percentage)
• q = 1-p
• Z = critical value for 95% CI= 1.96
• d = allowable error
• n = sample size
Error
• Suppose, the survey wants to estimate the
true prevalence of a disease in population
• The estimate we get from the survey will be
within +/- d% of the true prevalence
Example
• A survey is to estimate prevalence of influenza
virus infection in school kids
• Suppose the available evidence suggests that
approximately 20% (P=20) of the children will
have antibodies to the virus
• Assume the investigator wants to estimate the
prevalence within 6% of the true value (6% is
called allowable error; d)
Sample size for estimation of mean
• A Survey to find an average of a parameter
(birth weight, antibody titre, blood pressure)
• The study reports average of parameters
• The parameter must be quantitative
Sample size for estimation of mean
• SD = Standard Deviation of variable of interest
• d = Allowable error
• Z = value for the desired confidence limit
• n = required sample size
2
2
2
d
SD
Z
n 
Example
• Suppose an investigator has some evidence
suggests that the standard deviation of rat
weight is about 455 g
• He wishes to provide an estimate within 80 g
of the true average (80 g is the allowable
error; d)
Example
• The required sample size is
n = (1.96) 2 x (455)2 / (80)2 = 129.39
• Thus approximately 130 rats would be
needed.
Sample Size to Compare Percentages
• A study to compare percentages of outcomes
from different groups (incidence, cure rate,
mortality rate, survival rate)
Sample Size to Compare Percentages
• Pc = percentage from control group
• Qc = 1- Pc
• Pe = Percentage from the experimental group
• Qe = 1- Pe
2
2
)
(
)
(
)
(
2




d
d
Q
P
Q
P
C
n e
e
c
c
Sample Size to Compare Percentages
• d = Difference between the two groups (must
be positive)
• C = Constant (See table next page)
2
2
)
(
)
(
)
(
2




d
d
Q
P
Q
P
C
n e
e
c
c
C : Constant
• When power is 80%
• Power = Ability to find significance when the
two groups are really different (the formula is
for two sided difference)
alpha 0.05 0.01
C 7.85 11.68
Example 1
• The research question is whether smokers have
a greater incidence of skin cancer than
nonsmokers
• A review of previous literature suggests that
the incidence of skin cancer is about 0.2 in
nonsmokers
• At alpha=0.05, and power=80%, how many
smokers and nonsmokers will need to be
studied to determine whether skin cancer
incidence is at least 0.3 in smokers?
Example 2
• Null Hypothesis : The incidence of skin
cancer does not differ in smokers and
nonsmokers
• Alternative Hypothesis : The incidence of
skin cancer is different between smokers than
nonsmokers
Example
• Pe = 0.3, Pc = 0.2
2
2
)
(
)
(
)
(
2




d
d
Q
P
Q
P
C
n e
e
c
c
2
1
.
0
2
)
1
.
0
(
)
8
.
0
2
.
0
(
)
7
.
0
3
.
0
(
85
.
7 2






n
= 312.45 = use 313 persons in each group
Sample Size to Compare Means
• Hypothesis: Compare means of different
groups
• The parameters are quantitative (birth weight,
blood pressure)
• Select 2 groups that you think they will be
most different (such as; a control and a
treatment group)
• For t-test, ANOVA
Sample Size to Compare Means
• S = Standard Deviation of the variable
• d = Difference between the 2 groups
• C = Constant (from previous table)
2
2
1 







d
s
C
n
Example
• The research question is to compare the efficacy
of DRUG A and DRUG B in the treatment of
asthma
• The outcome variable is FEV1 (forced expiratory
in 1 second) 1 hour after treatment
• A previous study has reported that the mean
FEV1 in persons with treated asthma was 2.0
litres, with a standard deviation of 1.0 litre
• The investigator would like to be able to detect a
difference of 10% or more in mean FEV1 between
the two treatment groups
Example
• Null Hypothesis : Mean FEV1 is the same in
asthmatics treated with DRUG A as in those
treated with DRUG B
• Alternative Hypothesis : Mean FEV1 is
different between asthmatic patients treated
with DRUG A and those treated with DRUG B
Example
• S = 1
• d = 10% of 2 litre = 0.2 litre
2
2
.
0
1
85
.
7
2
1 








n
2
2
1 







d
s
C
n
n = 393.5 : Then use 394 patients in each group

More Related Content

What's hot

6. Calculate samplesize for cohort studies
6. Calculate samplesize for cohort studies6. Calculate samplesize for cohort studies
6. Calculate samplesize for cohort studiesAzmi Mohd Tamil
 
Stepped-wedge study design: a critique - Jon Nicholl
Stepped-wedge study design: a critique - Jon NichollStepped-wedge study design: a critique - Jon Nicholl
Stepped-wedge study design: a critique - Jon NichollNIHR CLAHRC West Midlands
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethicsAbhishek Thakur
 
Designing studies with recurrent events | Model choices, pitfalls and group s...
Designing studies with recurrent events | Model choices, pitfalls and group s...Designing studies with recurrent events | Model choices, pitfalls and group s...
Designing studies with recurrent events | Model choices, pitfalls and group s...nQuery
 
Extending A Trial’s Design Case Studies Of Dealing With Study Design Issues
Extending A Trial’s Design Case Studies Of Dealing With Study Design IssuesExtending A Trial’s Design Case Studies Of Dealing With Study Design Issues
Extending A Trial’s Design Case Studies Of Dealing With Study Design IssuesnQuery
 
Practical Methods To Overcome Sample Size Challenges
Practical Methods To Overcome Sample Size ChallengesPractical Methods To Overcome Sample Size Challenges
Practical Methods To Overcome Sample Size ChallengesnQuery
 
Lecture 10 Sample Size
Lecture 10 Sample SizeLecture 10 Sample Size
Lecture 10 Sample Sizeq8dentist
 
2020 trends in biostatistics what you should know about study design - slid...
2020 trends in biostatistics   what you should know about study design - slid...2020 trends in biostatistics   what you should know about study design - slid...
2020 trends in biostatistics what you should know about study design - slid...nQuery
 
Lecture notes on basic research statistics dr habibullah
Lecture notes on basic research statistics dr habibullahLecture notes on basic research statistics dr habibullah
Lecture notes on basic research statistics dr habibullahHabibullah ADAMU
 
7. Calculate samplesize for clinical trials
7. Calculate samplesize for clinical trials7. Calculate samplesize for clinical trials
7. Calculate samplesize for clinical trialsAzmi Mohd Tamil
 
Advanced Biostatistics and Data Analysis abdul ghafoor sajjad
Advanced Biostatistics and Data Analysis abdul ghafoor sajjadAdvanced Biostatistics and Data Analysis abdul ghafoor sajjad
Advanced Biostatistics and Data Analysis abdul ghafoor sajjadHeadDPT
 
Flexible Clinical Trial Design - Survival, Stepped-Wedge & MAMS Designs
Flexible Clinical Trial Design - Survival, Stepped-Wedge & MAMS DesignsFlexible Clinical Trial Design - Survival, Stepped-Wedge & MAMS Designs
Flexible Clinical Trial Design - Survival, Stepped-Wedge & MAMS DesignsnQuery
 
Power and sample size calculations for survival analysis webinar Slides
Power and sample size calculations for survival analysis webinar SlidesPower and sample size calculations for survival analysis webinar Slides
Power and sample size calculations for survival analysis webinar SlidesnQuery
 
Imran rizvi statistics in meta analysis
Imran rizvi statistics in meta analysisImran rizvi statistics in meta analysis
Imran rizvi statistics in meta analysisImran Rizvi
 

What's hot (20)

6. Calculate samplesize for cohort studies
6. Calculate samplesize for cohort studies6. Calculate samplesize for cohort studies
6. Calculate samplesize for cohort studies
 
Stepped-wedge study design: a critique - Jon Nicholl
Stepped-wedge study design: a critique - Jon NichollStepped-wedge study design: a critique - Jon Nicholl
Stepped-wedge study design: a critique - Jon Nicholl
 
T test^jsample size^j ethics
T test^jsample size^j ethicsT test^jsample size^j ethics
T test^jsample size^j ethics
 
Sample size
Sample sizeSample size
Sample size
 
Sample size- dr dk yadav
Sample size- dr dk yadavSample size- dr dk yadav
Sample size- dr dk yadav
 
Testing Hypothesis
Testing HypothesisTesting Hypothesis
Testing Hypothesis
 
Designing studies with recurrent events | Model choices, pitfalls and group s...
Designing studies with recurrent events | Model choices, pitfalls and group s...Designing studies with recurrent events | Model choices, pitfalls and group s...
Designing studies with recurrent events | Model choices, pitfalls and group s...
 
Extending A Trial’s Design Case Studies Of Dealing With Study Design Issues
Extending A Trial’s Design Case Studies Of Dealing With Study Design IssuesExtending A Trial’s Design Case Studies Of Dealing With Study Design Issues
Extending A Trial’s Design Case Studies Of Dealing With Study Design Issues
 
Sample size calculation final
Sample size calculation finalSample size calculation final
Sample size calculation final
 
Practical Methods To Overcome Sample Size Challenges
Practical Methods To Overcome Sample Size ChallengesPractical Methods To Overcome Sample Size Challenges
Practical Methods To Overcome Sample Size Challenges
 
Lecture 10 Sample Size
Lecture 10 Sample SizeLecture 10 Sample Size
Lecture 10 Sample Size
 
2020 trends in biostatistics what you should know about study design - slid...
2020 trends in biostatistics   what you should know about study design - slid...2020 trends in biostatistics   what you should know about study design - slid...
2020 trends in biostatistics what you should know about study design - slid...
 
Lecture notes on basic research statistics dr habibullah
Lecture notes on basic research statistics dr habibullahLecture notes on basic research statistics dr habibullah
Lecture notes on basic research statistics dr habibullah
 
Part 2 Cox Regression
Part 2 Cox RegressionPart 2 Cox Regression
Part 2 Cox Regression
 
7. Calculate samplesize for clinical trials
7. Calculate samplesize for clinical trials7. Calculate samplesize for clinical trials
7. Calculate samplesize for clinical trials
 
Advanced Biostatistics and Data Analysis abdul ghafoor sajjad
Advanced Biostatistics and Data Analysis abdul ghafoor sajjadAdvanced Biostatistics and Data Analysis abdul ghafoor sajjad
Advanced Biostatistics and Data Analysis abdul ghafoor sajjad
 
Flexible Clinical Trial Design - Survival, Stepped-Wedge & MAMS Designs
Flexible Clinical Trial Design - Survival, Stepped-Wedge & MAMS DesignsFlexible Clinical Trial Design - Survival, Stepped-Wedge & MAMS Designs
Flexible Clinical Trial Design - Survival, Stepped-Wedge & MAMS Designs
 
Power and sample size calculations for survival analysis webinar Slides
Power and sample size calculations for survival analysis webinar SlidesPower and sample size calculations for survival analysis webinar Slides
Power and sample size calculations for survival analysis webinar Slides
 
Student's t-test
Student's t-testStudent's t-test
Student's t-test
 
Imran rizvi statistics in meta analysis
Imran rizvi statistics in meta analysisImran rizvi statistics in meta analysis
Imran rizvi statistics in meta analysis
 

Similar to Lecture_9_Sample_size_calculation_Summer_2016.pptx

Determination of sample size in scientific research.pptx
Determination of sample size in scientific research.pptxDetermination of sample size in scientific research.pptx
Determination of sample size in scientific research.pptxSam Edeson
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and sizeTarek Tawfik Amin
 
Sample size in general
Sample size in generalSample size in general
Sample size in generalMmedsc Hahm
 
Chapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docxChapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docxmccormicknadine86
 
Sample size calculation
Sample  size calculationSample  size calculation
Sample size calculationSwati Singh
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitativePandurangi Raghavendra
 
1_ Sample size determination.pptx
1_ Sample size determination.pptx1_ Sample size determination.pptx
1_ Sample size determination.pptxHarunMohamed7
 
sample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.pptsample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.ppttyagikanishka10
 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testdr.balan shaikh
 
sample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.pptsample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.pptParulSingal3
 
การสุ่มตัวอย่างในงานวิจัยสาธารณสุข
การสุ่มตัวอย่างในงานวิจัยสาธารณสุขการสุ่มตัวอย่างในงานวิจัยสาธารณสุข
การสุ่มตัวอย่างในงานวิจัยสาธารณสุขUltraman Taro
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptxssuser504dda
 
Stat 3203 -multphase sampling
Stat 3203 -multphase samplingStat 3203 -multphase sampling
Stat 3203 -multphase samplingKhulna University
 
presentation on calculation of sample size
presentation on calculation of sample sizepresentation on calculation of sample size
presentation on calculation of sample sizeRichaMishra186341
 
Statistical analysis.pptx
Statistical analysis.pptxStatistical analysis.pptx
Statistical analysis.pptxChinna Chadayan
 

Similar to Lecture_9_Sample_size_calculation_Summer_2016.pptx (20)

Determination of sample size in scientific research.pptx
Determination of sample size in scientific research.pptxDetermination of sample size in scientific research.pptx
Determination of sample size in scientific research.pptx
 
Test of significance
Test of significanceTest of significance
Test of significance
 
Sample determinants and size
Sample determinants and sizeSample determinants and size
Sample determinants and size
 
Sample size calculation
Sample size calculationSample size calculation
Sample size calculation
 
Sample size in general
Sample size in generalSample size in general
Sample size in general
 
Chapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docxChapter 7Hypothesis Testing ProceduresLearning.docx
Chapter 7Hypothesis Testing ProceduresLearning.docx
 
Sample size calculation
Sample  size calculationSample  size calculation
Sample size calculation
 
Intro to tests of significance qualitative
Intro to tests of significance qualitativeIntro to tests of significance qualitative
Intro to tests of significance qualitative
 
1_ Sample size determination.pptx
1_ Sample size determination.pptx1_ Sample size determination.pptx
1_ Sample size determination.pptx
 
sample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.pptsample size phd-finalpresentation111.ppt
sample size phd-finalpresentation111.ppt
 
Test of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square testTest of-significance : Z test , Chi square test
Test of-significance : Z test , Chi square test
 
sample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.pptsample size new 1111 ppt community-1.ppt
sample size new 1111 ppt community-1.ppt
 
T test
T testT test
T test
 
การสุ่มตัวอย่างในงานวิจัยสาธารณสุข
การสุ่มตัวอย่างในงานวิจัยสาธารณสุขการสุ่มตัวอย่างในงานวิจัยสาธารณสุข
การสุ่มตัวอย่างในงานวิจัยสาธารณสุข
 
Sample size determination
Sample size determinationSample size determination
Sample size determination
 
slides Testing of hypothesis.pptx
slides Testing  of  hypothesis.pptxslides Testing  of  hypothesis.pptx
slides Testing of hypothesis.pptx
 
Stat 3203 -multphase sampling
Stat 3203 -multphase samplingStat 3203 -multphase sampling
Stat 3203 -multphase sampling
 
Chi squared test
Chi squared test Chi squared test
Chi squared test
 
presentation on calculation of sample size
presentation on calculation of sample sizepresentation on calculation of sample size
presentation on calculation of sample size
 
Statistical analysis.pptx
Statistical analysis.pptxStatistical analysis.pptx
Statistical analysis.pptx
 

Recently uploaded

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingTechSoup
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeThiyagu K
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfJayanti Pande
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024Janet Corral
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingTeacherCyreneCayanan
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 

Recently uploaded (20)

Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Grant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy ConsultingGrant Readiness 101 TechSoup and Remy Consulting
Grant Readiness 101 TechSoup and Remy Consulting
 
Advance Mobile Application Development class 07
Advance Mobile Application Development class 07Advance Mobile Application Development class 07
Advance Mobile Application Development class 07
 
Measures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and ModeMeasures of Central Tendency: Mean, Median and Mode
Measures of Central Tendency: Mean, Median and Mode
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
General AI for Medical Educators April 2024
General AI for Medical Educators April 2024General AI for Medical Educators April 2024
General AI for Medical Educators April 2024
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
fourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writingfourth grading exam for kindergarten in writing
fourth grading exam for kindergarten in writing
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 

Lecture_9_Sample_size_calculation_Summer_2016.pptx

  • 1. Sample size calculation Dr. Quamrun Nahar Summer 2016 North South University
  • 2. Why calculating sample size? • Reduce unnecessary expense (time, labor, money, materials) • Avoid useless research
  • 3. Approaches and decisions about sample size • Depends on research questions and research designs • Some common situations – Estimating prevalence /mean – Comparing two groups • Mean • Proportion
  • 4. Sample size for prevalence study • For dichotomous data (only 2 outcomes; sick/not sick, male/female, dead/alive) • The study describe results in percentage • For example, disease prevalence survey
  • 5. Sample size: prevalence survey 2 )] 1 ( [ 2 d p p Z n   • p = estimated prevalence (percentage) • q = 1-p • Z = critical value for 95% CI= 1.96 • d = allowable error • n = sample size
  • 6. Error • Suppose, the survey wants to estimate the true prevalence of a disease in population • The estimate we get from the survey will be within +/- d% of the true prevalence
  • 7. Example • A survey is to estimate prevalence of influenza virus infection in school kids • Suppose the available evidence suggests that approximately 20% (P=20) of the children will have antibodies to the virus • Assume the investigator wants to estimate the prevalence within 6% of the true value (6% is called allowable error; d)
  • 8. Sample size for estimation of mean • A Survey to find an average of a parameter (birth weight, antibody titre, blood pressure) • The study reports average of parameters • The parameter must be quantitative
  • 9. Sample size for estimation of mean • SD = Standard Deviation of variable of interest • d = Allowable error • Z = value for the desired confidence limit • n = required sample size 2 2 2 d SD Z n 
  • 10. Example • Suppose an investigator has some evidence suggests that the standard deviation of rat weight is about 455 g • He wishes to provide an estimate within 80 g of the true average (80 g is the allowable error; d)
  • 11. Example • The required sample size is n = (1.96) 2 x (455)2 / (80)2 = 129.39 • Thus approximately 130 rats would be needed.
  • 12. Sample Size to Compare Percentages • A study to compare percentages of outcomes from different groups (incidence, cure rate, mortality rate, survival rate)
  • 13. Sample Size to Compare Percentages • Pc = percentage from control group • Qc = 1- Pc • Pe = Percentage from the experimental group • Qe = 1- Pe 2 2 ) ( ) ( ) ( 2     d d Q P Q P C n e e c c
  • 14. Sample Size to Compare Percentages • d = Difference between the two groups (must be positive) • C = Constant (See table next page) 2 2 ) ( ) ( ) ( 2     d d Q P Q P C n e e c c
  • 15. C : Constant • When power is 80% • Power = Ability to find significance when the two groups are really different (the formula is for two sided difference) alpha 0.05 0.01 C 7.85 11.68
  • 16. Example 1 • The research question is whether smokers have a greater incidence of skin cancer than nonsmokers • A review of previous literature suggests that the incidence of skin cancer is about 0.2 in nonsmokers • At alpha=0.05, and power=80%, how many smokers and nonsmokers will need to be studied to determine whether skin cancer incidence is at least 0.3 in smokers?
  • 17. Example 2 • Null Hypothesis : The incidence of skin cancer does not differ in smokers and nonsmokers • Alternative Hypothesis : The incidence of skin cancer is different between smokers than nonsmokers
  • 18. Example • Pe = 0.3, Pc = 0.2 2 2 ) ( ) ( ) ( 2     d d Q P Q P C n e e c c 2 1 . 0 2 ) 1 . 0 ( ) 8 . 0 2 . 0 ( ) 7 . 0 3 . 0 ( 85 . 7 2       n = 312.45 = use 313 persons in each group
  • 19. Sample Size to Compare Means • Hypothesis: Compare means of different groups • The parameters are quantitative (birth weight, blood pressure) • Select 2 groups that you think they will be most different (such as; a control and a treatment group) • For t-test, ANOVA
  • 20. Sample Size to Compare Means • S = Standard Deviation of the variable • d = Difference between the 2 groups • C = Constant (from previous table) 2 2 1         d s C n
  • 21. Example • The research question is to compare the efficacy of DRUG A and DRUG B in the treatment of asthma • The outcome variable is FEV1 (forced expiratory in 1 second) 1 hour after treatment • A previous study has reported that the mean FEV1 in persons with treated asthma was 2.0 litres, with a standard deviation of 1.0 litre • The investigator would like to be able to detect a difference of 10% or more in mean FEV1 between the two treatment groups
  • 22. Example • Null Hypothesis : Mean FEV1 is the same in asthmatics treated with DRUG A as in those treated with DRUG B • Alternative Hypothesis : Mean FEV1 is different between asthmatic patients treated with DRUG A and those treated with DRUG B
  • 23. Example • S = 1 • d = 10% of 2 litre = 0.2 litre 2 2 . 0 1 85 . 7 2 1          n 2 2 1         d s C n n = 393.5 : Then use 394 patients in each group