1 Happiness comes not from material wealth but less desire.

Slides:



Advertisements
Similar presentations
BPS - 5th Ed. Chapter 181 Two-Sample Problems. BPS - 5th Ed. Chapter 182 Two-Sample Problems u The goal of inference is to compare the responses to two.
Advertisements

BPS - 5th Ed. Chapter 241 One-Way Analysis of Variance: Comparing Several Means.
Chapter 18: Inference about One Population Mean STAT 1450.
Objectives (BPS chapter 18) Inference about a Population Mean  Conditions for inference  The t distribution  The one-sample t confidence interval 
Inference for a population mean BPS chapter 18 © 2006 W. H. Freeman and Company.
Confidence Intervals with Means Chapter 9. What is the purpose of a confidence interval? To estimate an unknown population parameter.
AP Statistics Section 10.2 A CI for Population Mean When is Unknown.
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
Chapter 11: Inference for Distributions
CHAPTER 19: Two-Sample Problems
AP Statistics Section 13.1 A. Which of two popular drugs, Lipitor or Pravachol, helps lower bad cholesterol more? 4000 people with heart disease were.
Chapter 19: Two-Sample Problems STAT Connecting Chapter 18 to our Current Knowledge of Statistics ▸ Remember that these formulas are only valid.
+ DO NOW What conditions do you need to check before constructing a confidence interval for the population proportion? (hint: there are three)
Estimating a Population Mean
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
AP STATISTICS LESSON 11 – 2 (DAY 1) Comparing Two Means.
BPS - 3rd Ed. Chapter 141 Tests of Significance: The Basics.
The Practice of Statistics Third Edition Chapter 11: Inference for Distributions Copyright © 2008 by W. H. Freeman & Company Daniel S. Yates.
Chapter 11 Inference for Distributions AP Statistics 11.1 – Inference for the Mean of a Population.
BPS - 5th Ed. Chapter 171 Inference about a Population Mean.
CHAPTER 18: Inference about a Population Mean
Essential Statistics Chapter 131 Introduction to Inference.
INTRODUCTION TO INFERENCE BPS - 5th Ed. Chapter 14 1.
CHAPTER 14 Introduction to Inference BPS - 5TH ED.CHAPTER 14 1.
CHAPTER 11 DAY 1. Assumptions for Inference About a Mean  Our data are a simple random sample (SRS) of size n from the population.  Observations from.
Chapter 17 Population means: Population means: Two-Sample Problems.
Inference for a population mean BPS chapter 16 © 2006 W.H. Freeman and Company.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Chapter 8: Estimating with Confidence Section 8.3 Estimating a Population Mean.
Confidence Intervals with Means Unit 12, Notes p 189.
BPS - 5th Ed. Chapter 141 Introduction to Inference.
BPS - 3rd Ed. Chapter 161 Inference about a Population Mean.
Essential Statistics Chapter 161 Inference about a Population Mean.
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.
11.1 Inference for the Mean of a Population.  Perform a one sample t-test for the mean of a population  Perform a matched pairs t-test.
+ The Practice of Statistics, 4 th edition – For AP* STARNES, YATES, MOORE Unit 5: Estimating with Confidence Section 11.1 Estimating a Population Mean.
Lecture PowerPoint Slides Basic Practice of Statistics 7 th Edition.
BPS - 3rd Ed. Chapter 191 Comparing Two Proportions.
Learning Objectives After this section, you should be able to: The Practice of Statistics, 5 th Edition1 DESCRIBE the shape, center, and spread of the.
Essential Statistics Chapter 171 Two-Sample Problems.
2003 Free Response Question #2 A simple random sample of adults living in a suburb of a large city was selected. The age and annual income of each adult.
+ Unit 5: Estimating with Confidence Section 8.3 Estimating a Population Mean.
Inference about the mean of a population of measurements (  ) is based on the standardized value of the sample mean (Xbar). The standardization involves.
+ Chapter 8 Estimating with Confidence 8.1Confidence Intervals: The Basics 8.2Estimating a Population Proportion 8.3Estimating a Population Mean.
AP STATISTICS LESSON 11 – 1 (DAY 2) The t Confidence Intervals and Tests.
Inference about the mean of a population of measurements (  ) is based on the standardized value of the sample mean (Xbar). The standardization involves.
Objectives (PSLS Chapter 18) Comparing two means (σ unknown)  Two-sample situations  t-distribution for two independent samples  Two-sample t test 
Essential Statistics Chapter 191 Comparing Two Proportions.
16/23/2016Inference about µ1 Chapter 17 Inference about a Population Mean.
Class Six Turn In: Chapter 15: 30, 32, 38, 44, 48, 50 Chapter 17: 28, 38, 44 For Class Seven: Chapter 18: 32, 34, 36 Chapter 19: 26, 34, 44 Quiz 3 Read.
CHAPTER 8 Estimating with Confidence
Chapter 8: Estimating with Confidence
Inference for Distributions
Chapter 8: Estimating with Confidence
CHAPTER 21: Comparing Two Means
Essential Statistics Introduction to Inference
Inference for Distributions
Chapter 8: Estimating with Confidence
Basic Practice of Statistics - 3rd Edition Two-Sample Problems
Basic Practice of Statistics - 3rd Edition Introduction to Inference
Essential Statistics Two-Sample Problems - Two-sample t procedures -
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
Chapter 8: Estimating with Confidence
CHAPTER 18: Inference about a Population Mean
Basic Practice of Statistics - 3rd Edition
CHAPTER 18: Inference about a Population Mean
Chapter 8: Estimating with Confidence
2/5/ Estimating a Population Mean.
Chapter 8: Estimating with Confidence
Essential Statistics Inference about a Population Mean
Presentation transcript:

