Inferences based on TWO samples

Slides:



Advertisements
Similar presentations
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Advertisements

Happiness comes not from material wealth but less desire. 1.
Sections 7-1 and 7-2 Review and Preview and Estimating a Population Proportion.
Section 9.3 Inferences About Two Means (Independent)
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
Horng-Chyi HorngStatistics II_Five43 Inference on the Variances of Two Normal Population &5-5 (&9-5)
1 Inference About a Population Variance Sometimes we are interested in making inference about the variability of processes. Examples: –Investors use variance.
15-1 Introduction Most of the hypothesis-testing and confidence interval procedures discussed in previous chapters are based on the assumption that.
Things that I think are important Chapter 1 Bar graphs, histograms Outliers Mean, median, mode, quartiles of data Variance and standard deviation of.
Statistics 300: Elementary Statistics Section 9-3.
Ch 11 – Inference for Distributions YMS Inference for the Mean of a Population.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
Copyright © 2010, 2007, 2004 Pearson Education, Inc Lecture Slides Elementary Statistics Eleventh Edition and the Triola Statistics Series by.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
QBM117 Business Statistics Estimating the population mean , when the population variance  2, is known.
Sections 6-1 and 6-2 Overview Estimating a Population Proportion.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 3 Section 3 – Slide 1 of 19 Chapter 3 Section 3 Measures of Central Tendency and Dispersion.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Chapter 13 – Difference Between Two Parameters Math 22 Introductory Statistics.
Chapter 10 Inferences from Two Samples
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
1 10 Statistical Inference for Two Samples 10-1 Inference on the Difference in Means of Two Normal Distributions, Variances Known Hypothesis tests.
Slide Slide 1 Section 8-3 Testing a Claim About a Proportion.
Confidence Interval Estimation for a Population Proportion Lecture 31 Section 9.4 Wed, Nov 17, 2004.
1 Chapter 9 Inferences from Two Samples 9.2 Inferences About Two Proportions 9.3 Inferences About Two Means (Independent) 9.4 Inferences About Two Means.
Sections 7-1 and 7-2 Review and Preview and Estimating a Population Proportion.
Chapter 15 – Analysis of Variance Math 22 Introductory Statistics.
Math 4030 – 9b Comparing Two Means 1 Dependent and independent samples Comparing two means.
Chapter 10 Statistical Inference for Two Samples More than one but less than three! Chapter 10B < X
1 Objective Compare of two matched-paired means using two samples from each population. Hypothesis Tests and Confidence Intervals of two dependent means.
Chapter 9 Inferences Based on Two Samples: Confidence Intervals and Tests of Hypothesis.
Week 111 Review - Sum of Normal Random Variables The weighted sum of two independent normally distributed random variables has a normal distribution. Example.
Module 25: Confidence Intervals and Hypothesis Tests for Variances for One Sample This module discusses confidence intervals and hypothesis tests.
Chapter 12 Inference for Proportions AP Statistics 12.2 – Comparing Two Population Proportions.
Chapter 9 Lecture 3 Section: 9.3. We will now consider methods for using sample data from two independent samples to test hypotheses made about two population.
Copyright © 2013, 2009, and 2007, Pearson Education, Inc. Chapter 10 Comparing Two Groups Section 10.3 Other Ways of Comparing Means and Comparing Proportions.
Copyright © 2010, 2007, 2004 Pearson Education, Inc. All Rights Reserved.Copyright © 2010 Pearson Education Section 9-3 Inferences About Two Means:
Chapter 11 Inference for Distributions AP Statistics 11.2 – Inference for comparing TWO Means.
Section Copyright © 2014, 2012, 2010 Pearson Education, Inc. Lecture Slides Elementary Statistics Twelfth Edition and the Triola Statistics Series.
Introduction For inference on the difference between the means of two populations, we need samples from both populations. The basic assumptions.
Chapter 4. Inference about Process Quality
Exercises #8.74, 8.78 on page 403 #8.110, on page 416
Math 4030 – 10b Inferences Concerning Variances: Hypothesis Testing
Lecture Slides Elementary Statistics Twelfth Edition
Monthly utility bills factor into local cost of living measures
Psychology 202a Advanced Psychological Statistics
Lecture Slides Elementary Statistics Twelfth Edition
Module 22: Proportions: One Sample
Inferences On Two Samples
Since everything is a reflection of our minds,
Interval Estimation Part II
Inferences on Two Samples Summary
Introduction to Inference
STAT 5372: Experimental Statistics
HS 167 Test Prep Wednesday 5/23/07; 9:45 – 12:00
Independent Samples: Comparing Means
Confidence intervals for the difference between two means: Independent samples Section 10.1.
Section 12.2 Comparing Two Proportions
Chapter 24 Comparing Two Means.
Determining Which Method to use
Lecture Slides Elementary Statistics Twelfth Edition
Chapter 12 Inference for Proportions
Happiness comes not from material wealth but less desire.
Chapter 8 Inferences from Two Samples
Inference for Distributions
Inferences from Matched Pairs
Chapter 9 Lecture 4 Section: 9.4.
Chapter 9 Lecture 3 Section: 9.3.
Presentation transcript:

