Chapter 24 Comparing Means.

Slides:



Advertisements
Similar presentations
One sample T Interval Example: speeding 90% confidence interval n=23 Check conditions Model: t n-1 Confidence interval: 31.0±1.52 = (29.48, 32.52) STAT.
Advertisements

Confidence Interval and Hypothesis Testing for:
Copyright © 2010 Pearson Education, Inc. Chapter 25 Paired Samples and Blocks.
Copyright © 2010 Pearson Education, Inc. Chapter 19 Confidence Intervals for Proportions.
Copyright © 2010 Pearson Education, Inc. Chapter 24 Comparing Means.
Comparing Means.  Comparing two means is not very different from comparing two proportions.  This time the parameter of interest is the difference between.
Objective: To test claims about inferences for two sample means, under specific conditions.
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Chapter 24: Comparing Means.
Chapter 24 Comparing Means.
Copyright © 2010 Pearson Education, Inc. Slide
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 23 Comparing Means.
Comparing Two Proportions
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Copyright © 2009 Pearson Education, Inc. Chapter 23 Inferences About Means.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 24, Slide 1 Chapter 24 Paired Samples and Blocks.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 24 Comparing Means.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Hypotheses tests for means
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 25 Paired Samples and Blocks.
Copyright © 2010 Pearson Education, Inc. Chapter 22 Comparing Two Proportions.
STA 2023 Module 11 Inferences for Two Population Means.
Copyright © 2010 Pearson Education, Inc. Slide
AP Statistics Chapter 24 Comparing Means.
Two Sample t-tests and t-intervals. Resting pulse rates for a random sample of 26 smokers had a mean of 80 beats per minute (bpm) and a standard deviation.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. Chapter 24 Comparing Means.
Chapter 12 Confidence Intervals and Hypothesis Tests for Means © 2010 Pearson Education 1.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide
Paired Samples and Blocks
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.
Chapter 22 Comparing Two Proportions.  Comparisons between two percentages are much more common than questions about isolated percentages.  We often.
Copyright © 2007 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Slide Next Time: Make sure to cover only pooling in TI-84 and note.
1-1 Copyright © 2015, 2010, 2007 Pearson Education, Inc. Chapter 23, Slide 1 Chapter 24 Comparing Means.
AP Statistics Chapter 24 Notes “Comparing Two Sample Means”
Statistics 25 Paired Samples. Paired Data Data are paired when the observations are collected in pairs or the observations in one group are naturally.
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.
AP Statistics Chapter 25 Paired Samples and Blocks.
AP Statistics Chapter 24 Comparing Means. Objectives: Two-sample t methods Two-Sample t Interval for the Difference Between Means Two-Sample t Test for.
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 Copyright © 2009 Pearson Education, Inc.
Confidence Intervals for Proportions
Wednesday, March 15, 2017 Warm-up 80% 85% 92%
Paired Samples and Blocks
Paired Samples and Blocks
AP Statistics Chapter 24 Comparing Means.
Chapter 23 Comparing Means.
Chapter 25: Paired t-Test
Chapter 23 Comparing Means.
Testing Hypotheses about Proportions
Paired Samples and Blocks
Comparing Two Populations or Treatments
Confidence Intervals for Proportions
Confidence Intervals for Proportions
Comparing Two Proportions
Chapter 25: Paired Samples and Blocks
Chapter 23 Comparing Means.
Paired Samples and Blocks
Comparing Two Proportions
Chapter 22 Inference About Means.
Inferences About Means
Paired Samples and Blocks
Paired Samples and Blocks
Basic Practice of Statistics - 3rd Edition Two-Sample Problems
Chapter 24 Comparing Means Copyright © 2009 Pearson Education, Inc.
Chapter 23 Inference About Means.
Confidence Intervals for Proportions
Paired Samples and Blocks
Confidence Intervals for Proportions
Presentation transcript:

Chapter 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. For example:

