CHAPTER 23 Inference for Means.

Slides:



Advertisements
Similar presentations
Inference for Regression
Advertisements

Confidence Interval and Hypothesis Testing for:
6.5: Estimating a Population Proportion
Stat Day 16 Observations (Topic 16 and Topic 14)
Lecture 2: Thu, Jan 16 Hypothesis Testing – Introduction (Ch 11)
Today Today: Chapter 10 Sections from Chapter 10: Recommended Questions: 10.1, 10.2, 10-8, 10-10, 10.17,
AP Statistics: Chapter 23
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
Stat 217 – Day 15 Statistical Inference (Topics 17 and 18)
5-3 Inference on the Means of Two Populations, Variances Unknown
Objective: To test claims about inferences for two sample means, under specific conditions.
 We cannot use a two-sample t-test for paired data because paired data come from samples that are not independently chosen. If we know the data are paired,
Chapter 24: Comparing Means.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 12 Analyzing the Association Between Quantitative Variables: Regression Analysis Section.
Inference about means. Central Limit Theorem X 1,X 2,…,X n independent identically distributed random variables with mean μ and variance σ 2, then as.
Copyright © 2010 Pearson Education, Inc. Slide
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 2 – Slide 1 of 25 Chapter 11 Section 2 Inference about Two Means: Independent.
INFERENCE ABOUT MEANS Chapter 23. CLT!! If our data come from a simple random sample (SRS) and the sample size is sufficiently large, then we know the.
Two independent samples Difference of Means
Copyright © 2010 Pearson Education, Inc. Slide
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 23 Comparing Means.
More About Significance Tests
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 9: Testing a Claim Section 9.3a Tests About a Population Mean.
+ Chapter 9 Summary. + Section 9.1 Significance Tests: The Basics After this section, you should be able to… STATE correct hypotheses for a significance.
Introduction to Statistical Inference Probability & Statistics April 2014.
Student’s t-distributions. Student’s t-Model: Family of distributions similar to the Normal model but changes based on degrees-of- freedom. Degrees-of-freedom.
Chapter 11 Inference for Distributions AP Statistics 11.1 – Inference for the Mean of a Population.
Significance Tests: THE BASICS Could it happen by chance alone?
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
+ Chapter 12: Inference for Regression Inference for Linear Regression.
Tests About a Population Proportion
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 24 Comparing Means.
10.2 Tests of Significance Use confidence intervals when the goal is to estimate the population parameter If the goal is to.
Hypotheses tests for means
+ Chapter 12: More About Regression Section 12.1 Inference for Linear Regression.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Chapter 23 Inference for One- Sample Means. Steps for doing a confidence interval: 1)State the parameter 2)Conditions 1) The sample should be chosen randomly.
Statistics 101 Chapter 10 Section 2. How to run a significance test Step 1: Identify the population of interest and the parameter you want to draw conclusions.
Economics 173 Business Statistics Lecture 4 Fall, 2001 Professor J. Petry
Statistical Significance The power of ALPHA. “ Significant ” in the statistical sense does not mean “ important. ” It means simply “ not likely to happen.
Copyright © 2010 Pearson Education, Inc. Slide
AP Statistics Chapter 24 Comparing Means.
Week111 The t distribution Suppose that a SRS of size n is drawn from a N(μ, σ) population. Then the one sample t statistic has a t distribution with n.
Chapter 24: Comparing Means (when groups are independent) AP Statistics.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Ex St 801 Statistical Methods Inference about a Single Population Mean.
AP Statistics Section 11.1 B More on Significance Tests.
Inen 460 Lecture 2. Estimation (ch. 6,7) and Hypothesis Testing (ch.8) Two Important Aspects of Statistical Inference Point Estimation – Estimate an unknown.
Hypothesis Testing Errors. Hypothesis Testing Suppose we believe the average systolic blood pressure of healthy adults is normally distributed with mean.
Statistical Inference Drawing conclusions (“to infer”) about a population based upon data from a sample. Drawing conclusions (“to infer”) about a population.
Lesson Use and Abuse of Tests. Knowledge Objectives Distinguish between statistical significance and practical importance Identify the advantages.
Comparing Means Chapter 24. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
Assumptions and Conditions –Randomization Condition: The data arise from a random sample or suitably randomized experiment. Randomly sampled data (particularly.
1 Probability and Statistics Confidence Intervals.
T tests comparing two means t tests comparing two means.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Next Time: Make sure to cover only pooling in TI-84 and note.
Section 11.1 Inference for the Mean of a Population AP Statistics March 10, 2009.
AP Statistics Chapter 24 Notes “Comparing Two Sample Means”
AP STATISTICS LESSON 11 – 1 (DAY 2) The t Confidence Intervals and Tests.
Statistics 24 Comparing Means. Plot the Data The natural display for comparing two groups is boxplots of the data for the two groups, placed side-by-side.
© 2010 Pearson Prentice Hall. All rights reserved Chapter Hypothesis Tests Regarding a Parameter 10.
Statistics 23 Inference About Means. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it’d be.
Two-Sample Inference Procedures with Means. Two independent samples Difference of Means.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Chapter 24 Comparing Means.
Comparing Two Populations or Treatments
Chapter 25: Paired Samples and Blocks
Chapter 23 Inference About Means.
Presentation transcript:

CHAPTER 23 Inference for Means

I Need My Morning Coffee!!! A coffee machine dispenses coffee into paper cups. You’re supposed to get 10 ounces of coffee, but the amount varies slightly from cup to cup. Here are the amounts measured from a random sample of 20 cups. Is there evidence that the machine is shortchanging customers? 9.9 9.7 10.0 10.1 9.9 9.6 9.8 9.8 10.0 9.5 9.7 10.1 9.9 9.6 10.2 9.8 10.0 9.9 9.5 9.9

I Need My Morning Coffee!!! Step 1: Identify population Parameter, state the null and alternative Hypotheses, determine what you are trying to do (and determine what the question is asking). We want to know whether a particular coffee machine is shortchanging its customers. The parameter of interest is the mean amount of coffee dispensed by this machine. We assume that the mean amount is 10 ounces. The mean amount of coffee dispensed is 10 oz. The mean amount of coffee dispensed is less than 10 oz.

I Need My Morning Coffee!!! Step 2: Verify the Assumptions by checking the conditions Independence Assumption Randomization condition: We are told that the sample was randomly selected 10% condition: We can reasonably assume that we observed fewer than 10% of the cups of coffee dispensed by this machine. Plausible independence condition: There is no reason to believe that independence is violated

I Need My Morning Coffee!!! Step 2: Verify the Assumptions by checking the conditions Normality Assumption Nearly normal condition: Since 20 is relatively small, we need to check the sample distribution: Depending on how you set up your window, you may get one of the following: Using Zoom Stat (9) Adjust the Xscl to 0.1 or Both look roughly unimodal and symmetric, so it’s safe to say that the sampling distribution will be approximately normal.

I Need My Morning Coffee!!! Step 3: If the conditions are met, Name the inference procedure, state the Test statistic, and Obtain the p-value: Name the test: We will perform a 1-sample t-test Test Statistics: Obtain the p-value:

I Need My Morning Coffee!!! Step 4: Make a decision (reject or fail to reject H0). State your conclusion in context of the problem using p-value: The p-value is so small, 0.0012, that we reject the null hypothesis in favor of the alternative at the 0.05 alpha level. In other words, there is very strong evidence that the mean amount of coffee dispensed by this machine is less than the stated 10 ounces.

More Coffee, Please!!! Now that we know that this machine is ripping us off, estimate how much it is shortchanging its customers with 95% confidence.

More Coffee, Please!!! Construct a 95% confidence interval for μ, the mean of the population, from which the sample is drawn. Step 1: First, state what you want to know in terms of the Parameter and determine what the question is asking We wish to estimate the true mean amount, μ, of coffee that the machine is dispensing.

More Coffee, Please!!! Construct a 95% confidence interval for μ, the mean of the population, from which the sample is drawn. Step 2: Second, examine the Assumptions and check the conditions. Independence: Randomization condition: The cups of coffee were randomly selected 10% condition: We safely assume that we have less than 10% of all the coffee dispensed Plausible independence condition: There is no reason to believe that independence is violated

More Coffee, Please!!! Construct a 95% confidence interval for μ, the mean of the population, from which the sample is drawn. Step 2: Second, examine the Assumptions and check the conditions. Normality: Nearly normal condition: Since 20 is relatively small, we need to check the sample distribution: This looks roughly unimodal and symmetric, so it’s safe to say that the sampling distribution will be approximately normal.

More Coffee, Please!!! Construct a 95% confidence interval for μ, the mean of the population, from which the sample is drawn. Step 3: Third, Name the inference, do the work, and state the Interval. We will construct a 95% 1-sample t-Interval for means:

More Coffee, Please!!! Construct a 95% confidence interval for μ, the mean of the population, from which the sample is drawn. Step 4: Fourth, last but not least, state your Conclusion in context of the problem We are 95% confident that the machine dispenses an average of between 9.75 to 9.94 ounces of coffee per cup.

Example As always, you can do all of Step 3 in your calculator. Although the calculator will do Step 3, you still need to Steps 1, 2, and 4 on your own!!! What if we have no data? We can compute a CI or HT using the sample’s mean and standard deviation. In other words, we can use Stats rather than Data in the Inference function of the calculator. Let’s look at another example.

Fishing For a Good Fishing Line Suppose you take an SRS of 53 lengths of an 85 lb. fishing line. Your sample has an average strength of 83 lbs. with a standard deviation of 4 lbs. Determine if the fishing line should actually be considered an 85 lb. line.

Fishing For a Good Fishing Line Step 1: Identify population Parameter, state the null and alternative Hypotheses, determine what you are trying to do (and determine what the question is asking). We want to know whether a particular finishing line should be considered an 85 lb. line. The parameter of interest is the mean weight that the fishing line can hold. We assume that the mean weight that the line can hold is 85 lbs. The mean weight held is 85 lbs. The mean weight held is not 85 lbs.

Fishing For a Good Fishing Line Step 2: Verify the Assumptions by checking the conditions Independence Assumption Randomization condition: We are told that the sample is an SRS 10% condition: We can reasonably assume that we observed fewer than 10% of all lengths of 85 lb. fishing line. Normality Assumption Nearly normal condition: Since a sample of 53 is relatively large, we can say that the sampling distribution will be approximately normal by the CLT.

Fishing For a Good Fishing Line Step 3: If the conditions are met, Name the inference procedure, state the Test statistic, and Obtain the p-value: Name the test: We will perform a 1-sample t-test Test Statistics: Obtain the p-value:

Fishing For a Good Fishing Line Step 4: Make a decision (reject or fail to reject H0). State your conclusion in context of the problem using p-value: The p-value is so small, .000628, that we would rarely see such values from sampling error, so we reject the null hypothesis in favor of the alternative at the 0.05 alpha level. In other words, there is very strong evidence that the mean weight that the fishing line can use is not 85 lbs; the fishing line should not be considered an 85 lb. line.

Fishing For a Good Fishing Line Suppose you take an SRS of 53 lengths of an 85 lb. fishing line. Your sample has an average strength of 83 lbs. with a standard deviation of 4 lbs. Now make a 95% confidence interval for the mean strength of this type of fishing line.

Fishing For a Good Fishing Line Step 1: First, state what you want to know in terms of the Parameter and determine what the question is asking We wish to estimate the true mean strength of a certain type of fishing line with 95% confidence; we will produce a 95% confidence interval. Step 2: Second, examine the Assumptions and check the conditions. These are shown to be satisfied in the previous problem.

Fishing For a Good Fishing Line Step 3: Third, Name the inference, do the work, and state the Interval. We will use a 1-sample t-interval for the mean We will use the t-distribution with (n – 1) = 52 degrees of freedom

Fishing For a Good Fishing Line Step 4: Fourth, last but not least, state your Conclusion in context of the problem We are 95% confident that the true mean strength of the fishing line is between 81.9 and 84.1 pounds.

Assignment Chapter 23 Lesson: Inference for Means Read: Problems: 1 - 31 (odd)