Presentation is loading. Please wait.

Presentation is loading. Please wait.

HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.3.

Similar presentations


Presentation on theme: "HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.3."— Presentation transcript:

1 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.3 Estimating Population Means (  Unknown) And some valuable added stuff by D.R.S., University of Cordele

2 Should I use z or t for my confidence interval? A complication: we have two bell-shaped distributions: the Normal (z) and now t too. IF (1) I know the population standard deviation, σ, AND (2) Either (a) My sample size n > 30, or (b) I know population distribution is approx. normal THEN I use the Normal Distribution and z. IF (1) I don’t know σ, BUT (2) Either (a) My sample size n > 30, or (b) I know population distribution is approx. normal THEN I use the t-Distribution, degrees of freedom, etc. OTHERWISE I need more advanced techniques that are beyond the scope of this course. z t ?

3 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Estimating Population Means (  Unknown) Margin of Error of a Confidence Interval for a Population Mean (  Unknown) When the population standard deviation is unknown, the sample taken is a simple random sample, and either the sample size is at least 30 or the population distribution is approximately normal, the margin of error of a confidence interval for a population mean is given by

4 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Estimating Population Means (  Unknown) Margin of Error of a Confidence Interval for a Population Mean (  Unknown) (cont.) Where is the critical value for the level of confidence, c = 1 − , such that the area under the t-distribution with n − 1 degrees of freedom to the right of is equal to s is the sample standard deviation, and n is the sample size.

5 The formula for E in a t problem is very much like the formula for E in a z problem They have the same arithmetic structure. 1.Difference: using a t critical value instead of a z critical value. 2.Difference: using sample standard deviation s instead of population standard deviation σ. 3.Same: sample size n

6 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.15: Finding the Margin of Error of a Confidence Interval for a Population Mean (  Unknown) Dental researchers want to estimate the mean leakage, measured in nanometers (nm), of a new filling material for cavities using a simple random sample of 10 trials. Assuming that the population distribution is approximately normal and the population standard deviation is unknown, find the margin of error for a 95% confidence interval for the population mean given that the sample standard deviation is 15.5 nm.

7 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.15: Finding the Margin of Error of a Confidence Interval for a Population Mean (  Unknown) (cont.) Solution Since we know that the population distribution is approximately normal and the population standard deviation is unknown, we are able to use the t-distribution to calculate the margin of error. The problem tells us the values for s and n (s = 15.5, n = 10), so the only missing value in the calculation of E is Since the level of confidence is 95%, α = 1  0.95 = 0.05. Therefore, A sample size of 10 means that there are 9 degrees of freedom, df = 9.

8 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.15: Finding the Margin of Error of a Confidence Interval for a Population Mean (  Unknown) (cont.) To find this value by hand using the t-distribution table, look across the row for 9 degrees of freedom and down the column for an area in one tail of 0.025. This shows a critical t-value of Notice that, using our table, we could also have looked up the area in two tails,  = 0.05, instead of the area in one tail, Both give the same answer.

9 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.15: Finding the Margin of Error of a Confidence Interval for a Population Mean (  Unknown) (cont.) df Area in One Tail 0.1000.0500.0250.0100.005 Area in Two Tails 0.2000.1000.0500.0200.010 7 1.4151.8952.3652.9983.499 8 1.3971.8602.3062.8963.355 9 1.3831.8332.2622.8213.250 10 1.3721.8122.2282.7643.169 11 1.3631.7962.2012.7183.106 12 1.3561.7822.1792.6813.055