Comparing Two Means Once we have examined the side-by-side boxplots, we can turn to the comparison of two means. Comparing two means is not very different from comparing two proportions. This time the parameter of interest is the difference between the two means, 1 – 2.

Comparing Two Means (cont.) The standard deviation of the difference between two sample means is We still don’t know the true standard deviations of the two groups, so we need to estimate and use the standard error

Comparing Two Means (cont.) Because we are working with means and estimating the standard error of their difference using the data, we shouldn’t be surprised that the sampling model is a Student’s t. The confidence interval we build is called a two-sample t-interval (for the difference in means). The corresponding hypothesis test is called a two-sample hypothesis test.

Assumptions and Conditions Independence Assumption (Each condition needs to be checked for both groups.): Randomization Condition: Were the data collected with suitable randomization (representative random samples or a randomized experiment)? 10% Condition: We don’t usually check this condition for differences of means. We will check it for means only if we have a very small population or an extremely large sample.

Assumptions and Conditions (cont.) Normal Population Assumption: Nearly Normal Condition: This must be checked for both groups. A violation by either one violates the condition. Independent Groups Assumption: The two groups we are comparing must be independent of each other. (See Chapter 25 if the groups are not independent of one another…)

Two-Sample t-Interval When the conditions are met, we are ready to find the confidence interval for the difference between means of two independent groups. The confidence interval is where the standard error of the difference of the means is The critical value depends on the particular confidence level, C, that you specify and on the number of degrees of freedom, which we get from the sample sizes and a special formula.

Degrees of Freedom The special formula for the degrees of freedom for our t critical value is: Because of this, we will let technology calculate degrees of freedom for us!

EXAMPLE Resting pulse rates for a random sample of 26 smokers had a mean of 80 beats per minute (bpm) and a standard deviation of 5 bpm. Among 32 randomly chosen nonsmokers, the mean and standard deviation were 74 and 6 bpm. Both sets of data were roughly symmetric and had no outliers. Find a 95% confidence interval for the difference between smokers and non-smokers.

1. Check Conditions Randomization – says random sample Independent Groups – no reason to believe that smokers influence non-smokers resting pulse rate Nearly Normal – roughly symmetric with no outliers 10% Condition

2. Calculate and interpret the interval.

2. Calculate and interpret the interval. I am 95% confident that the true average difference in resting pulse rates of smokers and non-smokers is between 3.1063 and 8.8937.

ASSIGNMENT A#3/3 p. 566 #1, 2, 5, 7

Testing the Difference Between Two Means The hypothesis test we use is the two-sample t-test for means. The conditions for the two-sample t-test for the difference between the means of two independent groups are the same as for the two-sample t-interval.

Sampling Distribution for the Difference Between Two Means When the conditions are met, the standardized sample difference between the means of two independent groups can be modeled by a Student’s t-model with a number of degrees of freedom found with a special formula. We estimate the standard error with

EXAMPLE Resting pulse rates for a random sample of 26 smokers had a mean of 80 beats per minute (bpm) and a standard deviation of 5 bpm. Among 32 randomly chosen nonsmokers, the mean and standard deviation were 74 and 6 bpm. Both sets of data were roughly symmetric and had no outliers. Is there evidence of a difference in mean pulse rate between smokers and non-smokers?

1. State the hypotheses. 2. Model

1. State the hypotheses. 2. Model – 2 sample t-test Independence Randomization 10% Condition Nearly Normal Condition Since all conditions are met, use the t- distribution to approximate.

3. Mechanics

3. Mechanics

4. Conclusion Since our p-value of 0.0001 is smaller than 0.05, we reject the null hypothesis that claims there is no difference between the mean pulse rate of smokers and non- smokers.

What Can Go Wrong? Watch out for paired data. Look at the plots. The Independent Groups Assumption deserves special attention. If the samples are not independent, you can’t use two-sample methods. Look at the plots. Check for outliers and non-normal distributions by making and examining boxplots.

ASSIGNMENT A#3/4 p. 566 9, 10, 16, 18, 19