Presentation is loading. Please wait.

Presentation is loading. Please wait.

Confidence Interval with z

Similar presentations


Presentation on theme: "Confidence Interval with z"β€” Presentation transcript:

1 Confidence Interval with z
β€œBased on the sample, we are ____% confident that the population mean, πœ‡, is between _____ and ____.” 11/20/2018

2 Confidence Interval with z
Inputs Outputs A sample of 𝑛 items A list of 𝑛 data values measured in the sample The mean of the sample data, π‘₯ The population standard deviation, 𝜎, is known A chosen β€œConfidence Level”, like 90%, 95%, 99% β€œMargin of Error”, 𝐸=𝑧 𝛼/2 βˆ™ 𝜎 𝑛 A low-to-high confidence interval, centered at your sample mean: π‘₯ βˆ’πΈ to π‘₯ +𝐸 β€œI’m ___% sure that the population mean, is in this interval.” 11/20/2018

3 When can you do this legally?
Anytime that the population standard deviation, 𝜎 is known, β€œKnown” may mean β€œprevious studies indicate that 𝜎 is…” ~ ~ ~ AND ~ ~ ~ At least one of these conditions is true: It’s a β€œlarge” sample, sample size 𝑛β‰₯30 Or you know that the population is normally distributed 11/20/2018

4 95% Confidence Interval of the Mean from Bluman’s slides Β© McGraw Hill

5 Example – Hours of studying
Problem By-hand solution Sample of 𝑛=78 students surveyed Sample mean π‘₯ =15.0 hours of studying per week Suppose 𝜎=2.3 hours is known. Find the 95% confidence interval for hours studied. From page 361 of Beginning Statistics, by Warren, Denley, and Atchley, Β© 2008 Hawkes Learning Systems. Find 𝑧 𝛼/2 corresponding to 95% confidence interval. Find 𝐸= 𝑧 𝛼/2 βˆ™ 𝜎 𝑛 Form the confidence interval: π‘₯ βˆ’πΈ<πœ‡< π‘₯ +𝐸 11/20/2018

6 Example – Hours of studying
Details By-hand solution 95% in the middle area in the middle – = in two tails / 2 = in each tail What z has area to its left? z = -1.96 So use 𝑧=1.96, positive Find 𝑧 𝛼/2 corresponding to 95% confidence interval. Find 𝐸= 𝑧 𝛼/2 βˆ™ 𝜎 𝑛 Form the confidence interval: π‘₯ βˆ’πΈ<πœ‡< π‘₯ +𝐸 11/20/2018

7 Example – Hours of studying
Details By-hand solution 𝐸=1.96βˆ™ 𝐸=0.51 Confidence interval is 15βˆ’0.51<πœ‡< 14.49<πœ‡<15.51 hours of studying per week Find 𝑧 𝛼/2 corresponding to 95% confidence interval. Find 𝐸= 𝑧 𝛼/2 βˆ™ 𝜎 𝑛 Form the confidence interval: π‘₯ βˆ’πΈ<πœ‡< π‘₯ +𝐸 11/20/2018

8 What does it mean? Details Interpretation 𝐸=1.96βˆ™ 2.3 78 𝐸=0.51
𝐸=1.96βˆ™ 𝐸=0.51 Confidence interval is 15βˆ’0.51<πœ‡< 14.49<πœ‡<15.51 hours of studying per week The true mean is within 0.51 hours, high or low, of our sample mean We’re 95% confident of that. We’re 95% confident that the true mean number of hours studied is between and hours/wk. 11/20/2018

9 Example – Hours of studying
Problem TI-84 Solution Sample of 𝑛=78 students surveyed Sample mean π‘₯ =15.0 hours of studying per week Suppose 𝜎=2.3 hours is known. Find the 95% confidence interval for hours studied. From page 361 of Beginning Statistics, by Warren, Denley, and Atchley, Β© 2008 Hawkes Learning Systems. STAT, TESTS, 7:Zinterval Note Inpt: Stats Highlight Calculate Press ENTER 11/20/2018

10 Example – Hours of studying
Problem TI-84 Solution Sample of 𝑛=78 students surveyed Sample mean π‘₯ =15.0 hours of studying per week Suppose 𝜎=2.3 hours is known. Find the 95% confidence interval for hours studied. From page 361 of Beginning Statistics, by Warren, Denley, and Atchley, Β© 2008 Hawkes Learning Systems. 11/20/2018