Inferences based on TWO samples New concept: Independent versus dependent samples Comparing two population means: Independent sampling Comparing two population means: Dependent sampling

Inferences About Two Means In the previous chapter we used one sample to make inferences about a single population. Very often we are interested in comparing two populations. 1) Is the average midterm grade in Stat 201.11 higher than the average midterm grade in Stat 201.12? 2) Is the average grade in Quiz #1 higher than Quiz #2 in this section of Introductory Statistics?

Inferences about Two Means Each sample is an example of testing a claim between two populations. However, there is a fundamental difference between 1) and 2). In # 2) the samples are not independent where as in # 1), they are. Why? 1. Different people in each class. 2. Same people writing different test.

Recognizing independent versus dependent samples 1. Is the average midterm grade in Stat 201.11 higher than the average midterm grade in Stat 201.12? Independent samples 2. Is the average grade in Quiz #1 higher than Quiz #2 in this section of Introductory Statistics? Dependent samples

Definition. Independent and Dependent Samples Two samples are independent if the sample selected from one population is not related to the sample selected from the other population. If one sample is related to the other, the samples are dependent. With dependent samples we get two values for each person, sometimes called paired-samples.

We consider first the case of two dependent (or paired) samples Calculations are very similar to those in the previous chapter for a CI or Test of Hypothesis involving one sample

Organize work using a table Sample 1 Sample 2 Difference 1 x1 y1 d1=x1 - y1 2 x2 y2 d2=x2 - y2 3 x3 y3 d3=x3 - y3 … ..l. …. ….. n xn yn dn=xn -yn

Organize work using a table Sample 1 Sample 2 Difference 1 x1 y1 d1=x1 - y1 2 x2 y2 d2=x2 - y2 3 x3 y3 d3=x3 - y3 … ..l. …. ….. n xn yn dn=xn -yn Can now use the methods of the previous chapter to find a confidence interval for the population mean of the difference d between x1 and x2.

Notation for Two Dependent Samples

The (1-a)*100% confidence interval for the mean difference md is Confidence Interval for the Mean Difference (Dependent Samples: Paired Data ) The (1-a)*100% confidence interval for the mean difference md is

Test Statistic for the Mean Difference (Dependent Samples) For n<30 the appropriate test statistic for testing the mean difference between paired samples is  with n-1 degrees of freedom. For n>30 then we use ‘z’ 

We now turn to the more challenging case of independent samples

Testing Claims about the Mean Difference (Independent Samples) When making claims about the mean difference between independent samples a different procedure is used than that for dependent/paired samples. Again there are different procedures for large (n>30) samples and small samples (n<30). In the small sample case, we must assume that both populations are normal and have equal variances.

Example Suppose we wish to compare two brands of 9-volt batteries, Brand 1 and Brand 2. Specifically, we would like to compare the mean life for the population of batteries of Brand 1, 1, and the mean life for the population of batteries of Brand 2, 2. To obtain a meaningful comparison we shall estimate the difference of the two population means by picking samples from the two populations.

For Brand 1 a sample of size 64 was chosen. From the data a point estimate for 1, would be 7.13. From the data a point estimate for 2 would be 7.78. It would therefore be natural for us to take as a point estimate for (1-2) to be -0.65 hours.

Point Estimator (Independent Samples) The estimate is the best point estimator of (1-2). Having found a point estimate, our next goal is to determine a confidence interval for it.

Point Estimator (Independent Samples) To construct a confidence interval for (1-2) we need to know the distribution of its point estimator. The distribution of is normal with mean (1-2) and standard deviation where n1 is the size of sample 1, n2 is the size of sample 2.

Confidence Interval for Difference in two Means Confidence Interval for Difference in two Means (Large samples or known variance)

Example: Life span of Batteries Let a = .05 so we are looking for the 95% confidence interval for the mean difference. What conclusion can you draw from the above?

Example: Life span of Batteries Let a = .05 so we are looking for the 95% confidence interval for the mean difference. We are 95 percent certain that the difference is negative. Thus, we are 95% certain that

Test Statistic for Two Means: Independent and large samples

Example: Life span of Batteries Hypothesis Testing. I claim that the two brands of batteries do not have the same life span. Using a 5% level of significance, test this claim.

Example: Life span of Batteries Hypothesis Sample Data Test Statistic

Example: Life span of Batteries Critical Region Decision The test statistic lies in the critical region, therefore we reject H0. The samples provide sufficient evidence to claim that the Batteries do indeed have different life spans.

Exercise Show that we would have rejected the null hypothesis even if we had used level of significance .008 (instead of .05. Thus… We conclude that the mean battery lives ARE different (p = .008)

Overview Comparing Two Populations: Mean (Small Dependent (paired) Samples) Asumptions: Samples are random plus eith n>=30 or the population of differences is approximately normal Mean (Large Independent Samples) Assumptions: Both samples are randomly chosen plus both sample sizes >= 30.

NOTE In the case of SMALL independent samples, one must use the t-distribution plus additional conditions must be satisfied AND one must use what is called a pooled estimate of the variance.

You are not responsible for this material NOTE In the case of SMALL independent samples, one must use the t-distribution plus additional conditions must be satisfied AND one must use what is called a pooled estimate of the variance. You are not responsible for this material