Confidence Intervals Chapter 6
§  6.1 Confidence Intervals for the Mean  (Large Samples)
Point Estimate for Population  μ A  point estimate  is a single value estimate for a population parameter. The most unbiased point estimate of the population mean,   , is the   sample  mean,  Example : A random sample of 32 textbook prices (rounded to the nearest dollar)  is  taken from a local college bookstore.  Find a point estimate  for the population mean,   . The point estimate for the population mean of textbooks in the bookstore is $74.22. 101 88 67 45 110 90 68 45 121 98 98 96 95 94 90 87 87 87 86 79 74 67 66 65 65 56 54 45 45 38 34 34
Interval Estimate An  interval estimate  is an interval, or range of values, used to estimate a population parameter.  How confident do we want to be that the interval estimate contains the population mean,  μ ? Point estimate for textbooks • 74.22 interval estimate
Level of Confidence The  level of confidence  c  is the probability that the interval estimate contains the population parameter. c  is the area beneath the normal curve between the critical values.   The remaining area in the tails is 1 –  c  . Use the Standard Normal Table to find the corresponding  z - scores. z z  = 0  z c z c Critical values c (1 –  c )  (1 –  c )
Common Levels of Confidence If the level of confidence is 90%, this means that we are 90% confident that the interval contains the population mean,  μ . The corresponding  z - scores are ± 1.645.  z c   =    1.645 z c   =  1.645 z z  = 0  z c z c 0.90 0.05 0.05
Common Levels of Confidence If the level of confidence is 95%, this means that we are 95% confident that the interval contains the population mean,  μ . The corresponding  z - scores are ± 1.96.  z c   =    1.96 z c   =  1.96 z z  = 0  z c z c 0.95 0.025 0.025
Common Levels of Confidence If the level of confidence is 99%, this means that we are 99% confident that the interval contains the population mean,  μ . The corresponding  z - scores are ± 2.575.  z c   =    2.575 z c   =  2.575 z z  = 0  z c z c 0.99 0.005 0.005
Margin of Error The difference between the point estimate and the actual population parameter value is called the  sampling error .   Given a level of confidence, the  margin of error  (sometimes called the maximum error of estimate or error tolerance)  E  is the greatest possible distance between the point estimate and the value of the parameter it is estimating.  When  n     30, the sample standard deviation,  s , can be used for   . When  μ  is estimated, the sampling error is the difference  μ  –  .  Since  μ  is usually unknown, the maximum value for the error can be calculated using the level of confidence.
Margin of Error Example : A random sample of 32 textbook prices is taken from a  local college bookstore.  The mean of the sample is  = 74.22, and the sample standard deviation is  s  = 23.44.  Use a 95% confidence level and find the margin of error for the mean price of all textbooks in the bookstore.  We are 95% confident that the margin of error for the population mean (all the textbooks in the bookstore) is about $8.12. Since  n     30,  s  can be substituted for  σ.
Confidence Intervals for  μ A  c - confidence interval  for the population mean  μ  is   The probability that the confidence interval contains  μ  is  c . Continued. Construct a 95% confidence interval for the mean price of all textbooks in the bookstore. Example : A random sample of 32 textbook prices is taken from a local college bookstore.  The mean of the sample is  = 74.22, the sample standard deviation is  s  = 23.44, and the margin of error is  E  = 8.12.
Confidence Intervals for  μ Example continued : Construct a 95% confidence interval for the mean price of all textbooks in the bookstore.   s  = 23.44 E  = 8.12 With 95% confidence we can say that the cost for all textbooks in the bookstore is between $66.10 and $82.34. = 66.1 = 82.34 Left endpoint = ? Right endpoint = ? • • •
Finding Confidence Intervals for  μ Finding a Confidence Interval for a Population Mean  ( n     30 or  σ   known with a normally distributed population) In Words   In Symbols Find the sample statistics  n  and Specify   , if known.  Otherwise, if  n     30, find the sample standard deviation  s  and use it as an estimate for   . Find the critical value  z c  that corresponds to the given level of confidence. Find the margin of error  E . Find the left and right endpoints  and form the confidence interval. Use the Standard Normal Table.
Confidence Intervals for  μ  (    Known) Example : A random sample of 25 students had a grade point average with a mean of 2.86.  Past studies have shown that the standard deviation is 0.15 and the population is normally distributed.  Construct a 90% confidence interval for the population mean grade point average. n  = 25    =   0.15 z c  = 1.645 2.81 <  μ  < 2.91 With 90% confidence we can say that the mean grade point  average for all students in the population is between 2.81 and 2.91.
Sample Size Given a  c - confidence level and a maximum error of estimate,  E , the minimum sample size  n , needed to estimate   , the population mean, is If     is unknown, you can estimate it using  s  provided you have a preliminary sample with at least 30 members. Example :   You want to estimate the mean price of all the textbooks in the college bookstore.  How many books must be included in your sample if you want to be 99% confident that the sample mean is within $5 of the population mean? Continued.
Sample Size Example continued :  You want to estimate the mean price of all the textbooks in the college bookstore.  How many books must be included in your sample if you want to be 99% confident that the sample mean is within $5 of the population mean?       s =  23.44 z c  = 2.575 You should include at least 146 books in your sample.  (Always round  up .)
§ 6.2 Confidence Intervals for the Mean  (Small Samples)
The  t - Distribution Properties of the  t -distribution The  t -distribution is bell shaped and symmetric about the mean. The  t -distribution is a family of curves, each determined by a parameter called the degrees of freedom.  The  degrees of freedom  are the number of free choices left after a sample statistic such as  is calculated.  When you use a  t -distribution to estimate a population mean, the degrees of freedom are equal to one less than the sample size. d.f. =  n  – 1  Degrees of freedom Continued. When a sample size is less than 30, and the random variable  x  is approximately normally distributed, it follow a  t - distribution .
The  t - Distribution The total area under a  t - curve is 1 or 100%. The mean, median, and mode of the  t - distribution are equal to zero. As the degrees of freedom increase, the  t - distribution approaches the normal distribution.  After 30 d.f., the  t - distribution is very close to the standard normal  z - distribution. The tails in the  t - distribution are “thicker” than those in the standard normal distribution. t 0 Standard normal curve d.f. = 5 d.f. = 2
Critical Values of  t Example : Find the critical value  t c  for a 95% confidence when the sample size is 5. Appendix B: Table 5:  t -Distribution Continued. d.f. =  n  – 1 = 5 – 1 = 4 c  = 0.95 t c  = 2.776 3.365 2.571 2.015 1.476 .727 5 3.747 2.776 2.132 1.533 .741 4 4.541 3.182 2.353 1.638 .765 3 6.965 4.303 2.920 1.886 .816 2 31.821 12.706 6.314 3.078 1.000 1 0.02 0.05 0.10 0.20 0.50 Two tails,   d.f. 0.01 0.025 0.05 0.10 0.25 One tail,   0.98 0.95 0.90 0.80 0.50 Level of confidence,  c
Critical Values of  t Example continued : Find the critical value  t c  for a 95% confidence when the sample size is 5. 95% of the area under the  t -distribution curve with 4 degrees of freedom lies between  t  = ±2.776. t  t c  =    2.776 t c  = 2.776 c  = 0.95
Confidence Intervals and  t - Distributions Constructing a Confidence Interval for the Mean:  t -Distribution In Words  In Symbols Identify the sample statistics  n ,  and  s . Identify the degrees of freedom, the level of confidence  c , and the critical value  t c . Find the margin of error  E . Find the left and right endpoints and form the confidence interval. d.f. =  n  – 1
Constructing a Confidence Interval Example : In a random sample of 20 customers at a local fast food restaurant, the mean waiting time to order is 95 seconds, and the standard deviation is 21 seconds.  Assume the wait times are normally distributed and construct a 90% confidence interval for the mean wait time of all customers.  We are 90% confident that the mean wait time for all customers is between 86.9 and 103.1 seconds.  s =  21 t c  = 1.729 n  = 20 d.f.   = 19 86.9 <  μ  < 103.1
Normal or  t -Distribution? Is n    30? Is the population normally, or approximately normally, distributed? You cannot use the normal distribution or the  t -distribution.  Is    known? No Yes No Use the normal distribution with If    is unknown, use  s  instead. Yes No Use the normal distribution with Yes Use the  t - distribution with  and  n  – 1 degrees of freedom.
Normal or  t -Distribution? Example : Determine whether to use the normal distribution, the  t - distribution, or neither. a.)  n  = 50, the distribution is skewed,  s  = 2.5 The normal distribution would be used because the sample size is 50. b.)  n  = 25, the distribution is skewed,  s  = 52.9 Neither distribution would be used because  n  < 30 and the distribution is skewed. c.)  n  = 25, the distribution is normal,    = 4.12 The normal distribution would be used because although n < 30, the population standard deviation is known.
§  6.3 Confidence Intervals for Population Proportions
Point Estimate for Population  p The probability of success in a single trial of a binomial experiment is  p .  This probability is a population  proportion .  The point estimate for  p , the population proportion of successes, is given by the proportion of successes in a sample and is denoted by  where  x  is the number of successes in the sample and  n  is the number in the sample.  The point estimate for the proportion of failures is  = 1 –  The symbols  and  are read as “ p  hat” and “ q  hat.”
Point Estimate for Population  p Example : In a survey of 1250 US adults, 450 of them said that their favorite sport to watch is baseball.  Find a point estimate for the population proportion of US adults who say their favorite sport to watch is baseball. The point estimate for the proportion of US adults who say baseball is their favorite sport to watch is 0.36, or 36%. n  = 1250  x  = 450
Confidence Intervals for  p A  c - confidence interval  for the population proportion  p  is   where The probability that the confidence interval contains  p  is  c . Example : Construct a 90% confidence interval for the proportion of US adults who say baseball is their favorite sport to watch. Continued. n  = 1250  x  = 450
Confidence Intervals for  p Example continued : With 90% confidence we can say that the proportion of all US adults who say baseball is their favorite sport to watch is between 33.8% and 38.2%. n  = 1250  x  = 450  Left endpoint = ? Right endpoint = ? • • •
Finding Confidence Intervals for  p Constructing a Confidence Interval for a Population Proportion In Words   In Symbols Identify the sample statistics  n  and  x. Find the point estimate  Verify that the sampling distribution can be approximated by the normal distribution. Find the critical value  z c  that corresponds to the given level of confidence. Find the margin of error  E . Find the left and right endpoints and  form the confidence interval. Use the Standard Normal Table. Left endpoint :   Right endpoint :  Interval :
Sample Size Given a  c - confidence level and a margin of error,  E , the minimum sample size  n , needed to estimate  p  is This formula assumes you have an estimate for  and  If not, use  and  Example :   You wish to find out, with 95% confidence and within 2% of the true population, the proportion of US adults who say that baseball is their favorite sport to watch.  Continued.
Sample Size You should sample at least 2213 adults to be 95% confident. (Always round  up .) Example continued :   You wish to find out, with 95% confidence and within 2% of the true population, the proportion of US adults who say that baseball is their favorite sport to watch.  n  = 1250  x  = 450
§  6.4 Confidence Intervals for Variance and Standard Deviation
The Chi - Square Distribution The  point   estimate for   2  is  s 2 , and the  point estimate for     is  s .  s 2  is the most unbiased estimate for   2 .  You can use the  chi - square distribution  to construct a confidence interval for the variance and standard deviation. If the random variable  x  has a normal distribution, then the distribution of  forms a  chi - square distribution  for samples of any size  n  > 1.
The Chi - Square Distribution Four properties of the  chi - square distribution are as follows. All chi-square values  χ 2  are greater than or equal to zero. The chi-square distribution is a family of curves, each determined by the degrees of freedom.  To form a confidence interval for   2 , use the  χ 2 - distribution with degrees of freedom.  To form a confidence interval for   2 , use the  χ 2 - distribution with degrees of freedom equal to one less than the sample size. The area under each curve of the chi-square distribution equals one. Find the critical value  z c  that corresponds to the given level of confidence. Chi-square distributions are positively skewed.
Critical Values for  X 2 There are two critical values for each level of confidence.  The value  χ 2 R  represents the right - tail critical value and  χ 2 L  represents the left - tail critical value.  The area between the left and right critical values is  c . X 2 X 2 R Area to the right of  X 2 R X 2 X 2 L Area to the right of  X 2 L X 2 X 2 R X 2 L c
Critical Values for  X 2 Example : Find the critical values  χ 2 R  and  χ 2 L  for an 80% confidence when the sample size is 18. Continued. Because the sample size is 18, there are    d.f. =  n   –  1 = 18 – 1 = 17 degrees of freedom, Use the Chi - square distribution table to find the critical values. Area to the right of  χ 2 R  =  Area to the right of  χ 2 L  =
Critical Values for  X 2 Example continued : Appendix B: Table 6:  χ 2 - Distribution χ 2 R  = 24.769  χ 2 L  = 10.085  6.251 4.605 2.706 0.10 0.216 0.051 0.001 0.975 7.815 0.584 0.352 0.115 0.072 3 5.991 0.211 0.103 0.020 0.010 2 3.841 0.016 0.004 - - 1 0.05 0.90 0.95 0.99 0.995 freedom  Degrees of 25.989 24.769 23.542 8.231 7.564 6.908 28.869 10.865 9.390 7.015 6.265 18 27.587 10.085 8.672 6.408 5.697 17 26.296 9.312 7.962 5.812 5.142 16
Confidence Intervals for   2  and    A  c - confidence interval  for a population variance and standard deviation is as follows.   The probability that the confidence intervals contain   2  or     is c . Confidence Interval for   2 : Confidence Interval for   :
Confidence Intervals for   2   and   Constructing a Confidence Interval for a Variance and a Standard Deviation In Words   In Symbols Verify that the population has a normal distribution. Identify the sample statistic  n  and the degrees of freedom. Find the point estimate  s 2 .  Find the critical value  χ 2 R  and  χ 2 L  that correspond to the given level of confidence. Use Table 6 in Appendix B. Continued.
Confidence Intervals for   2   and   Constructing a Confidence Interval for a Variance and a Standard Deviation In Words   In Symbols Find the left and right endpoints and form the confidence interval. Find the confidence interval for the population standard deviation by taking the square root of each endpoint.
Constructing a Confidence Interval Example : You randomly select and weigh 41 samples of 16-ounce bags of potato chips.  The sample standard deviation is 0.05 ounce.  Assuming the weights are normally distributed, construct a 90% confidence interval for the population standard deviation. d.f. =  n   –  1 = 41 – 1 = 40 degrees of freedom, The critical values are  χ 2 R  = 55.758 and  χ 2 L  = 26.509. Continued. Area to the right of  χ 2 R  =  Area to the right of  χ 2 L  =
Constructing a Confidence Interval Example continued : χ 2 R  = 55.758 χ 2 L  = 26.509 With 90% confidence we can say that the population standard deviation is between 0.04 and 0.06 ounces. Left endpoint = ? Right endpoint = ? • •