1 Happiness comes not from material wealth but less desire.

Chapter 17 Inference about a Population Mean BPS - 5th Ed.Chapter 172

Conditions for Inference about a Mean BPS - 5th Ed.Chapter 173  Data are from a SRS of size n.  Population has a Normal distribution with mean  and standard deviation .  Both  and  are usually unknown.  we use inference to estimate .  Problem:  unknown means we cannot use the z procedures previously learned.

Standard Error BPS - 5th Ed.Chapter 174  When we do not know the population standard deviation  (which is usually the case), we must estimate it with the sample standard deviation s.  When the standard deviation of a statistic is estimated from data, the result is called the standard error of the statistic.  The standard error of the sample mean is

One-Sample t Statistic BPS - 5th Ed.Chapter 175  When we estimate  with s, our one-sample z statistic becomes a one-sample t statistic.  By changing the denominator to be the standard error, our statistic no longer follows a Normal distribution. The t test statistic follows a t distribution with n – 1 degrees of freedom.

The t Distributions BPS - 5th Ed.Chapter 176  The t density curve is similar in shape to the standard Normal curve. They are both symmetric about 0 and bell-shaped.  The spread of the t distributions is a bit greater than that of the standard Normal curve (i.e., the t curve is slightly “fatter”).  As the degrees of freedom increase, the t density curve approaches the N(0, 1) curve more closely. This is because s estimates  more accurately as the sample size increases.

The t Distributions BPS - 5th Ed.Chapter 177

Using Table C BPS - 5th Ed.Chapter 178  Table C on page 693 gives critical values having upper tail probability p along with corresponding confidence level C.  z* values are also displayed at the bottom.

Using Table C BPS - 5th Ed.Chapter 179  Find the value t* with probability to its right under the t(7) density curve. t* = 2.365

One-Sample t Confidence Interval BPS - 5th Ed.Chapter 1710 Take an SRS of size n from a population with unknown mean  and unknown standard deviation . A level C confidence interval for  is: –This interval is exact when the population distribution is Normal and approximate for large n in other cases. where t* is the critical value for confidence level C from the t density curve with n – 1 degrees of freedom.

Case Study BPS - 5th Ed.Chapter 1711 American Adult Heights A study of 7 American adults from an SRS yields an average height of = 67.2 inches and a standard deviation of s = 3.9 inches. A 95% confidence interval for the average height of all American adults (  ) is: “We are 95% confident that the average height of all American adults is between and inches.”

