SlideShare a Scribd company logo
1 of 18
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 1
February 23
Chapter 10:
Basics of Confidence Intervals
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 2
In Chapter 10:
10.1 Introduction to Estimation
10.2 Confidence Interval for μ (σ known)
10.3 Sample Size Requirements
10.4 Relationship Between Hypothesis
Testing and Confidence Intervals
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 3
§10.1: Introduction to Estimation
Two forms of estimation
• Point estimation ≡ most likely value of
parameter (e.g., x-bar is point estimator of µ)
• Interval estimation ≡ range of values with
known likelihood of capturing the parameter, i.e.,
a confidence interval (CI)
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 4
Reasoning Behind a 95% CI
• The next slide demonstrates how CIs are
based on sampling distributions
• If we take multiple samples from the
sample population, each sample will
derive a different 95% CI
• 95% of the CIs will capture μ & 5% will not
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 5
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 6
Confidence Interval for μ
• To create a 95% confidence interval for μ,
surround each sample mean with margin
of error m:
m ≈ 2×SE = 2×(σ/√n)
• The 95% confidence interval for μ is:
m
x 
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 7
Sampling
distribution of a
mean (curve).
Below the curve
are five CIs.
In this example,
all but the third CI
captured μ
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 8
“Body Weight” Example
• Body weights of 20-29-year-old males
have unknown μ and σ = 40
• Take an SRS of n = 712 from population
• Calculate: x-bar =183
3
5
.
1
2
2
and
5
.
1
712
40







 x
x SE
m
n
SE

pounds
186
to
180
3
183
for
CI
95%




 m
x

2/20/2023Basic Biostat 10: Intro to Confidence Intervals 9
Confidence Interval Formula
Here is a more accurate and flexible formula
x
SE
z
x
n
z
x






2
2
1
1
ly,
Equivalent 


2/20/2023Basic Biostat 10: Intro to Confidence Intervals 10
Confidence level
1 – α
Alpha level
α
Z value
z1–(α/2)
.90 .10 1.645
.95 .05 1.960
.99 .01 2.576
Common Levels of Confidence
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 11
90% Confidence Interval for μ
5
.
185
to
5
.
180
5
.
2
183
712
40
645
.
1
183
for
CI
%
90
2
1
.
1








 
n
z
x


Data: SRS, n = 712, σ = 40, x-bar = 183
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 12
95% Confidence Interval for μ
9
.
185
to
1
.
180
9
.
2
183
712
40
960
.
1
183
for
CI
%
95
2
05
.
1








 
n
z
x


Data: SRS, n = 712, σ = 40, x-bar = 183
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 13
99% Confidence Interval for μ
9
.
186
to
1
.
179
9
.
3
183
712
40
576
.
2
183
for
CI
%
99
2
01
.
1








 
n
z
x


Data: SRS, n = 712, σ = 40, x-bar = 183
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 14
Confidence Level and CI Length
UCL ≡ Upper Confidence Limit; LCL ≡ Lower Limit;
Confidence
level
Body weight
example
CI length
= UCL – LCL
90% 180.5 to 185.5 185.5 – 180.5 = 5.0
95% 180.1 to 185.9 185.9 – 180.1 = 5.8
99% 179.1 to 186.9 186.9 – 179.1 = 7.8
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 15
10.3 Sample Size Requirements
2
1 2







 
m
z
n


Ask: How large a sample is need to
determine a (1 – α)100% CI with margin of
error m?
Illustrative example: Recall that WAIS has σ = 15.
Suppose we want a 95% CI for μ
For 95% confidence, α = .05, z1–.05/2 = z.975 = 1.96
(Continued on next slide)
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 16
Illustrative Examples: Sample Size
35
6
.
34
5
15
96
.
1
use
,
5
For
2
2
1 2


















 
m
z
n
m


(1) Round up to ensure precision
(2) Smaller m require larger n
139
3
.
138
5
.
2
15
96
.
1
use
,
5
.
2
For
2










 n
m
865
4
.
864
1
15
96
.
1
use
,
1
For
2










 n
m
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 17
10.4 Relation Between Testing
and Confidence Intervals
Rule: Rejects H0 at α level of significance
when μ0 falls outside the (1−α)100% CI.
Illustration: Next slide
2/20/2023Basic Biostat 10: Intro to Confidence Intervals 18
Example: Testing and CIs
Illustration: Test H0: μ = 180
This CI excludes 180
Reject H0 at α =.05
Retain H0 at α =.01
This CI includes 180

More Related Content

What's hot

What's hot (20)

Confidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overviewConfidence Intervals: Basic concepts and overview
Confidence Intervals: Basic concepts and overview
 
Sample size calculations
Sample size calculationsSample size calculations
Sample size calculations
 
A.6 confidence intervals
A.6  confidence intervalsA.6  confidence intervals
A.6 confidence intervals
 
L10 confidence intervals
L10 confidence intervalsL10 confidence intervals
L10 confidence intervals
 
Chi square
Chi squareChi square
Chi square
 
Sampling Distribution
Sampling DistributionSampling Distribution
Sampling Distribution
 
Basics of biostatistic
Basics of biostatisticBasics of biostatistic
Basics of biostatistic
 
ODDS RATIO AND RELATIVE RISK EVALUATION
ODDS RATIO AND RELATIVE RISK EVALUATIONODDS RATIO AND RELATIVE RISK EVALUATION
ODDS RATIO AND RELATIVE RISK EVALUATION
 
Inferential Statistics
Inferential StatisticsInferential Statistics
Inferential Statistics
 
Statistical Estimation
Statistical Estimation Statistical Estimation
Statistical Estimation
 
Confidence Intervals
Confidence IntervalsConfidence Intervals
Confidence Intervals
 
Ch4 Confidence Interval
Ch4 Confidence IntervalCh4 Confidence Interval
Ch4 Confidence Interval
 
Confidence intervals: Types and calculations
Confidence intervals: Types and calculationsConfidence intervals: Types and calculations
Confidence intervals: Types and calculations
 
Basic survival analysis
Basic survival analysisBasic survival analysis
Basic survival analysis
 
Lecture2 hypothesis testing
Lecture2 hypothesis testingLecture2 hypothesis testing
Lecture2 hypothesis testing
 
Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)Estimation and hypothesis testing 1 (graduate statistics2)
Estimation and hypothesis testing 1 (graduate statistics2)
 
Measures of association
Measures of associationMeasures of association
Measures of association
 
Cross sectional study
Cross sectional studyCross sectional study
Cross sectional study
 
Standard error
Standard error Standard error
Standard error
 
Survival analysis
Survival analysisSurvival analysis
Survival analysis
 

Similar to Basics of Confidence Intervals

Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals J. García - Verdugo
 
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...nszakir
 
estimation.ppt
estimation.pptestimation.ppt
estimation.pptaozcan1
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsLong Beach City College
 
P s work-book_part2_ver_4 (1)
P s work-book_part2_ver_4 (1)P s work-book_part2_ver_4 (1)
P s work-book_part2_ver_4 (1)ayimsevenfold
 
Presentation on Hypothesis Test by Ashik Amin Prem
Presentation on Hypothesis Test by Ashik Amin PremPresentation on Hypothesis Test by Ashik Amin Prem
Presentation on Hypothesis Test by Ashik Amin PremAshikAminPrem
 
Page 1 of 10  ClassTime_______________Day_____________.docx
Page 1 of 10  ClassTime_______________Day_____________.docxPage 1 of 10  ClassTime_______________Day_____________.docx
Page 1 of 10  ClassTime_______________Day_____________.docxalfred4lewis58146
 
validate the f square rule of thumb for the length of batches
validate the f square rule of thumb for the length of batchesvalidate the f square rule of thumb for the length of batches
validate the f square rule of thumb for the length of batcheschaitanya ivvala
 
creditriskmanagment_howardhaughton121510
creditriskmanagment_howardhaughton121510creditriskmanagment_howardhaughton121510
creditriskmanagment_howardhaughton121510mrmelchi
 
680report final
680report final680report final
680report finalRajesh M
 
Biostatics part 7.pdf
Biostatics part 7.pdfBiostatics part 7.pdf
Biostatics part 7.pdfNatiphBasha
 
Findings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingFindings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingShainaBoling829
 
estimation of load loss and queuing of mm1 system
estimation of load loss and queuing of mm1 systemestimation of load loss and queuing of mm1 system
estimation of load loss and queuing of mm1 systemchaitanya ivvala
 

Similar to Basics of Confidence Intervals (20)

Sheet#5
Sheet#5Sheet#5
Sheet#5
 
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
Javier Garcia - Verdugo Sanchez - Six Sigma Training - W3 Confidence Intervals
 
Statistical Confidence Level
Statistical Confidence LevelStatistical Confidence Level
Statistical Confidence Level
 
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
Chapter 6 part1- Introduction to Inference-Estimating with Confidence (Introd...
 
estimation.ppt
estimation.pptestimation.ppt
estimation.ppt
 
Lecture6 xing
Lecture6 xingLecture6 xing
Lecture6 xing
 
Two Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched PairsTwo Means, Two Dependent Samples, Matched Pairs
Two Means, Two Dependent Samples, Matched Pairs
 
Ch08(2)
Ch08(2)Ch08(2)
Ch08(2)
 
Ch08(1)
Ch08(1)Ch08(1)
Ch08(1)
 
Taxi for Professor Evans
Taxi for Professor EvansTaxi for Professor Evans
Taxi for Professor Evans
 
P s work-book_part2_ver_4 (1)
P s work-book_part2_ver_4 (1)P s work-book_part2_ver_4 (1)
P s work-book_part2_ver_4 (1)
 
Presentation on Hypothesis Test by Ashik Amin Prem
Presentation on Hypothesis Test by Ashik Amin PremPresentation on Hypothesis Test by Ashik Amin Prem
Presentation on Hypothesis Test by Ashik Amin Prem
 
Page 1 of 10  ClassTime_______________Day_____________.docx
Page 1 of 10  ClassTime_______________Day_____________.docxPage 1 of 10  ClassTime_______________Day_____________.docx
Page 1 of 10  ClassTime_______________Day_____________.docx
 
validate the f square rule of thumb for the length of batches
validate the f square rule of thumb for the length of batchesvalidate the f square rule of thumb for the length of batches
validate the f square rule of thumb for the length of batches
 
creditriskmanagment_howardhaughton121510
creditriskmanagment_howardhaughton121510creditriskmanagment_howardhaughton121510
creditriskmanagment_howardhaughton121510
 
680report final
680report final680report final
680report final
 
Biostatics part 7.pdf
Biostatics part 7.pdfBiostatics part 7.pdf
Biostatics part 7.pdf
 
Findings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport WritingFindings, Conclusions, & RecommendationsReport Writing
Findings, Conclusions, & RecommendationsReport Writing
 
Inferences about Two Proportions
 Inferences about Two Proportions Inferences about Two Proportions
Inferences about Two Proportions
 
estimation of load loss and queuing of mm1 system
estimation of load loss and queuing of mm1 systemestimation of load loss and queuing of mm1 system
estimation of load loss and queuing of mm1 system
 

Recently uploaded

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersSabitha Banu
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfMahmoud M. Sallam
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Celine George
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxNirmalaLoungPoorunde1
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentInMediaRes1
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxEyham Joco
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...jaredbarbolino94
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfUjwalaBharambe
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsanshu789521
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...M56BOOKSTORE PRODUCT/SERVICE
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatYousafMalik24
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTiammrhaywood
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfSumit Tiwari
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxOH TEIK BIN
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxJiesonDelaCerna
 

Recently uploaded (20)

DATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginnersDATA STRUCTURE AND ALGORITHM for beginners
DATA STRUCTURE AND ALGORITHM for beginners
 
Pharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdfPharmacognosy Flower 3. Compositae 2023.pdf
Pharmacognosy Flower 3. Compositae 2023.pdf
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
Incoming and Outgoing Shipments in 1 STEP Using Odoo 17
 
Employee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptxEmployee wellbeing at the workplace.pptx
Employee wellbeing at the workplace.pptx
 
Meghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media ComponentMeghan Sutherland In Media Res Media Component
Meghan Sutherland In Media Res Media Component
 
Types of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptxTypes of Journalistic Writing Grade 8.pptx
Types of Journalistic Writing Grade 8.pptx
 
Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...Historical philosophical, theoretical, and legal foundations of special and i...
Historical philosophical, theoretical, and legal foundations of special and i...
 
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdfFraming an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
Framing an Appropriate Research Question 6b9b26d93da94caf993c038d9efcdedb.pdf
 
Presiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha electionsPresiding Officer Training module 2024 lok sabha elections
Presiding Officer Training module 2024 lok sabha elections
 
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
KSHARA STURA .pptx---KSHARA KARMA THERAPY (CAUSTIC THERAPY)————IMP.OF KSHARA ...
 
OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...OS-operating systems- ch04 (Threads) ...
OS-operating systems- ch04 (Threads) ...
 
Earth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice greatEarth Day Presentation wow hello nice great
Earth Day Presentation wow hello nice great
 
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPTECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
ECONOMIC CONTEXT - LONG FORM TV DRAMA - PPT
 
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdfEnzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
Enzyme, Pharmaceutical Aids, Miscellaneous Last Part of Chapter no 5th.pdf
 
Solving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptxSolving Puzzles Benefits Everyone (English).pptx
Solving Puzzles Benefits Everyone (English).pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
CELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptxCELL CYCLE Division Science 8 quarter IV.pptx
CELL CYCLE Division Science 8 quarter IV.pptx
 

Basics of Confidence Intervals

  • 1. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 1 February 23 Chapter 10: Basics of Confidence Intervals
  • 2. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 2 In Chapter 10: 10.1 Introduction to Estimation 10.2 Confidence Interval for μ (σ known) 10.3 Sample Size Requirements 10.4 Relationship Between Hypothesis Testing and Confidence Intervals
  • 3. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 3 §10.1: Introduction to Estimation Two forms of estimation • Point estimation ≡ most likely value of parameter (e.g., x-bar is point estimator of µ) • Interval estimation ≡ range of values with known likelihood of capturing the parameter, i.e., a confidence interval (CI)
  • 4. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 4 Reasoning Behind a 95% CI • The next slide demonstrates how CIs are based on sampling distributions • If we take multiple samples from the sample population, each sample will derive a different 95% CI • 95% of the CIs will capture μ & 5% will not
  • 5. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 5
  • 6. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 6 Confidence Interval for μ • To create a 95% confidence interval for μ, surround each sample mean with margin of error m: m ≈ 2×SE = 2×(σ/√n) • The 95% confidence interval for μ is: m x 
  • 7. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 7 Sampling distribution of a mean (curve). Below the curve are five CIs. In this example, all but the third CI captured μ
  • 8. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 8 “Body Weight” Example • Body weights of 20-29-year-old males have unknown μ and σ = 40 • Take an SRS of n = 712 from population • Calculate: x-bar =183 3 5 . 1 2 2 and 5 . 1 712 40         x x SE m n SE  pounds 186 to 180 3 183 for CI 95%      m x 
  • 9. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 9 Confidence Interval Formula Here is a more accurate and flexible formula x SE z x n z x       2 2 1 1 ly, Equivalent   
  • 10. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 10 Confidence level 1 – α Alpha level α Z value z1–(α/2) .90 .10 1.645 .95 .05 1.960 .99 .01 2.576 Common Levels of Confidence
  • 11. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 11 90% Confidence Interval for μ 5 . 185 to 5 . 180 5 . 2 183 712 40 645 . 1 183 for CI % 90 2 1 . 1           n z x   Data: SRS, n = 712, σ = 40, x-bar = 183
  • 12. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 12 95% Confidence Interval for μ 9 . 185 to 1 . 180 9 . 2 183 712 40 960 . 1 183 for CI % 95 2 05 . 1           n z x   Data: SRS, n = 712, σ = 40, x-bar = 183
  • 13. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 13 99% Confidence Interval for μ 9 . 186 to 1 . 179 9 . 3 183 712 40 576 . 2 183 for CI % 99 2 01 . 1           n z x   Data: SRS, n = 712, σ = 40, x-bar = 183
  • 14. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 14 Confidence Level and CI Length UCL ≡ Upper Confidence Limit; LCL ≡ Lower Limit; Confidence level Body weight example CI length = UCL – LCL 90% 180.5 to 185.5 185.5 – 180.5 = 5.0 95% 180.1 to 185.9 185.9 – 180.1 = 5.8 99% 179.1 to 186.9 186.9 – 179.1 = 7.8
  • 15. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 15 10.3 Sample Size Requirements 2 1 2          m z n   Ask: How large a sample is need to determine a (1 – α)100% CI with margin of error m? Illustrative example: Recall that WAIS has σ = 15. Suppose we want a 95% CI for μ For 95% confidence, α = .05, z1–.05/2 = z.975 = 1.96 (Continued on next slide)
  • 16. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 16 Illustrative Examples: Sample Size 35 6 . 34 5 15 96 . 1 use , 5 For 2 2 1 2                     m z n m   (1) Round up to ensure precision (2) Smaller m require larger n 139 3 . 138 5 . 2 15 96 . 1 use , 5 . 2 For 2            n m 865 4 . 864 1 15 96 . 1 use , 1 For 2            n m
  • 17. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 17 10.4 Relation Between Testing and Confidence Intervals Rule: Rejects H0 at α level of significance when μ0 falls outside the (1−α)100% CI. Illustration: Next slide
  • 18. 2/20/2023Basic Biostat 10: Intro to Confidence Intervals 18 Example: Testing and CIs Illustration: Test H0: μ = 180 This CI excludes 180 Reject H0 at α =.05 Retain H0 at α =.01 This CI includes 180

Editor's Notes

  1. 2/20/2023