More Related Content

PPTX
Estimation and confidence interval
PDF
Confidence Intervals: Basic concepts and overview
PPTX
Confidence interval
PPTX
Confidence interval
PDF
Statistics lecture 8 (chapter 7)
PPT
Ch4 Confidence Interval
PPT
Confidence intervals
PPT
Chapter 7 – Confidence Intervals And Sample Size
Estimation and confidence interval
Confidence Intervals: Basic concepts and overview
Confidence interval
Confidence interval
Statistics lecture 8 (chapter 7)
Ch4 Confidence Interval
Confidence intervals
Chapter 7 – Confidence Intervals And Sample Size

What's hot (20)

PPTX
Basics of Hypothesis Testing
PPTX
Normal distribution
PPTX
Normal distribution
PPTX
STATISTICS: Normal Distribution
PPTX
Statistical inference concept, procedure of hypothesis testing
PPTX
Statistical tests
PDF
Hypothesis testing
PDF
Standard deviation and standard error
PPT
Sampling distribution
PPT
Normal Probability Distribution
PPTX
PPTX
Confidence interval & probability statements
PPTX
Kolmogorov Smirnov
PPTX
Normal Probabilty Distribution and its Problems
PDF
Kolmogorov Smirnov good-of-fit test
PPTX
One sided or one-tailed tests
PPTX
6. point and interval estimation
PDF
Probability Distributions
PPTX
Normal Curve
Basics of Hypothesis Testing
Normal distribution
Normal distribution
STATISTICS: Normal Distribution
Statistical inference concept, procedure of hypothesis testing
Statistical tests
Hypothesis testing
Standard deviation and standard error
Sampling distribution
Normal Probability Distribution
Confidence interval & probability statements
Kolmogorov Smirnov
Normal Probabilty Distribution and its Problems
Kolmogorov Smirnov good-of-fit test
One sided or one-tailed tests
6. point and interval estimation
Probability Distributions
Normal Curve
Ad