One-Sample t Test BPS - 5th Ed.Chapter 1712 Like the confidence interval, the t test is close in form to the z test learned earlier. When estimating  with s, the test statistic becomes: –The P-value is exact when the population distribution is Normal and approximate for large n in other cases. where t follows the t density curve with n – 1 degrees of freedom, and the P-value of t is determined from that curve.

P -value for Testing Means BPS - 5th Ed.Chapter 1713  H a :  >  0 v P-value is the probability of getting a value as large or larger than the observed test statistic (t) value.  H a :  <  0 v P-value is the probability of getting a value as small or smaller than the observed test statistic (t) value.  H a :  0 v P-value is two times the probability of getting a value as large or larger than the absolute value of the observed test statistic (t) value.

BPS - 5th Ed.Chapter 1714

Case Study BPS - 5th Ed.Chapter 1715 Sweetening Colas (Ch. 14) Cola makers test new recipes for loss of sweetness during storage. Trained tasters rate the sweetness before and after storage. Here are the sweetness losses (sweetness before storage minus sweetness after storage) found by 10 tasters for a new cola recipe: Are these data good evidence that the cola lost sweetness during storage?

Case Study BPS - 5th Ed.Chapter 1716 It is reasonable to regard these 10 carefully trained tasters as an SRS from the population of all trained tasters. While we cannot judge Normality from just 10 observations, a stemplot of the data shows no outliers, clusters, or extreme skewness. Thus, P-values for the t test will be reasonably accurate. Sweetening Colas

Case Study BPS - 5th Ed.Chapter Hypotheses:H 0 :  = 0 H a :  > 0 2. Test Statistic: (df = 10  1 = 9) 3. P-value: P-value = P(T > 2.70) = (using a computer) P-value is between 0.01 and 0.02 since t = 2.70 is between t* = (p = 0.02) and t* = (p = 0.01) (Table C) 4. Conclusion: Since the P-value is smaller than  = 0.02, there is quite strong evidence that the new cola loses sweetness on average during storage at room temperature.

Case Study BPS - 5th Ed.Chapter 1718 Sweetening Colas

BPS - 5th Ed.Chapter 1719 Matched Pairs t Procedures  To compare two treatments, subjects are matched in pairs and each treatment is given to one subject in each pair.  Before-and-after observations on the same subjects also calls for using matched pairs.  To compare the responses to the two treatments in a matched pairs design, apply the one-sample t procedures to the observed differences (one treatment observation minus the other).  The parameter  is the mean difference in the responses to the two treatments within matched pairs of subjects in the entire population.

BPS - 5th Ed.Chapter 1720 Air Pollution Case Study Pollution index measurements were recorded for two areas of a city on each of 8 days. Are the average pollution levels the same for the two areas of the city? Area AArea BA – B

BPS - 5th Ed.Chapter 1721 Air Pollution Case Study It is reasonable to regard these 8 measurement pairs as an SRS from the population of all paired measurements. While we cannot judge Normality from just 8 observations, a stemplot of the data shows no outliers, clusters, or extreme skewness. Thus, P-values for the t test will be reasonably accurate These 8 differences have = and s =

BPS - 5th Ed.Chapter Hypotheses:H 0 :  = 0 H a :  ≠ 0 2. Test Statistic: (df = 8  1 = 7) 3. P-value: P-value = 2P(T > ) = (using a computer) P-value is smaller than 2(0.0005) = since t = is greater than t* = (upper tail area = ) (Table C) 4. Conclusion: Since the P-value is smaller than  = 0.001, there is very strong evidence that the mean pollution levels are different for the two areas of the city. Case Study

BPS - 5th Ed.Chapter 1723 Find a 95% confidence interval to estimate the difference in pollution indexes (A – B) between the two areas of the city. (df = 8  1 = 7 for t*) We are 95% confident that the pollution index in area A exceeds that of area B by an average of to index points. Case Study Air Pollution

Chapter 18 Two-Sample Problems BPS - 5th Ed.Chapter 1824

