Presentation is loading. Please wait.

Presentation is loading. Please wait.

Copyright © 2012 Pearson Education. All rights reserved. 12-1 © 2010 Pearson Education Copyright © 2012 Pearson Education. All rights reserved. Chapter.

Similar presentations


Presentation on theme: "Copyright © 2012 Pearson Education. All rights reserved. 12-1 © 2010 Pearson Education Copyright © 2012 Pearson Education. All rights reserved. Chapter."— Presentation transcript:

1 Copyright © 2012 Pearson Education. All rights reserved. 12-1 © 2010 Pearson Education Copyright © 2012 Pearson Education. All rights reserved. Chapter 12 Confidence Intervals for Means

2 Copyright © 2012 Pearson Education. All rights reserved. 12-2 12.1 The Sampling Distribution for the Mean We found confidence intervals for proportions to be where the ME was equal to a critical value, z *, times SE( ). Our confidence intervals for means will be where the ME will be a critical value times SE( ).

3 Copyright © 2012 Pearson Education. All rights reserved. 12-3 12.1 The Sampling Distribution for the Mean The standard deviation of the sample mean is given below. So we need know the true value of the population standard deviation σ. Instead of σ, we will use s, the sample standard deviation from the data. We get the following formula for standard error.

4 Copyright © 2012 Pearson Education. All rights reserved. 12-4 12.1 The Sampling Distribution for the Mean Gosset’s t William S. Gosset discovered that when he used the standard error the shape of the curve was no longer Normal. He called the new model the Student’s t, which is a model that is always bell-shaped, but the details change with the sample sizes. The Student’s t -models form a family of related distributions depending on a parameter known as degrees of freedom.

5 Copyright © 2012 Pearson Education. All rights reserved. 12-5 Student’s t -models are unimodal, symmetric, and bell-shaped, just like the Normal model. But t -models (solid curve below) with only a few degrees of freedom have a narrower peak than the Normal model (dashed curve below) and have much fatter tails. 12.1 The Sampling Distribution for the Mean As the degrees of freedom increase, the t -models look more and more like the Normal model.

6 Copyright © 2012 Pearson Education. All rights reserved. 12-6 12.1 The Sampling Distribution for the Mean Example: Find the standard error Data from a survey of 25 randomly selected customers found a mean age of 31.84 years and the standard deviation was 9.84 years. What is the standard error of the mean? How would the standard error change if the sample size had been 100 instead of 25? (Assume that s = 9.84 years.)

7 Copyright © 2012 Pearson Education. All rights reserved. 12-7 12.1 The Sampling Distribution for the Mean Example: Find the standard error Data from a survey of 25 randomly selected customers found a mean age of 31.84 years and the standard deviation was 9.84 years. What is the standard error of the mean? How would the standard error change if the sample size had been 100 instead of 25? (Assume that s =9.84 years.)

8 Copyright © 2012 Pearson Education. All rights reserved. 12-8 12.2 A Confidence Interval for Means

9 Copyright © 2012 Pearson Education. All rights reserved. 12-9 12.2 A Confidence Interval for Means

10 Copyright © 2012 Pearson Education. All rights reserved. 12-10 Finding t -Values The Student’s t -model is different for each value of degrees of freedom. Typically we limit ourselves to 80%, 90%, 95%, and 99% confidence levels. We can use technology to give critical values for any number of degrees of freedom and for any confidence levels we need. More precision won’t necessarily help make good business decisions. 12.2 A Confidence Interval for Means

11 Copyright © 2012 Pearson Education. All rights reserved. 12-11 Finding t -Values A typical t -table is shown here. The table shows the critical values for varying degrees of freedom, df, and for varying confidence intervals. Since the t -models get closer to the normal as df increases, the final row has critical values from the Normal model and is labeled “∞”. 12.2 A Confidence Interval for Means

12 Copyright © 2012 Pearson Education. All rights reserved. 12-12 Finding t -Values For example, suppose we’ve performed a one-sample t -test with 19 df and a critical value of 1.639, and we want the upper tail P-value. From the table, we see that 1.639 falls between 1.328 and 1.729. All we can say is that the P-value lies between P-values of these two critical values, so 0.05 < P < 0.10. 12.2 A Confidence Interval for Means

13 Copyright © 2012 Pearson Education. All rights reserved. 12-13 12.2 A Confidence Interval for Means Example: Construct a Confidence Interval Data from a survey of 25 randomly selected customers found a mean age of 31.84 years and the standard deviation was 9.84 years. Construct a 95% confidence interval for the mean. Interpret the interval.