Viewers also liked (20)

PPT
Chapter 3 Confidence Interval
PPTX
Point and Interval Estimation
PPTX
Theory of estimation
PPT
Confidence Intervals And The T Distribution
PPT
Chapter 09
PPTX
Confidence intervals for the mean (large samples)
PPTX
Hypothesis testing ppt final
PPT
Hypothesis Testing
PPT
Test of hypothesis
PPTX
L10 confidence intervals
PPT
Les5e ppt 06
PDF
Point Estimate, Confidence Interval, Hypotesis tests
PPTX
Point estimate for a population proportion p
ODP
Power, Effect Sizes, Confidence Intervals, & Academic Integrity
PPT
Normal Distribution
PPTX
Introduction to Analysis of Variance
PPT
Lecture 7 Hypothesis Testing Two Sample
PPT
Normal distribution stat
PPTX
Etikal na pananaliksik at mga responsibilidad ng mananaliksik
PPTX
Correlation and regression
Chapter 3 Confidence Interval
Point and Interval Estimation
Theory of estimation
Confidence Intervals And The T Distribution
Chapter 09
Confidence intervals for the mean (large samples)
Hypothesis testing ppt final
Hypothesis Testing
Test of hypothesis
L10 confidence intervals
Les5e ppt 06
Point Estimate, Confidence Interval, Hypotesis tests
Point estimate for a population proportion p
Power, Effect Sizes, Confidence Intervals, & Academic Integrity
Normal Distribution
Introduction to Analysis of Variance
Lecture 7 Hypothesis Testing Two Sample
Normal distribution stat
Etikal na pananaliksik at mga responsibilidad ng mananaliksik
Correlation and regression
Ad