Two-Sample Problems BPS - 5th Ed.Chapter 1825  The goal of inference is to compare the responses to two treatments or to compare the characteristics of two populations.  We have a separate sample from each treatment or each population.  Each sample is separate. The units are not matched, and the samples can be of differing sizes.

Case Study BPS - 5th Ed.Chapter 1826 Exercise and Pulse Rates A study if performed to compare the mean resting pulse rate of adult subjects who regularly exercise to the mean resting pulse rate of those who do not regularly exercise. This is an example of when to use the two-sample t procedures. nmeanstd. dev. Exercisers Nonexercisers

Conditions for Comparing Two Means BPS - 5th Ed.Chapter 1827  We have two independent SRSs, from two distinct populations  that is, one sample has no influence on the other-- matching violates independence  we measure the same variable for both samples.  Both populations are Normally distributed  the means and standard deviations of the populations are unknown  in practice, it is enough that the distributions have similar shapes and that the data have no strong outliers.

Two-Sample t Procedures BPS - 5th Ed.Chapter 1828  In order to perform inference on the difference of two means (  1 –  2 ), we’ll need the standard deviation of the observed difference :

Two-Sample t Confidence Interval BPS - 5th Ed.Chapter 1829  Draw an SRS of size n 1 form a Normal population with unknown mean  1, and draw an independent SRS of size n 2 form another Normal population with unknown mean  2.  A confidence interval for  1 –  2 is: –here t* is the critical value for confidence level C for the t density curve. The degrees of freedom are equal to the smaller of n 1 – 1 and n 2 – 1.

Case Study BPS - 5th Ed.Chapter 1830 Exercise and Pulse Rates Find a 95% confidence interval for the difference in population means (nonexercisers minus exercisers). “We are 95% confident that the difference in mean resting pulse rates (nonexercisers minus exercisers) is between 4.35 and beats per minute.”

Two-Sample t Significance Tests BPS - 5th Ed.Chapter 1831  Draw an SRS of size n 1 form a Normal population with unknown mean  1, and draw an independent SRS of size n 2 form another Normal population with unknown mean  2.  To test the hypothesis H 0 :  1 =  2, the test statistic is: u Use P-values for the t density curve. The degrees of freedom are equal to the smaller of n 1 – 1 and n 2 – 1.

P -value for Testing Two Means BPS - 5th Ed.Chapter 1832  H a :  1  >  2 v P-value is the probability of getting a value as large or larger than the observed test statistic (t) value.  H a :  1  <  2 v P-value is the probability of getting a value as small or smaller than the observed test statistic (t) value.  H a :  1  2 v P-value is two times the probability of getting a value as large or larger than the absolute value of the observed test statistic (t) value.

Case Study BPS - 5th Ed.Chapter 1833 Exercise and Pulse Rates Is the mean resting pulse rate of adult subjects who regularly exercise different from the mean resting pulse rate of those who do not regularly exercise?  Null: The mean resting pulse rate of adult subjects who regularly exercise is the same as the mean resting pulse rate of those who do not regularly exercise? [H 0 :  1 =  2 ]  Alt: The mean resting pulse rate of adult subjects who regularly exercise is different from the mean resting pulse rate of those who do not regularly exercise? [H a :  1 ≠  2 ] Degrees of freedom = 28 (smaller of 31 – 1 and 29 – 1).

Case Study BPS - 5th Ed.Chapter Hypotheses:H 0 :   =  2 H a :   ≠   2. Test Statistic: 3. P-value: P-value = 2P(T > 3.961) = (using a computer) P-value is smaller than 2(0.0005) = since t = is greater than t* = (upper tail area = ) (Table C) 4. Conclusion: Since the P-value is smaller than  = 0.001, there is very strong evidence that the mean resting pulse rates are different for the two populations (nonexercisers and exercisers).

Avoid Inference About Standard Deviations BPS - 5th Ed.Chapter 1835  There are methods for inference about the standard deviations of Normal populations.  Most software packages have methods for comparing the standard deviations.  However, these methods are extremely sensitive to non-Normal distributions and this lack of robustness does not improve in large samples.  Hence it is not recommended that one do inference about population standard deviations in basic statistical practice.