10 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.15: Finding the Margin of Error of a Confidence Interval for a Population Mean (  Unknown) (cont.) We can also use a TI-84 Plus calculator to find the critical t-value. Recall that you need to enter the area in the left tail only, so remember to divide  by 2 when using the calculator: Press and then to go to the DISTR menu. Choose option 4:invT(. Enter invT(0.025,9). But it’s easier to use the Tinterval feature instead. We will demonstrate the Tinterval feature later. Some problems might ask for the critical value, too, as well as the confidence interval answer.

11 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.15: Finding the Margin of Error of a Confidence Interval for a Population Mean (  Unknown) (cont.) Notice that the value of t that is returned is negative, Because we want the positive value of t, we can just ignore the negative sign since the t-distribution is symmetric.

12 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.15: Finding the Margin of Error of a Confidence Interval for a Population Mean (  Unknown) (cont.) Substituting these values into the formula for the margin of error, we get the following. Although we are not calculating the endpoints of the confidence interval in this example, we will round the margin of error to six decimal places. So the margin of error for this 95% confidence interval is approximately 11.087262 nm.

13 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Estimating Population Means (  Unknown) Confidence Interval for a Population Mean The confidence interval for a population mean is given by Where is the sample mean, which is the point estimate for the population mean, and E is the margin of error.

14 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) A marketing company wants to know the mean price of new vehicles sold in an up-and ‑ coming area of town. Marketing strategists collected data over the past two years from all of the dealerships in the new area of town. From previous studies about new car sales, they believe that the population distribution looks somewhat like the following graph.

15 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.)

16 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) The simple random sample of 756 cars has a mean of $27,400 with a standard deviation of $1300. Construct a 95% confidence interval for the mean price of new cars sold in this area. Solution Step 1: Find the point estimate. The point estimate for the population mean is the sample mean, which we are told is $27,400.

17 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Step 2: Find the margin of error. Next, we need to calculate the margin of error. From the graph, we know that the population distribution is not guaranteed to be normal, but instead is considered skewed to the right. However, since the sample size, n = 756, is sufficiently large, we use the Student’s t-distribution to calculate the margin of error. We are told that the standard deviation of the sample is $1300, that is, s = 1300, so all that remains is to find the critical t-value.

18 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Since our sample is so large, we will use the calculator method instead of the table to find As we saw in the previous example, to find for the t-distribution with df = n  1 = 756  1 = 755 degrees of freedom, enter invT(0.025,755) and find that the critical value we need is Notice that this is the same value that you get if you look in the table of critical t-values for df = 750 with a 95% level of confidence. When the printed table doesn’t have your df value, approximate or interpolate, do the best you can do with the available resources.

19 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) With such a large sample, there is no difference in the first three decimal places of the critical value. Substituting into the margin of error formula, we have the following.

20 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Step 3: Subtract the margin of error from and add the margin of error to the point estimate. The third step is to subtract the margin of error that we just calculated from the point estimate we were given in the problem, and then add the margin of error to the point estimate to get the lower and upper endpoints of the confidence interval.

21 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Thus, the 95% confidence interval ranges from $27,307 to $27,493.

22 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.16: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) The confidence interval can be written mathematically using either inequality symbols or interval notation, as shown below. So with 95% confidence, we can say that the mean price of new cars sold in the area is between $27,307 and $27,493.

23 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) A student records the repair costs for 20 randomly selected computers from a local repair shop where he works. A sample mean of $216.53 and standard deviation of $15.86 are subsequently computed. Assume that the population distribution is approximately normal and  is unknown. a. Determine the 98% confidence interval for the mean repair cost for all computers repaired at the local shop by first calculating the margin of error, E. b. Use a TI-83/84 Plus calculator to determine the 98% confidence interval from the given statistics.

24 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Solution Because  is unknown, we need to ensure that either the sample size is large enough (n ≥ 30) or the population is normally distributed in order to use the t-distribution for the confidence interval. We are given the assumption of normality, so we can proceed. a. Step 1: Find the point estimate. The point estimate for the population mean is the sample mean, which we are told is $216.53.

25 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Step 2: Find the margin of error. Calculating the margin of error first requires that we find The level of confidence is c = 0.98, so There are 20 computers in the sample, so df = 19. Using either the table of critical t-values or technology, we find that

26 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Next, substitute these values into the formula for the margin of error.

27 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Step 3: Subtract the margin of error from and add the margin of error to the point estimate. Subtracting the margin of error that we just calculated from the point estimate we were given in the problem and then adding the margin of error to the point estimate gives us the following endpoints of the confidence interval.

28 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Thus, the 98% confidence interval ranges from $207.53 to $225.53. The confidence interval can be written mathematically using either inequality symbols or interval notation, as shown below.