Similar to Confidence Intervals (20)

PPT
Statistik 1 7 estimasi & ci
PPT
Chapter09
PPTX
M1-4 Estimasi Titik dan Intervaltttt.pptx
PPT
PHILIPPINE STATISTCICS UNIT~2.POWER POINT T SAMPLE
PPT
PPT
Business Statistics CHapter six power points
PPT
Chapter 7 – Confidence Intervals And Sample Size
PPT
PPT
Msb12e ppt ch06
PPTX
Business Analytics _ Confidence Interval
PPTX
Confidence interval statistics two .pptx
PPT
STATS_Q4_1.powerpoint presentation in....
PPT
Inferential statistics-estimation
PPTX
estimation.pptx
PPT
Chapter 7 note Estimation.ppt biostatics
PPTX
Chapter 8 review
PPTX
. Estimation Of Parameters presentation pptx
PPT
Chapter 09
PPTX
STATISTICAL INTERVALS 2.pptx staticssmsokso
PPTX
Estimating a Population Mean
Statistik 1 7 estimasi & ci
Chapter09
M1-4 Estimasi Titik dan Intervaltttt.pptx
PHILIPPINE STATISTCICS UNIT~2.POWER POINT T SAMPLE
Business Statistics CHapter six power points
Chapter 7 – Confidence Intervals And Sample Size
Msb12e ppt ch06
Business Analytics _ Confidence Interval
Confidence interval statistics two .pptx
STATS_Q4_1.powerpoint presentation in....
Inferential statistics-estimation
estimation.pptx
Chapter 7 note Estimation.ppt biostatics
Chapter 8 review
. Estimation Of Parameters presentation pptx
Chapter 09
STATISTICAL INTERVALS 2.pptx staticssmsokso
Estimating a Population Mean

