Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 23 Inference About Means.

Slides:



Advertisements
Similar presentations
Chapter 23 – Inferences About Means
Advertisements

Chapter 25: Paired Samples and Blocks. Paired Data Paired data arise in a number of ways. Compare subjects with themselves before and after treatment.
Copyright © 2010 Pearson Education, Inc. Slide
Confidence Intervals with Means Chapter 9. What is the purpose of a confidence interval? To estimate an unknown population parameter.
Confidence Intervals Chapter 10. Rate your confidence Name my age within 10 years? 0 within 5 years? 0 within 1 year? 0 Shooting a basketball.
H OW MUCH SLEEP DID YOU GET LAST NIGHT ? 1. 9 Slide 1- 1.
Confidence Interval and Hypothesis Testing for:
Objective: To estimate population means with various confidence levels.
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
Confidence Intervals Chapter 10. Rate your confidence Name my age within 10 years? within 5 years? within 1 year? Shooting a basketball at a wading.
CHAPTER 23 Inference for Means.
Chapter 24: Comparing Means.
Copyright © 2010 Pearson Education, Inc. Chapter 23 Inference About Means.
Copyright © 2009 Pearson Education, Inc. Chapter 23 Inferences About Means.
Slide 23-1 Copyright © 2004 Pearson Education, Inc.
Copyright © 2010 Pearson Education, Inc. Slide
Copyright © 2010 Pearson Education, Inc. Chapter 23 Inference About Means.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 23 Comparing Means.
CHAPTER 16: Inference in Practice. Chapter 16 Concepts 2  Conditions for Inference in Practice  Cautions About Confidence Intervals  Cautions About.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 23 Inference About Means.
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 18: Inference about a Population Mean
Significance Tests: THE BASICS Could it happen by chance alone?
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Copyright © 2009 Pearson Education, Inc. Chapter 23 Inferences About Means.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 24 Comparing Means.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 23 Inference About Means.
AP Statistics Chapter 23 Notes
Hypotheses tests for means
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.3 Estimating a Population Mean.
1 Chapter 10: Introduction to Inference. 2 Inference Inference is the statistical process by which we use information collected from a sample to infer.
Copyright © 2012 Pearson Education. All rights reserved © 2010 Pearson Education Copyright © 2012 Pearson Education. All rights reserved. Chapter.
Confidence Intervals For a Sample Mean. Point Estimate singleUse a single statistic based on sample data to estimate a population parameter Simplest approach.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Confidence Intervals. Rate your confidence Name my age within 10 years? within 5 years? within 1 year? Shooting a basketball at a wading pool,
Copyright © 2010 Pearson Education, Inc. Slide
AP Statistics Chapter 24 Comparing Means.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Chapter 12 Confidence Intervals and Hypothesis Tests for Means © 2010 Pearson Education 1.
Confidence Intervals with Means. Rate your confidence Name my age within 10 years? Name my age within 10 years? within 5 years? within 5 years?
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Estimating with Confidence Section 11.1 Estimating a Population Mean.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
AP Statistics Chapter 23 Inference for Means.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 23 Inference About Means.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 22, Slide 1 Chapter 22 Inferences about Means.
Assumptions and Conditions –Randomization Condition: The data arise from a random sample or suitably randomized experiment. Randomly sampled data (particularly.
Inference About Means Chapter 23. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it’d be nice.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 24 Comparing Means.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Classroom Notes Chapter 23 Answers.
+ Unit 5: Estimating with Confidence Section 8.3 Estimating a Population Mean.
+ Chapter 8 Estimating with Confidence 8.1Confidence Intervals: The Basics 8.2Estimating a Population Proportion 8.3Estimating a Population Mean.
AP Statistics Chapter 23 Inference for Means. Objectives: The t-Distributions Degrees of Freedom (df) One-Sample t Confidence Interval for Means One-Sample.
AP Statistics Chapter 25 Paired Samples and Blocks.
Copyright © 2009 Pearson Education, Inc. Chapter 23 Inferences About Means.
Confidence Intervals with Means Chapter 9. What is the purpose of a confidence interval? To estimate an unknown population parameter.
Copyright © 2010 Pearson Education, Inc. Chapter 23 Inference About Means.
Statistics 23 Inference About Means. Getting Started Now that we know how to create confidence intervals and test hypotheses about proportions, it’d be.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Inferences about Means
Wednesday, March 15, 2017 Warm-up 80% 85% 92%
Chapter 23 Inference About Means
Chapter 23 Part 3 Examples.
Chapter 22 Inference About Means.
Inferences About Means
Chapter 23 Inference About Means.
Presentation transcript:

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 23 Inference About Means

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Gosset’s t William S. Gosset, an employee of the Guinness Brewery in Dublin, Ireland, worked long and hard to find out what the sampling model was. The sampling model that Gosset found has been known as The Student’s t-models form a whole of related distributions that depend on a parameter known as We often denote degrees of freedom as, and the model as Student’s t. family degrees of freedom. df t df.

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide What Does This Mean for Means? A practical sampling distribution model for means When the conditions are met, the standardized sample mean follows a Student’s t-model with degrees of freedom. We estimate the standard error with n – 1

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide What Does This Mean for Means? (cont.) Student’s t-models are,, and, just like the Normal. But t-models with only a few degrees of freedom have than the Normal. unimodal symmetric bell shaped much fatter tails

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide What Does This Mean for Means? (cont.) As the degrees of freedom, the t-models look more and more like the Normal. In fact, the t-model with infinite degrees of freedom is exactly Normal. increase

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Finding t-Values By Hand The Student’s t-model is for each value of degrees of freedom. Because of this, Statistics books usually have one table of t-model critical values for selected confidence levels. different

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Finding t-Values By Hand (cont.) Alternatively, we could use technology to find t critical values for any number of degrees of freedom and any confidence level you need. Use your calculator to find the following. a)P(t > 1.645) df = 12b) P(t < 0.53) df = 23 c)t-values for 90% CId) t-values for 95% CI df = 6 df = ± ± 2.030

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Assumptions and Conditions Independence Assumption: Randomization Condition: The data arise from a or Randomly sampled data (particularly from an SRS) are ideal. 10% Condition: When a sample is drawn, the sample should be no more than 10% of the population. random sample suitably randomized experiment. without replacement

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Assumptions and Conditions (cont.) Normal Population Assumption: We can never be certain that the data are from a population that follows a Normal model, but we can check the Nearly Normal Condition: The data come from a distribution that is and Check this condition by making a or unimodalsymmetric. histogram Normal probability plot.

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Assumptions and Conditions (cont.) Nearly Normal Condition: The smaller the sample size ( ), the more closely the data should follow a Normal model. For moderate sample sizes ( ), the t works well as long as the data are unimodal and reasonably symmetric. For larger sample sizes, the t methods are safe to use even if the data are skewed. n < 15 or so n between 15 and 40

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide A nutrition laboratory tests 40 “reduced sodium” hot dogs, finding that the mean sodium content is 310 mg, with a standard deviation of 36 mg. a) Find a 95% confidence interval for the mean sodium content of this brand of hot dog. b) What assumptions have you made in this inference? Are the appropriate conditions satisfied? c) Explain clearly what your interval means. (298.49, ) Population is unimodal and reasonably symmetric, random sample. 40 hotdogs is less than 10% of all these types of hotdogs. Also check the nearly normal condition with graph. We are 95% confident that the true mean of sodium content for these types of hotdogs is between and mg

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide More Cautions About Interpreting Confidence Intervals Remember that interpretation of your confidence interval is key. What NOT to say: “90% of all the vehicles on Triphammer Road drive at a speed between 29.5 and 32.5 mph.” The confidence interval is about the not the “We are 90% confident that a randomly selected vehicle will have a speed between 29.5 and 32.5 mph.” Again, the confidence interval is about the not the mean individual values. mean individual values.

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide More Cautions About Interpreting Confidence Intervals (cont.) What NOT to say: “The mean speed of the vehicles is 31.0 mph 90% of the time.” The true mean does not —it’s the confidence interval that would be different had we gotten a different sample. “90% of all samples will have mean speeds between 29.5 and 32.5 mph.” The interval we calculate does not for every other interval—it is no more (or less) likely to be correct than any other interval. vary set a standard

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Assignment Pg. 541 #1, 5, 8, 9, 12 Slide

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 23 Inference About Means (2)

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide One-Sample t-test for the Mean The conditions for the one-sample t-test for the mean are the same as for the one-sample t-interval. We test the hypothesis H 0 :  =  0 using the statistic The standard error of the sample mean is When the conditions are met and the null hypothesis is true, this statistic follows a We use that model to obtain a Student’s t model with n – 1 df. P-value.

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Ex. 2In 1960 census results indicated that the age at which American men first married had a mean of 23.3 years. It is widely suspected that young people today are waiting to get married. A random sample of 40 men married at and average age of 24.2 years with a standard deviation of 5.3 years. a) Are the assumptions satisfied? b) Test this claim. c) What does the p-value mean in context? Slide Random sample, Population may not be normal (easier to have a few really older men than younger, however since n = 40, then it should approximate normal. Check graph for outliers or severe skewness. H 0 :µ = 23.3 years H A :µ > 23.3 years p-value ≈ ; therefore we fail to reject the null, with a p-value this big there is not enough evidence to suggest that people today are waiting significantly longer to get married. If the average age at first marriage is still 23.3 years, there is a 14.5% chance of getting a sample mean of 24.2 years or older from a sample of 40 men simply from sampling variation.

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Ex. 3 Psychology experiments sometimes involve testing the ability of rats to navigate mazes. The mazes are classified according to difficulty, as measured by the mean length of time it takes rats to find the food at the end. One researcher needs a maze that will take rats an average of about one minute to solve. He test one maze on several rats, collecting the data that follow. a)Plot the data. Do you think the conditions for inference are satisfied? Explain. b)Test the hypothesis that the mean completion time for this maze is 60 seconds. What is your conclusion? c)Eliminate the outlier, and test the hypothesis again. What is your conclusion? d)Do you think this maze meets the “one-minute average” requirement? Explain. Slide Time (sec) Normal Probability Plot fairly straight with one outlier. Ok for inference although outlier may be a problem. H 0 :µ = 60 seconds H A :µ ≠ 60 seconds p-value ≈ ; Depending on α we may or may not reject null. p-value ≈ ; without the outlier we would reject the null and conclude that the time is different than 60 seconds. The maze does not meet the “one minute average” requirement.

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Sample Size To find the sample size needed for a particular confidence level with a particular margin of error (ME), solve this equation for n: The problem with using the equation above is that we don’t know most of the values. We can overcome this: We can use s from a small pilot study. We can use z* in place of the necessary t value.

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Ex. 4 Suppose we want a margin of error of 3 minutes and we think the standard deviation is 5 minutes based on a pilot study. a)Using α = 0.05 for a one tail test, what is the sample size we should use initially? b)Using degrees of freedom based on this sample size recalculate, the sample size again. Slide

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Sample Size (cont.) Sample size calculations are exact. The margin of error you find after collecting the data the one you used to find n. The sample size formula depends on quantities you won’t have until you, but using it is an important first step. Before you collect data, it’s always a good idea to know whether the sample size is to give you a good chance of being able to tell you what you want to know. never won’t match exactly collect the data large enough

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide What have we learned? Statistical inference for means relies on the same concepts as for proportions—only the and the have changed. The reasoning of inference, the need to verify that the appropriate, and the proper interpretation of and all remain the same regardless of whether we are investigating means or proportions. mechanics model assumptions are met confidence intervals P-values

Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Assignment Pg. 544 #14, 21, 23, 26, 28, 30, 33, 35 Slide