14 Copyright © 2012 Pearson Education. All rights reserved. 12-14 12.2 A Confidence Interval for Means Example: Construct a Confidence Interval Data from a survey of 25 randomly selected customers found a mean age of 31.84 years and the standard deviation was 9.84 years. Construct a 95% confidence interval for the mean. Interpret the interval. We’re 95% confident the true mean age of all customers is between 27.78 and 35.90 years.

15 Copyright © 2012 Pearson Education. All rights reserved. 12-15 Independence Assumption There is no way to check independence of the data, but we should think about whether the assumption is reasonable. Randomization Condition: The data arise from a random sample or suitably randomized experiment. 10% Condition: The sample size should be no more than 10% of the population. For means our samples generally are, so this condition will only be a problem if our population is small. 12.3 Assumptions and Conditions

16 Copyright © 2012 Pearson Education. All rights reserved. 12-16 Normal Population Assumption Student’s t -models won’t work for data that are badly skewed. We assume the data come from a population that follows a Normal model. Data being Normal is idealized, so we have a “nearly normal” condition we can check. Nearly Normal Condition: The data come from a distribution that is unimodal and symmetric. This can be checked by making a histogram. 12.3 Assumptions and Conditions

17 Copyright © 2012 Pearson Education. All rights reserved. 12-17 Normal Population Assumption Nearly Normal Condition: For very small samples ( n < 15), the data should follow a Normal model very closely. If there are outliers or strong skewness, t methods shouldn’t be used. For moderate sample sizes ( n between 15 and 40), t methods will work well as long as the data are unimodal and reasonably symmetric. For sample sizes larger than 40 or 50, t methods are safe to use unless the data are extremely skewed. If outliers are present, analyses can be performed twice, with the outliers and without. 12.3 Assumptions and Conditions

18 Copyright © 2012 Pearson Education. All rights reserved. 12-18 Normal Population Assumption In business, the mean is often the value of consequence. Even when we must sample from a very skewed distribution, the Central Limit Theorem tells us that the sampling distribution of our sample mean will be close to Normal. We can use Student’s t methods without much worry as long as the sample size is large enough. 12.3 Assumptions and Conditions

19 Copyright © 2012 Pearson Education. All rights reserved. 12-19 Normal Population Assumption The histogram below displays the compensation of 500 CEO’s. We see an extremely skewed distribution. 12.3 Assumptions and Conditions

20 Copyright © 2012 Pearson Education. All rights reserved. 12-20 Normal Population Assumption Taking many samples of 100 CEO’s, we obtain the nearly Normal plot below for the sample means. 12.3 Assumptions and Conditions

21 Copyright © 2012 Pearson Education. All rights reserved. 12-21 12.2 A Confidence Interval for Means Example: Check Assumptions and Conditions Data from a survey of 25 randomly selected customers found a mean age of 31.84 years and the standard deviation was 9.84 years. A 95% confidence interval for the mean is (27.78, 25.90). Check conditions for this interval.

22 Copyright © 2012 Pearson Education. All rights reserved. 12-22 12.2 A Confidence Interval for Means Example: Check Assumptions and Conditions Data from a survey of 25 randomly selected customers found a mean age of 31.84 years and the standard deviation was 9.84 years. A 95% confidence interval for the mean is (27.78, 25.90). Check conditions for this interval. Independence: Data were gathered from a random sample and should be independent. 10% Condition: These customers are fewer than 10% of the customer population. Nearly Normal: The histogram is unimodal and approximately symmetric.

23 Copyright © 2012 Pearson Education. All rights reserved. 12-23 Confidence intervals for means offer new, tempting, wrong interpretations. Here are some ways to keep from going astray: Don’t say, “95% of all the policies sold by this sales rep have profits between $942.48 and $1935.32.” The confidence interval is about the mean, not about the measurements of individual policies. Don’t say, “We are 95% confident that a randomly selected policy will have a net profit between $942.48 and $1935.32.” This false interpretation is also about individual policies rather than about the mean of the policies. 12.4 Cautions About Interpreting Confidence Intervals

24 Copyright © 2012 Pearson Education. All rights reserved. 12-24 Don’t say, “The mean profit is $1438.90 95% of the time.” That’s about means, but still wrong. It implies that the true mean varies, when in fact it is the confidence interval that would have been different had we gotten a different sample. Don’t say, “95% of all samples will have mean profits between $942.48 and $1935.32.” That statement suggests that this interval somehow sets a standard for every other interval. In fact, this interval is no more (or less) likely to be correct than any other. 12.4 Cautions About Interpreting Confidence Intervals

25 Copyright © 2012 Pearson Education. All rights reserved. 12-25 If the confidence interval is for the mean, then do not interpret the results in terms of individuals. Don’t forget that the true mean does not vary, but the confidence interval will vary based on the sample. Don’t suggest that a particular confidence interval somehow sets the standard for every other interval. 12.4 Cautions About Interpreting Confidence Intervals