More from mandalina landy (20)

PPT
securitization+musyarakah+murabahah+and+ijarah
PPTX
Presentation final
DOC
PERBEZAAN PELABURAN DALAM PASARAN MODAL ISLAM DENGAN PASARAN MODAL KONVENSIONAL
DOC
Glossary islamic finance intruments
PPT
securitization+musyarakah+murabahah+and+ijarah
DOC
KAJIAN MENGENAI AMALAN DAN TINGKAHLAKU PENGGUNA TERHADAP PENGGUNAAN LESTARI K...
DOC
Pembangunan Lestari Pengertian Dan Pengukur
PPT
Perbezaan Pelaburan dalam Pasaran Modal Islam dengan Pasaran Modal Konvensional
PPTX
Keselamatan barangan plastik
PPT
Tahap Kepuasan Mahasiswa Terhadap Perkhidmatan Bas Di Universiti Putra Malays...
PPT
KEPUASAN PERUMAHAN DAN PERSEKITARAN REMAJA DI RUMAH PANGSA, KUALA LUMPUR
PPT
teori percampuran dan pertukaran musyarakah
PPT
sukuk - islamic bond
PPT
securitization and musyarakah+murabahah and ijarah
PPT
shirkah dan mudharabah
PPT
bai as-salam and istisna
PPT
islam dan perniagaan
PPT
al ijarah
PPT
murabaha and bai bithaman ajil (kontrak jual beli)
PPT
transaksi yang dilarang dlm syariah islam
securitization+musyarakah+murabahah+and+ijarah
Presentation final
PERBEZAAN PELABURAN DALAM PASARAN MODAL ISLAM DENGAN PASARAN MODAL KONVENSIONAL
Glossary islamic finance intruments
securitization+musyarakah+murabahah+and+ijarah
KAJIAN MENGENAI AMALAN DAN TINGKAHLAKU PENGGUNA TERHADAP PENGGUNAAN LESTARI K...
Pembangunan Lestari Pengertian Dan Pengukur
Perbezaan Pelaburan dalam Pasaran Modal Islam dengan Pasaran Modal Konvensional
Keselamatan barangan plastik
Tahap Kepuasan Mahasiswa Terhadap Perkhidmatan Bas Di Universiti Putra Malays...
KEPUASAN PERUMAHAN DAN PERSEKITARAN REMAJA DI RUMAH PANGSA, KUALA LUMPUR
teori percampuran dan pertukaran musyarakah
sukuk - islamic bond
securitization and musyarakah+murabahah and ijarah
shirkah dan mudharabah
bai as-salam and istisna
islam dan perniagaan
al ijarah
murabaha and bai bithaman ajil (kontrak jual beli)
transaksi yang dilarang dlm syariah islam

Recently uploaded (20)

PPTX
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
PPT
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PPTX
Training Program for knowledge in solar cell and solar industry
PDF
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
PDF
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
PPTX
Internet of Everything -Basic concepts details
PDF
Rapid Prototyping: A lecture on prototyping techniques for interface design
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PPTX
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
PPTX
Configure Apache Mutual Authentication
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PPTX
MuleSoft-Compete-Deck for midddleware integrations
PDF
Enhancing plagiarism detection using data pre-processing and machine learning...
PPTX
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
DOCX
search engine optimization ppt fir known well about this
GROUP4NURSINGINFORMATICSREPORT-2 PRESENTATION
Galois Field Theory of Risk: A Perspective, Protocol, and Mathematical Backgr...
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
sustainability-14-14877-v2.pddhzftheheeeee
Advancing precision in air quality forecasting through machine learning integ...
Early detection and classification of bone marrow changes in lumbar vertebrae...
Training Program for knowledge in solar cell and solar industry
The-Future-of-Automotive-Quality-is-Here-AI-Driven-Engineering.pdf
Transform-Your-Factory-with-AI-Driven-Quality-Engineering.pdf
Internet of Everything -Basic concepts details
Rapid Prototyping: A lecture on prototyping techniques for interface design
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
AI-driven Assurance Across Your End-to-end Network With ThousandEyes
Configure Apache Mutual Authentication
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
MuleSoft-Compete-Deck for midddleware integrations
Enhancing plagiarism detection using data pre-processing and machine learning...
AI IN MARKETING- PRESENTED BY ANWAR KABIR 1st June 2025.pptx
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
search engine optimization ppt fir known well about this

