m5s1 confidence intervals
play

M5S1 - Confidence Intervals Professor Jarad Niemi STAT 226 - Iowa - PowerPoint PPT Presentation

M5S1 - Confidence Intervals Professor Jarad Niemi STAT 226 - Iowa State University October 9, 2018 Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 1 / 9 Outline Confidence intervals for the population mean


  1. M5S1 - Confidence Intervals Professor Jarad Niemi STAT 226 - Iowa State University October 9, 2018 Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 1 / 9

  2. Outline Confidence intervals for the population mean when the population standard deviation is known Relation to Central Limit Theorem Based on the Empirical Rule Finding z critical values significance level confidence level margin of error Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 2 / 9

  3. Confidence interval for population mean Central Limit Theorem Sample mean as an estimator for the population mean ∼ N ( µ, σ 2 /n ) where · Recall that due to the CLT, X � n X = 1 i =1 X i is the (random) sample mean, n µ is the population mean, σ 2 is the population variance, and n is the sample size. Suppose µ is unknown. Then X is an unbiased estimator for µ , since E [ X ] = µ, and its variability decreases with increased sample size since V ar [ X ] = σ/ √ n. � SD [ X ] = How can we use this knowledge to describe our uncertainty in µ ? Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 3 / 9

  4. Confidence interval for population mean Central Limit Theorem How close is X to µ ? Sampling distribution for sample mean σ σ σ µ σ σ σ µ − 3 µ − 2 µ − µ + µ + 2 µ + 3 n n n n n n Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 4 / 9

  5. Confidence interval for population mean Empirical Rule Confidence Intervals Empirical Rule Confidence Intervals From the Central Limit Theorem, we can write � � σ σ P µ − √ n < X < µ + ≈ 0 . 68 √ n � � µ − 2 σ √ n < X < µ + 2 σ P ≈ 0 . 95 √ n � � µ − 3 σ √ n < X < µ + 3 σ P ≈ 0 . 997 √ n We can rewrite these inequalities by subtracting X , subtracting µ , and multiplying by -1: � � σ σ P X − √ n < µ < X + ≈ 0 . 68 √ n � � X − 2 σ √ n < µ < X + 2 σ P ≈ 0 . 95 √ n � � X − 3 σ √ n < µ < X + 3 σ P ≈ 0 . 997 √ n � � σ σ We will call these intervals, e.g. X − √ n , X + , confidence intervals and √ n their confidence level is the probability (usually written as a percentage). Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 5 / 9

  6. Confidence interval for population mean Empirical Rule Confidence Intervals Example US Bank provides students with savings accounts having no monthly maintenance fee and a low minimum monthly transfer. US Bank is interested in knowing the mean monthly balance of all its student savings accounts. They know the standard deviation of balances is $20. They take a random sample of 64 student savings accounts and record that at the end of the month the sample mean savings was $105. Construct a 68% confidence interval for the mean monthly balance. Let X i be the end of the month balance for student i . Then E [ X i ] = µ , the mean monthly balance, is unknown, but SD [ X i ] = σ = $20 is known. We obtained a sample of size n = 64 with a sample mean x = $105 . To obtain the 68% confidence interval for µ , we calculate � � σ σ σ x ± = x − √ n , x + √ n √ n � � $105 − $20 64 , $105 + $20 = √ √ 64 = ($102 . 5 , $107 . 5) Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 6 / 9

  7. Confidence interval for population mean General Confidence Intervals Confidence Intervals for µ when σ is known Definition Let µ be the population mean and σ be the known population standard deviation. Choose a significance level α which you can convert to a confidence level C = 100(1 − α )% and a z critical value z α/ 2 where P ( Z > z α/ 2 ) = α/ 2 . You obtain a random sample of observations from the population and calculate the sample mean X . Then a C = 100(1 − α ) % confidence interval for µ is � � σ σ σ X ± z α/ 2 √ n = X − z α/ 2 √ n, X + z α/ 2 √ n where z α/ 2 · σ/ √ n is called the margin of error. Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 7 / 9

  8. Confidence interval for population mean General Confidence Intervals Finding z critical values 0.4 0.3 dnorm(x) 0.2 0.1 0.0 z α 2 −4 −2 0 2 4 x Recall that P ( Z > z α/ 2 ) = P ( Z < − z α/ 2 ) . Check that C α α/ 2 z α/ 2 68% 0 . 32 0 . 16 ≈ 1 95% 0 . 05 0 . 025 ≈ 2 99 . 7% 0 . 003 0 . 0015 ≈ 3 Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 8 / 9

  9. Confidence interval for population mean General Confidence Intervals Example US Bank provides students with savings accounts having no monthly maintenance fee and a low minimum monthly transfer. US Bank is interested in knowing the mean monthly balance of all its student savings accounts. They know the standard deviation of balances is $20. They take a random sample of 64 student savings accounts and record that at the end of the month the sample mean savings was $105. Construct a 80% confidence interval for the mean monthly balance. Let X i be the end of the month balance for student i . Then E [ X i ] = µ , the mean monthly balance, is unknown, but SD [ X i ] = σ = $20 is known. We obtained a sample of size n = 64 with a sample mean x = $105 . For a confidence level of 80%, we have α = 0 . 2 , α/ 2 = 0 . 1 and z α/ 2 ≈ 1 . 28 . Then we calculate √ n = $105 ± 1 . 28 $20 σ x ± z α/ 2 64 = ($101 . 8 , $108 . 2) √ which is an 80% confidence interval for µ Professor Jarad Niemi (STAT226@ISU) M5S1 - Confidence Intervals October 9, 2018 9 / 9

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend