COMPARING MEANS: INDEPENDENT SAMPLES 1 ST sample: x1, x2, …, xm from population with mean μx; 2 nd sample: y1, y2, …, yn from population with mean μy;

Slides:



Advertisements
Similar presentations
Hypothesis Testing. To define a statistical Test we 1.Choose a statistic (called the test statistic) 2.Divide the range of possible values for the test.
Advertisements

Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Happiness comes not from material wealth but less desire. 1.
STATISTICAL INFERENCE PART V
Confidence Interval and Hypothesis Testing for:
Comparing Two Population Means The Two-Sample T-Test and T-Interval.
Chapter 9: Inferences for Two –Samples
ONE SAMPLE t-TEST FOR THE MEAN OF THE NORMAL DISTRIBUTION Let sample from N(μ, σ), μ and σ unknown, estimate σ using s. Let significance level =α. STEP.
10-1 Introduction 10-2 Inference for a Difference in Means of Two Normal Distributions, Variances Known Figure 10-1 Two independent populations.
COMPARING TWO POPULATIONS IDEA: Compare two groups/populations based on samples from each of them. Examples. Compare average height of men and women. Draw.
12.5 Differences between Means (s’s known)
Statistics. Overview 1. Confidence interval for the mean 2. Comparing means of 2 sampled populations (or treatments): t-test 3. Determining the strength.
Business Statistics: A Decision-Making Approach, 6e © 2005 Prentice-Hall, Inc. Chap 9-1 Introduction to Statistics Chapter 10 Estimation and Hypothesis.
1/45 Chapter 11 Hypothesis Testing II EF 507 QUANTITATIVE METHODS FOR ECONOMICS AND FINANCE FALL 2008.
Tuesday, October 22 Interval estimation. Independent samples t-test for the difference between two means. Matched samples t-test.
COMPARING PROPORTIONS IN LARGE SAMPLES Examples: Compare probability of H on two coins. Compare proportions of republicans in two cities. 2 populations:
Chapter 23 Inferences about Means. Review  One Quantitative Variable  Population Mean Value _____  Population Standard Deviation Value ____.
A Decision-Making Approach
© 2004 Prentice-Hall, Inc.Chap 10-1 Basic Business Statistics (9 th Edition) Chapter 10 Two-Sample Tests with Numerical Data.
Let sample from N(μ, σ), μ unknown, σ known.
Chapter 10, sections 1 and 4 Two-sample Hypothesis Testing Test hypotheses for the difference between two independent population means ( standard deviations.
5-3 Inference on the Means of Two Populations, Variances Unknown
T Test for One Sample. Why use a t test? The sampling distribution of t represents the distribution that would be obtained if a value of t were calculated.
Lab 5 Hypothesis testing and Confidence Interval.
Two Sample Tests Ho Ho Ha Ha TEST FOR EQUAL VARIANCES
SECTION 6.4 Confidence Intervals for Variance and Standard Deviation Larson/Farber 4th ed 1.
Laws of Logic and Rules of Evidence Larry Knop Hamilton College.
Ch7 Inference concerning means II Dr. Deshi Ye
The paired sample experiment The paired t test. Frequently one is interested in comparing the effects of two treatments (drugs, etc…) on a response variable.
McGraw-Hill/Irwin Copyright © 2007 by The McGraw-Hill Companies, Inc. All rights reserved. Statistical Inferences Based on Two Samples Chapter 9.
STATISTICAL INFERENCE PART VII
One Sample Inf-1 If sample came from a normal distribution, t has a t-distribution with n-1 degrees of freedom. 1)Symmetric about 0. 2)Looks like a standard.
Week 111 Power of the t-test - Example In a metropolitan area, the concentration of cadmium (Cd) in leaf lettuce was measured in 7 representative gardens.
Chapter 9 Section 2 Testing the Difference Between Two Means: t Test 1.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 9 Inferences Based on Two Samples.
Chapter 10 Inferences from Two Samples
STATISTICAL INFERENCE PART VIII HYPOTHESIS TESTING - APPLICATIONS – TWO POPULATION TESTS 1.
1 Section 9-4 Two Means: Matched Pairs In this section we deal with dependent samples. In other words, there is some relationship between the two samples.
Objectives (BPS chapter 19) Comparing two population means  Two-sample t procedures  Examples of two-sample t procedures  Using technology  Robustness.
Tests of Hypotheses Involving Two Populations Tests for the Differences of Means Comparison of two means: and The method of comparison depends on.
Ch11: Comparing 2 Samples 11.1: INTRO: This chapter deals with analyzing continuous measurements. Later, some experimental design ideas will be introduced.
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.
MeanVariance Sample Population Size n N IME 301. b = is a random value = is probability means For example: IME 301 Also: For example means Then from standard.
- We have samples for each of two conditions. We provide an answer for “Are the two sample means significantly different from each other, or could both.
6.1 - One Sample One Sample  Mean μ, Variance σ 2, Proportion π Two Samples Two Samples  Means, Variances, Proportions μ 1 vs. μ 2.
Business Statistics, 4e, by Ken Black. © 2003 John Wiley & Sons Business Statistics, 4e by Ken Black Chapter 10 Statistical Inferences about Two.
ISMT253a Tutorial 1 By Kris PAN Skewness:  a measure of the asymmetry of the probability distribution of a real-valued random variable 
STATISTICAL INFERENCE PART VI HYPOTHESIS TESTING 1.
AP Statistics. Chap 13-1 Chapter 13 Estimation and Hypothesis Testing for Two Population Parameters.
CHAPTER 10 ANOVA - One way ANOVa.
MATB344 Applied Statistics I. Experimental Designs for Small Samples II. Statistical Tests of Significance III. Small Sample Test Statistics Chapter 10.
Lecture 8 Estimation and Hypothesis Testing for Two Population Parameters.
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.
Chapter 14 Single-Population Estimation. Population Statistics Population Statistics:  , usually unknown Using Sample Statistics to estimate population.
Chapter 10: The t Test For Two Independent Samples.
Chapter 11 Inference for Distributions AP Statistics 11.2 – Inference for comparing TWO Means.
Exercises #8.74, 8.78 on page 403 #8.110, on page 416
Math 4030 – 10a Tests for Population Mean(s)
Chapter 11 Hypothesis Testing II
Chapter 8 Hypothesis Testing with Two Samples.
Since everything is a reflection of our minds,
Data Mining 2016/2017 Fall MIS 331 Chapter 2 Sampliing Distribution
Chapter 8 Estimation: Additional Topics
Comparing Populations
Independent Samples: Comparing Means
Confidence intervals for the difference between two means: Independent samples Section 10.1.
Chapter 6 Confidence Intervals.
Happiness comes not from material wealth but less desire.
Chapter 9 Lecture 3 Section: 9.3.
Presentation transcript:

COMPARING MEANS: INDEPENDENT SAMPLES 1 ST sample: x1, x2, …, xm from population with mean μx; 2 nd sample: y1, y2, …, yn from population with mean μy; GOAL: Determine if μx = μy based on the two samples. Test Ho: μx = μy vs Ha: μx ≠ μy or Ha: μx > μy or Ha: μx < μy Procedure depends on what can we assume about variability of the populations: σx and σy. CASE1. σx and σy are known. CASE2. σx and σy are not known, but may be assumed equal σx=σy CASE3. σx and σy are not known, and can not be assumed equal. Test statistics are developed for each of the 3 cases.

COMPARING MEANS: INDEPENDENT SAMPLES CASE 1: σx and σy known Test on significance level α. STEP1. Ho: μx = μy vs Ha: μx ≠ μy or Ha: μx > μy STEP 2. Test statistic: Under the Ho, the test statistic has standard normal distribution. STEP 3. Critical value? For one-sided test z α, for two-sided z α/2. STEP 4. DECISION-critical/rejection region(s) depends on Ha. Ha: μ ≠ μo Reject Ho if |z|> z α/2 ; Ha: μ > μo Reject Ho if z > z α ; Ha: μ < μo Reject Ho if z < - z α. STEP 5. Answer the question in the problem.

COMPARING MEANS: INDEPENDENT SAMPLES CASE 2: σx and σy not known, but assumed equal. STEP 2. Test statistic: where is a pooled estimate of the common variance Under the Ho, the test statistic has t distribution with df = m+n-2. STEP 3. Critical value? One-sided test t α, two-sided t α/2. STEP 4. DECISION-critical/rejection region(s) depends on Ha. Ha: μ ≠ μo Reject Ho if |t|> t α/2 ; Ha: μ > μo Reject Ho if t > t α ; Ha: μ < μo Reject Ho if t < - t α.

COMPARING MEANS: INDEPENDENT SAMPLES CASE 3: σx and σy not known, and may not be assumed equal. STEP 2. Test statistic: Under Ho, the degrees of freedom for the t distribution may be approximated by df=min(m-1, n-1). STEP 3. Critical value? One-sided test t α, two-sided t α/2. STEP 4. DECISION-critical/rejection region(s) depends on Ha. Ha: μ ≠ μo Reject Ho if |t|> t α/2 ; Ha: μ > μo Reject Ho if t > t α ; Ha: μ < μo Reject Ho if t < - t α.

EXAMPLE1 A medication for blood pressure was administered to a group of 13 randomly selected patients with elevated blood pressure while a group of 15 was given a placebo. At the end of 3 months, the following data was obtained on their Systolic Blood Pressure. Control group, x: n=15, sample mean = 180, s=50 Treated group, y: m=13, sample mean =150, s=30. Test if the treatment has been effective. Assume the variances are the same in both groups and use α=0.01. Soln. Let μx= mean blood pressure for the control group; μy= mean blood pressure for the treatment group. Then, n=15, = 180, s x =50, m=13, =150, s y =30. Assumed equality of variances/st.dev. σx=σy

EXAMPLE1 contd. STEP1. Ho: μx = μy (medicine not effective) vs Ha: μx > μy (med. effective) STEP 2. Pooled variance: Standard deviation Test statistic: STEP 3. Critical value=t 0.01 =2.479, df=26. STEP 4. t= not > 2.479, do not reject Ho. STEP 5. Not enough evidence to conclude that the medicine is effective.

(1-α)100% CONFIDENCE INTERVAL FOR (μx- μy) CASE 1: σx and σy known CASE 2: σx and σy not known, but assumed equal. Use t distribution with df=m+n-2. CASE 3: σx and σy not known, and may not be assumed equal. Use t distribution with df=min(m-1, n-1).

EXAMPLE1 contd. Construct a 95% CI for the difference in the means of blood pressures for the two groups (μx - μy). Soln. We already know n=15, = 180, s x =50, m=13, =150, s y =30, s p = CASE 2. 95% CI, so α=0.05, so α/2=0.025, t(26) = % CI is: NOTE: The interval contains zero. Intuitively, that conforms our decision that there is no difference in means between the medicine and the placebo.

MINITAB EXERCISE Is there a significant difference between test scores on the 1st and 2nd test? Use data in example176.xls (see class web site).

MINITAB EXAMPLE contd. Two Sample T-Test and Confidence Interval Two sample T for exm1 vs exm2 N Mean StDev SE Mean exm exm % CI for mu exm1 - mu exm2: ( -0.8, 17.1) T-Test mu exm1 = mu exm2 (vs not =): T = 1.85 P = DF = 41