29 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) We’ll need to enter the following sample statistics, as shown in the calculator screenshot in the margin. Sample mean, Ë:216.53 Sample standard deviation, Sx:15.86 Sample size, n:20 Level of confidence, C-Level:.98 After highlighting Calculate and pressing, we get the results shown in the second screenshot.

30 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) b. Now we’ll show you how to do the same interval calculation using a TI-83/84 Plus calculator. Press. Scroll over and choose TESTS. Choose option 8:TInterval. Choose the Stats option because we were given sample statistics. Use TInterval instead of the primitive formulas, always, unless you have to use a formula to answer a crazy question on HW or exam. Or if you’re double-checking the TInterval result.

31 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Therefore, the student can be 98% confident that the mean repair cost for all computers repaired at the local shop is between $207.53 and $225.53.

32 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.17: Constructing a Confidence Interval for a Population Mean (  Unknown) (cont.) Notice that the last digits of the endpoints in the interval given by the calculator, (207.52, 225.54), are different from those in our hand-calculated interval. This is because we used a rounded value of to find the margin of error in our first method of calculation.

33 Example 8.17 with Excel: =CONFIDENCE.T(alpha, sample stdev, sample size)... n = 20 computers... sample mean of $216.53 and standard deviation of $15.86... the population distribution is approximately normal and  is unknown. a. Determine the 98% confidence interval …

34 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Further words about ZInterval and TInterval If you’re asked for a confidence interval, Use ZInterval for a normal distrib. situation. Use TInterval for a t-distribution situation. If the problem asks for a critical value of z or t, too, Then you have to use invNorm( or invT( or a printed table to answer that question. Make the right choice between Stats, if you’re given the mean, etc. Data, if you’re given a list of raw data

35 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.18: Constructing a Confidence Interval for a Population Mean (  Unknown) from Original Data Given the following sample data from a study on the average amount of water used per day by members of a household while brushing their teeth, calculate the 99% confidence interval for the population mean using a TI-83/84 Plus calculator. Assume that the sample used in the study was a simple random sample.

36 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.18: Constructing a Confidence Interval for a Population Mean (  Unknown) from Original Data (cont.) * Household Water Used for Brushing Teeth (in Gallons per Day) 0.4850.4280.390.3080.231 0.5870.5160.4650.3700.282 0.4120.3670.3360.2690.198 0.9420.9430.9400.9410.946 0.8680.8980.8890.9100.927 0.9250.9500.9590.9480.956 0.8050.8100.8390.8600.861 0.5150.4630.4200.3260.243

37 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.18: Constructing a Confidence Interval for a Population Mean (  Unknown) from Original Data (cont.) Solution Since we are not told any population parameters for the study, we cannot assume that  is known or that the population distribution is approximately normal. However, since the sample size (n = 40) is large enough (n ≥ 30), we can use the t-distribution to construct a confidence interval for the population mean.

38 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.18: Constructing a Confidence Interval for a Population Mean (  Unknown) from Original Data (cont.) To begin with, since we are given the raw data and not the sample statistics, we need to enter the data in the calculator list. Recall, to enter data in a TI-83/84 Plus calculator, press, choose EDIT, select 1:Edit, and then enter the data in L1. (Remember to clear the list before entering the data.)

39 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.18: Constructing a Confidence Interval for a Population Mean (  Unknown) from Original Data (cont.) Once the data are entered, press, choose TESTS, and select 8:TInterval on the calculator. This time, however, choose the Data option. You’ll need to specify which list your data are in, which is L1, and the confidence level (C-Level), which is 0.99 in this example. The value of Freq should be left as the default value of 1. After you select Calculate, you should see the results shown in the screenshot.

40 HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Example 8.18: Constructing a Confidence Interval for a Population Mean (  Unknown) from Original Data (cont.) Thus, the 99% confidence interval ranges from 0.5240 to 0.7624. The confidence interval can be written mathematically using either inequality symbols or interval notation, as shown below. We are 99% confident that the mean amount of water used per household for brushing teeth is between 0.5240 and 0.7624 gallons per day.


Download ppt "HAWKES LEARNING SYSTEMS Students Matter. Success Counts. Copyright © 2013 by Hawkes Learning Systems/Quant Systems, Inc. All rights reserved. Section 8.3."

Similar presentations


Ads by Google