11 90% vs. 95% vs. 99% Confidence Recall: Margin of Error is 𝐸= 𝑧 𝛼/2 βˆ™ 𝜎 𝑛 The Level of Confidence determines 𝑧 𝛼/2 If Level of Confidence is 90%, 𝑧 𝛼/2 =1.645 If Level of Confidence is 95%, 𝑧 𝛼/2 =1.96 If Level of Confidence is 98%, 𝑧 𝛼/2 =2.33 If Level of Confidence is 99%, 𝑧 𝛼/2 =2.575 11/20/2018

12 90% vs. 95% vs. 99% Confidence Recall: Margin of Error is 𝐸= 𝑧 𝛼/2 βˆ™ 𝜎 𝑛 The Level of Confidence determines 𝑧 𝛼/2 If you choose a higher Level of Confidence %, The 𝑧 𝛼/2 value is higher. Which causes a higher Margin of Error. Which makes the confidence interval wider. 11/20/2018

13 90% vs. 95% vs. 99% Confidence Again with 𝑛=78, π‘₯ =15.0, 𝜎=2.3
90% confidence interval narrow confidence interval, (14.572,15.428) 95% confidence interval medium confidence interval, (14.49, 15.51) 99% confidence interval Wider confidence interval, (14.329, ) 11/20/2018

14 How big of a sample do I need?
Inputs Calculations β€œI want a ____% confidence level.” (which determines the 𝑧 𝛼/2 value) The population standard deviation is 𝜎. β€œI want the margin of error to be no bigger than 𝐸.” 𝑛= π‘§βˆ™πœŽ 𝐸 2 Always bump up 𝑛 to the next highest integer. Bump, don’t round. (Unless 𝑛 just happened to come out to an exact integer, very rare.) 11/20/2018

15 Sample Size Example 𝑛= π‘§βˆ™πœŽ 𝐸 2 𝑛= (1.96)βˆ™(3.25) (0.5) 2
Inputs Calculations β€œHow many credit cards do you have?” Suppose you know that the standard deviation 𝜎=3.25 cards. And you can tolerate an error of 0.50 (half a card). And you want a 95% confidence interval. (Taken from Hawkes, page 362) 𝑛= π‘§βˆ™πœŽ 𝐸 2 𝑛= (1.96)βˆ™(3.25) (0.5) 2 𝑛= Bump it up! We need a sample of 163 people. 11/20/2018

16 Vocabulary: β€œPoint Estimate”
Our sample mean, π‘₯ , is a point estimate of the population mean, πœ‡. 11/20/2018

17 When you have only the raw data
Many book problems are nice Raw data only more real-life Textbook problems are nice to you, usually They usually just tell you the π‘₯ , the 𝑛, the 𝜎, and the desired confidence interval %. They do this to save time They do this so you can focus on the big picture, finding the confidence interval You’re doing your own real-life statistical research All you have is the raw data, a bunch of measurements. But if you have only the raw data, you have to calculate the π‘₯ and the 𝑛. Book tells you only 𝜎 and which confidence level % And then apply the formula. 11/20/2018

18 When you have raw data and TI-84
Put the data into a TI-84 list, such as L1. If there are frequencies, put them into list L2. Choose Inpt: Data, instead of Stats It still asks for population 𝜎. Tell it which List (like 2ND 1 for L1) If no frequencies, keep Freq:1 C-Level decimal as usual. Highlight Calculate Press ENTER. 11/20/2018

19 Example 7-3: Credit Union Assets (from Bluman Β© McGraw Hill)
The following data represent a sample of the assets (in millions of dollars) of 30 credit unions in southwestern Pennsylvania. Find the 90% confidence interval of the mean. (Assume that the population is normally distributed.) The data: Bluman, Chapter 7

20 Example 7-3: Credit Union Assets
Step 4: Substitute in the formula. (BUT TRY TI-84 LIST INSTEAD) One can be 90% confident that the population mean of the assets of all credit unions is between $6.752 million and $ million, based on a sample of 30 credit unions. Bluman, Chapter 7


Download ppt "Confidence Interval with z"

Similar presentations


Ads by Google