Confidence Intervals

  • 2. § 6.1 Confidence Intervals for the Mean (Large Samples)
  • 3. Point Estimate for Population μ A point estimate is a single value estimate for a population parameter. The most unbiased point estimate of the population mean,  , is the sample mean, Example : A random sample of 32 textbook prices (rounded to the nearest dollar) is taken from a local college bookstore. Find a point estimate for the population mean,  . The point estimate for the population mean of textbooks in the bookstore is $74.22. 101 88 67 45 110 90 68 45 121 98 98 96 95 94 90 87 87 87 86 79 74 67 66 65 65 56 54 45 45 38 34 34
  • 4. Interval Estimate An interval estimate is an interval, or range of values, used to estimate a population parameter. How confident do we want to be that the interval estimate contains the population mean, μ ? Point estimate for textbooks • 74.22 interval estimate
  • 5. Level of Confidence The level of confidence c is the probability that the interval estimate contains the population parameter. c is the area beneath the normal curve between the critical values. The remaining area in the tails is 1 – c . Use the Standard Normal Table to find the corresponding z - scores. z z = 0  z c z c Critical values c (1 – c ) (1 – c )
  • 6. Common Levels of Confidence If the level of confidence is 90%, this means that we are 90% confident that the interval contains the population mean, μ . The corresponding z - scores are ± 1.645.  z c =  1.645 z c = 1.645 z z = 0  z c z c 0.90 0.05 0.05
  • 7. Common Levels of Confidence If the level of confidence is 95%, this means that we are 95% confident that the interval contains the population mean, μ . The corresponding z - scores are ± 1.96.  z c =  1.96 z c = 1.96 z z = 0  z c z c 0.95 0.025 0.025
  • 8. Common Levels of Confidence If the level of confidence is 99%, this means that we are 99% confident that the interval contains the population mean, μ . The corresponding z - scores are ± 2.575.  z c =  2.575 z c = 2.575 z z = 0  z c z c 0.99 0.005 0.005
  • 9. Margin of Error The difference between the point estimate and the actual population parameter value is called the sampling error . Given a level of confidence, the margin of error (sometimes called the maximum error of estimate or error tolerance) E is the greatest possible distance between the point estimate and the value of the parameter it is estimating. When n  30, the sample standard deviation, s , can be used for  . When μ is estimated, the sampling error is the difference μ – . Since μ is usually unknown, the maximum value for the error can be calculated using the level of confidence.
  • 10. Margin of Error Example : A random sample of 32 textbook prices is taken from a local college bookstore. The mean of the sample is = 74.22, and the sample standard deviation is s = 23.44. Use a 95% confidence level and find the margin of error for the mean price of all textbooks in the bookstore. We are 95% confident that the margin of error for the population mean (all the textbooks in the bookstore) is about $8.12. Since n  30, s can be substituted for σ.
  • 11. Confidence Intervals for μ A c - confidence interval for the population mean μ is The probability that the confidence interval contains μ is c . Continued. Construct a 95% confidence interval for the mean price of all textbooks in the bookstore. Example : A random sample of 32 textbook prices is taken from a local college bookstore. The mean of the sample is = 74.22, the sample standard deviation is s = 23.44, and the margin of error is E = 8.12.
  • 12. Confidence Intervals for μ Example continued : Construct a 95% confidence interval for the mean price of all textbooks in the bookstore. s = 23.44 E = 8.12 With 95% confidence we can say that the cost for all textbooks in the bookstore is between $66.10 and $82.34. = 66.1 = 82.34 Left endpoint = ? Right endpoint = ? • • •
  • 13. Finding Confidence Intervals for μ Finding a Confidence Interval for a Population Mean ( n  30 or σ known with a normally distributed population) In Words In Symbols Find the sample statistics n and Specify  , if known. Otherwise, if n  30, find the sample standard deviation s and use it as an estimate for  . Find the critical value z c that corresponds to the given level of confidence. Find the margin of error E . Find the left and right endpoints and form the confidence interval. Use the Standard Normal Table.
  • 14. Confidence Intervals for μ (  Known) Example : A random sample of 25 students had a grade point average with a mean of 2.86. Past studies have shown that the standard deviation is 0.15 and the population is normally distributed. Construct a 90% confidence interval for the population mean grade point average. n = 25  = 0.15 z c = 1.645 2.81 < μ < 2.91 With 90% confidence we can say that the mean grade point average for all students in the population is between 2.81 and 2.91.
  • 15. Sample Size Given a c - confidence level and a maximum error of estimate, E , the minimum sample size n , needed to estimate  , the population mean, is If  is unknown, you can estimate it using s provided you have a preliminary sample with at least 30 members. Example : You want to estimate the mean price of all the textbooks in the college bookstore. How many books must be included in your sample if you want to be 99% confident that the sample mean is within $5 of the population mean? Continued.
  • 16. Sample Size Example continued : You want to estimate the mean price of all the textbooks in the college bookstore. How many books must be included in your sample if you want to be 99% confident that the sample mean is within $5 of the population mean?   s = 23.44 z c = 2.575 You should include at least 146 books in your sample. (Always round up .)
  • 17. § 6.2 Confidence Intervals for the Mean (Small Samples)
  • 18. The t - Distribution Properties of the t -distribution The t -distribution is bell shaped and symmetric about the mean. The t -distribution is a family of curves, each determined by a parameter called the degrees of freedom. The degrees of freedom are the number of free choices left after a sample statistic such as is calculated. When you use a t -distribution to estimate a population mean, the degrees of freedom are equal to one less than the sample size. d.f. = n – 1 Degrees of freedom Continued. When a sample size is less than 30, and the random variable x is approximately normally distributed, it follow a t - distribution .
  • 19. The t - Distribution The total area under a t - curve is 1 or 100%. The mean, median, and mode of the t - distribution are equal to zero. As the degrees of freedom increase, the t - distribution approaches the normal distribution. After 30 d.f., the t - distribution is very close to the standard normal z - distribution. The tails in the t - distribution are “thicker” than those in the standard normal distribution. t 0 Standard normal curve d.f. = 5 d.f. = 2
  • 20. Critical Values of t Example : Find the critical value t c for a 95% confidence when the sample size is 5. Appendix B: Table 5: t -Distribution Continued. d.f. = n – 1 = 5 – 1 = 4 c = 0.95 t c = 2.776 3.365 2.571 2.015 1.476 .727 5 3.747 2.776 2.132 1.533 .741 4 4.541 3.182 2.353 1.638 .765 3 6.965 4.303 2.920 1.886 .816 2 31.821 12.706 6.314 3.078 1.000 1 0.02 0.05 0.10 0.20 0.50 Two tails,  d.f. 0.01 0.025 0.05 0.10 0.25 One tail,  0.98 0.95 0.90 0.80 0.50 Level of confidence, c
  • 21. Critical Values of t Example continued : Find the critical value t c for a 95% confidence when the sample size is 5. 95% of the area under the t -distribution curve with 4 degrees of freedom lies between t = ±2.776. t  t c =  2.776 t c = 2.776 c = 0.95
  • 22. Confidence Intervals and t - Distributions Constructing a Confidence Interval for the Mean: t -Distribution In Words In Symbols Identify the sample statistics n , and s . Identify the degrees of freedom, the level of confidence c , and the critical value t c . Find the margin of error E . Find the left and right endpoints and form the confidence interval. d.f. = n – 1
  • 23. Constructing a Confidence Interval Example : In a random sample of 20 customers at a local fast food restaurant, the mean waiting time to order is 95 seconds, and the standard deviation is 21 seconds. Assume the wait times are normally distributed and construct a 90% confidence interval for the mean wait time of all customers. We are 90% confident that the mean wait time for all customers is between 86.9 and 103.1 seconds. s = 21 t c = 1.729 n = 20 d.f. = 19 86.9 < μ < 103.1
  • 24. Normal or t -Distribution? Is n  30? Is the population normally, or approximately normally, distributed? You cannot use the normal distribution or the t -distribution. Is  known? No Yes No Use the normal distribution with If  is unknown, use s instead. Yes No Use the normal distribution with Yes Use the t - distribution with and n – 1 degrees of freedom.
  • 25. Normal or t -Distribution? Example : Determine whether to use the normal distribution, the t - distribution, or neither. a.) n = 50, the distribution is skewed, s = 2.5 The normal distribution would be used because the sample size is 50. b.) n = 25, the distribution is skewed, s = 52.9 Neither distribution would be used because n < 30 and the distribution is skewed. c.) n = 25, the distribution is normal,  = 4.12 The normal distribution would be used because although n < 30, the population standard deviation is known.
  • 26. § 6.3 Confidence Intervals for Population Proportions
  • 27. Point Estimate for Population p The probability of success in a single trial of a binomial experiment is p . This probability is a population proportion . The point estimate for p , the population proportion of successes, is given by the proportion of successes in a sample and is denoted by where x is the number of successes in the sample and n is the number in the sample. The point estimate for the proportion of failures is = 1 – The symbols and are read as “ p hat” and “ q hat.”
  • 28. Point Estimate for Population p Example : In a survey of 1250 US adults, 450 of them said that their favorite sport to watch is baseball. Find a point estimate for the population proportion of US adults who say their favorite sport to watch is baseball. The point estimate for the proportion of US adults who say baseball is their favorite sport to watch is 0.36, or 36%. n = 1250 x = 450
  • 29. Confidence Intervals for p A c - confidence interval for the population proportion p is where The probability that the confidence interval contains p is c . Example : Construct a 90% confidence interval for the proportion of US adults who say baseball is their favorite sport to watch. Continued. n = 1250 x = 450
  • 30. Confidence Intervals for p Example continued : With 90% confidence we can say that the proportion of all US adults who say baseball is their favorite sport to watch is between 33.8% and 38.2%. n = 1250 x = 450 Left endpoint = ? Right endpoint = ? • • •
  • 31. Finding Confidence Intervals for p Constructing a Confidence Interval for a Population Proportion In Words In Symbols Identify the sample statistics n and x. Find the point estimate Verify that the sampling distribution can be approximated by the normal distribution. Find the critical value z c that corresponds to the given level of confidence. Find the margin of error E . Find the left and right endpoints and form the confidence interval. Use the Standard Normal Table. Left endpoint : Right endpoint : Interval :
  • 32. Sample Size Given a c - confidence level and a margin of error, E , the minimum sample size n , needed to estimate p is This formula assumes you have an estimate for and If not, use and Example : You wish to find out, with 95% confidence and within 2% of the true population, the proportion of US adults who say that baseball is their favorite sport to watch. Continued.
  • 33. Sample Size You should sample at least 2213 adults to be 95% confident. (Always round up .) Example continued : You wish to find out, with 95% confidence and within 2% of the true population, the proportion of US adults who say that baseball is their favorite sport to watch. n = 1250 x = 450
  • 34. § 6.4 Confidence Intervals for Variance and Standard Deviation
  • 35. The Chi - Square Distribution The point estimate for  2 is s 2 , and the point estimate for  is s . s 2 is the most unbiased estimate for  2 . You can use the chi - square distribution to construct a confidence interval for the variance and standard deviation. If the random variable x has a normal distribution, then the distribution of forms a chi - square distribution for samples of any size n > 1.
  • 36. The Chi - Square Distribution Four properties of the chi - square distribution are as follows. All chi-square values χ 2 are greater than or equal to zero. The chi-square distribution is a family of curves, each determined by the degrees of freedom. To form a confidence interval for  2 , use the χ 2 - distribution with degrees of freedom. To form a confidence interval for  2 , use the χ 2 - distribution with degrees of freedom equal to one less than the sample size. The area under each curve of the chi-square distribution equals one. Find the critical value z c that corresponds to the given level of confidence. Chi-square distributions are positively skewed.
  • 37. Critical Values for X 2 There are two critical values for each level of confidence. The value χ 2 R represents the right - tail critical value and χ 2 L represents the left - tail critical value. The area between the left and right critical values is c . X 2 X 2 R Area to the right of X 2 R X 2 X 2 L Area to the right of X 2 L X 2 X 2 R X 2 L c
  • 38. Critical Values for X 2 Example : Find the critical values χ 2 R and χ 2 L for an 80% confidence when the sample size is 18. Continued. Because the sample size is 18, there are d.f. = n – 1 = 18 – 1 = 17 degrees of freedom, Use the Chi - square distribution table to find the critical values. Area to the right of χ 2 R = Area to the right of χ 2 L =
  • 39. Critical Values for X 2 Example continued : Appendix B: Table 6: χ 2 - Distribution χ 2 R = 24.769 χ 2 L = 10.085 6.251 4.605 2.706 0.10 0.216 0.051 0.001 0.975 7.815 0.584 0.352 0.115 0.072 3 5.991 0.211 0.103 0.020 0.010 2 3.841 0.016 0.004 - - 1 0.05 0.90 0.95 0.99 0.995 freedom  Degrees of 25.989 24.769 23.542 8.231 7.564 6.908 28.869 10.865 9.390 7.015 6.265 18 27.587 10.085 8.672 6.408 5.697 17 26.296 9.312 7.962 5.812 5.142 16
  • 40. Confidence Intervals for  2 and  A c - confidence interval for a population variance and standard deviation is as follows. The probability that the confidence intervals contain  2 or  is c . Confidence Interval for  2 : Confidence Interval for  :
  • 41. Confidence Intervals for  2 and  Constructing a Confidence Interval for a Variance and a Standard Deviation In Words In Symbols Verify that the population has a normal distribution. Identify the sample statistic n and the degrees of freedom. Find the point estimate s 2 . Find the critical value χ 2 R and χ 2 L that correspond to the given level of confidence. Use Table 6 in Appendix B. Continued.
  • 42. Confidence Intervals for  2 and  Constructing a Confidence Interval for a Variance and a Standard Deviation In Words In Symbols Find the left and right endpoints and form the confidence interval. Find the confidence interval for the population standard deviation by taking the square root of each endpoint.
  • 43. Constructing a Confidence Interval Example : You randomly select and weigh 41 samples of 16-ounce bags of potato chips. The sample standard deviation is 0.05 ounce. Assuming the weights are normally distributed, construct a 90% confidence interval for the population standard deviation. d.f. = n – 1 = 41 – 1 = 40 degrees of freedom, The critical values are χ 2 R = 55.758 and χ 2 L = 26.509. Continued. Area to the right of χ 2 R = Area to the right of χ 2 L =
  • 44. Constructing a Confidence Interval Example continued : χ 2 R = 55.758 χ 2 L = 26.509 With 90% confidence we can say that the population standard deviation is between 0.04 and 0.06 ounces. Left endpoint = ? Right endpoint = ? • •