26 Copyright © 2012 Pearson Education. All rights reserved. 12-26 We know that a larger sample will almost always give better results, but more data costs money, effort, and time. We know how to find the margin of error for the mean. 12.5 Sample Size We also know how to find the standard error for the mean. We can determine the sample size by solving this equation for n.

27 Copyright © 2012 Pearson Education. All rights reserved. 12-27 The equation has several values that we don’t know. We need to know s, but we won’t know s until we collect some data, and we want to calculate the sample size before we collect the data. Often a “good guess” for s is sufficient. If we have no idea what the value for s is, we could run a small pilot study to get some feeling for the size of the standard deviation. 12.5 Sample Size

28 Copyright © 2012 Pearson Education. All rights reserved. 12-28 Without knowing n, we don’t know the degrees of freedom, and we can’t find the critical value, One common approach is to use the corresponding z * value from the Normal model. For example, if you’ve chosen a 95% confidence interval, then use 1.96 (or 2). If your estimated sample size is 60 or more, your z * was probably a good guess. If it’s smaller, use z * at first, finding n, and then replacing z * with the corresponding and calculating the sample size once more. 12.5 Sample Size

29 Copyright © 2012 Pearson Education. All rights reserved. 12-29 Sample size calculations are never exact. The margin of error you find after collecting the data won’t match exactly the one you used to find n. Before you collect data, it’s always a good idea to know whether the sample size is large enough to give you a good chance of being able to tell you what you want to know. 12.5 Sample Size

30 Copyright © 2012 Pearson Education. All rights reserved. 12-30 Example: Check Assumptions and Conditions Data from a survey of 25 randomly selected customers found a mean age of 31.84 years and the standard deviation was 9.84 years. A 95% confidence interval for the mean is (27.78, 25.90). How large a sample is needed to cut the margin of error in half? How large a sample is needed to cut the margin of error by a factor of 10? 12.5 Sample Size

31 Copyright © 2012 Pearson Education. All rights reserved. 12-31 Example: Check Assumptions and Conditions Data from a survey of 25 randomly selected customers found a mean age of 31.84 years and the standard deviation was 9.84 years. A 95% confidence interval for the mean is (27.78, 25.90). How large a sample is needed to cut the margin of error in half? Four times as large, or n = 100. How large a sample is needed to cut the margin of error by a factor of 10? one hundred times as large, or n = 2500 12.5 Sample Size

32 Copyright © 2012 Pearson Education. All rights reserved. 12-32 If we know the true population mean, μ, we can find the standard deviation using n instead of n – 1. 12.6 Degrees of Freedom – Why n – 1? We use instead of μ. For any sample, will be as close to the data values as possible, and the population mean μ will be farther away. If we use instead of in the equation to calculate s, our standard deviation will be too small. We compensate for this by dividing by n – 1 instead of by n.

33 Copyright © 2012 Pearson Education. All rights reserved. 12-33 First, you must decide when to use Student’s t methods. Don’t confuse proportions and means. Use Normal models with proportions. Use Student’s t methods with means. Be careful of interpretation when confidence intervals overlap. Don’t assume that the means of overlapping confidence intervals are equal.

34 Copyright © 2012 Pearson Education. All rights reserved. 12-34 Student’s t methods work only when the Normal Population Assumption is true. Beware of multimodality. If you see this, try to separate the data into groups. Beware of skewed data. If it is skewed, try re-expressing the data Investigate outliers. If they are clearly in error, remove them. If they can’t be removed, you might run the analysis with and without the outlier.

35 Copyright © 2012 Pearson Education. All rights reserved. 12-35 The are other risks when doing inferences about means. Watch out for bias. Measurements can be biased. Make sure data are independent. Consider whether there are likely violations of independence in the data collection methods.

36 Copyright © 2012 Pearson Education. All rights reserved. 12-36 What Have We Learned? Know the sampling distribution of the mean. To apply the Central Limit Theorem for the mean in practical applications, we must estimate the standard deviation. This standard error is When we use the SE, the sampling distribution that allows for the additional uncertainty is Student’s t.

37 Copyright © 2012 Pearson Education. All rights reserved. 12-37 What Have We Learned? Construct confidence intervals for the true mean, µ. A confidence interval for the mean has the form The Margin of Error is ME = t* df SE( ). Find values by technology or from tables. When constructing confidence intervals for means, the correct degrees of freedom is n – 1. Check the Assumptions and Conditions before using any sampling distribution for inference. Write clear summaries to interpret a confidence interval.


Download ppt "Copyright © 2012 Pearson Education. All rights reserved. 12-1 © 2010 Pearson Education Copyright © 2012 Pearson Education. All rights reserved. Chapter."

Similar presentations


Ads by Google