Inference About Two Means: Independent Samples

Similar documents
T.I.H.E. IT 233 Statistics and Probability: Sem. 1: 2013 ESTIMATION AND HYPOTHESIS TESTING OF TWO POPULATIONS

Inferences About Two Population Proportions

Section 9.4. Notation. Requirements. Definition. Inferences About Two Means (Matched Pairs) Examples

AMS7: WEEK 7. CLASS 1. More on Hypothesis Testing Monday May 11th, 2015

EXAM 3 Math 1342 Elementary Statistics 6-7

Exam 2 (KEY) July 20, 2009

Questions 3.83, 6.11, 6.12, 6.17, 6.25, 6.29, 6.33, 6.35, 6.50, 6.51, 6.53, 6.55, 6.59, 6.60, 6.65, 6.69, 6.70, 6.77, 6.79, 6.89, 6.

Classroom Activity 7 Math 113 Name : 10 pts Intro to Applied Stats

The t-statistic. Student s t Test

7.2 One-Sample Correlation ( = a) Introduction. Correlation analysis measures the strength and direction of association between

Chapter 9 Inferences from Two Samples

Difference between means - t-test /25

2011 Pearson Education, Inc

Statistical Inference Theory Lesson 46 Non-parametric Statistics

MATH 240. Chapter 8 Outlines of Hypothesis Tests

Lecture Slides. Elementary Statistics Eleventh Edition. by Mario F. Triola. and the Triola Statistics Series 9.1-1

Chapter 9. Inferences from Two Samples. Objective. Notation. Section 9.2. Definition. Notation. q = 1 p. Inferences About Two Proportions

Chapter 7: Statistical Inference (Two Samples)

their contents. If the sample mean is 15.2 oz. and the sample standard deviation is 0.50 oz., find the 95% confidence interval of the true mean.

Two-Sample Inferential Statistics

POLI 443 Applied Political Research

Review 6. n 1 = 85 n 2 = 75 x 1 = x 2 = s 1 = 38.7 s 2 = 39.2

Chapter 8. Inferences Based on a Two Samples Confidence Intervals and Tests of Hypothesis

HYPOTHESIS TESTING. Hypothesis Testing

Hypothesis Testing. Week 04. Presented by : W. Rofianto

Inferences for Regression

Statistics for IT Managers

PSY 216. Assignment 9 Answers. Under what circumstances is a t statistic used instead of a z-score for a hypothesis test

First we look at some terms to be used in this section.

Chapter 23. Inference About Means

CBA4 is live in practice mode this week exam mode from Saturday!

Test 3 Practice Test A. NOTE: Ignore Q10 (not covered)

Visual interpretation with normal approximation

CIVL /8904 T R A F F I C F L O W T H E O R Y L E C T U R E - 8

Hypothesis Tests and Estimation for Population Variances. Copyright 2014 Pearson Education, Inc.

Introduction to Business Statistics QM 220 Chapter 12

Math 2000 Practice Final Exam: Homework problems to review. Problem numbers

The t-test: A z-score for a sample mean tells us where in the distribution the particular mean lies

Single Sample Means. SOCY601 Alan Neustadtl

Inferences About Two Proportions

Stat 231 Exam 2 Fall 2013

The Student s t Distribution

16.400/453J Human Factors Engineering. Design of Experiments II

Hypothesis for Means and Proportions

10.4 Hypothesis Testing: Two Independent Samples Proportion

CHAPTER EIGHT TESTS OF HYPOTHESES

The Purpose of Hypothesis Testing

Inferences about central values (.)

(ii) Scan your answer sheets INTO ONE FILE only, and submit it in the drop-box.

Lectures 5 & 6: Hypothesis Testing

Chapter 23. Inferences About Means. Monday, May 6, 13. Copyright 2009 Pearson Education, Inc.

CHAPTER 8. Test Procedures is a rule, based on sample data, for deciding whether to reject H 0 and contains:

Sampling, Confidence Interval and Hypothesis Testing

Lecture 9 Two-Sample Test. Fall 2013 Prof. Yao Xie, H. Milton Stewart School of Industrial Systems & Engineering Georgia Tech

An inferential procedure to use sample data to understand a population Procedures

LECTURE 12 CONFIDENCE INTERVAL AND HYPOTHESIS TESTING

Correlation Analysis

A3. Statistical Inference

Table 1: Fish Biomass data set on 26 streams

Section 9.5. Testing the Difference Between Two Variances. Bluman, Chapter 9 1

2.57 when the critical value is 1.96, what decision should be made?

Inferences for Correlation

ME3620. Theory of Engineering Experimentation. Spring Chapter IV. Decision Making for a Single Sample. Chapter IV

Elementary Statistics Triola, Elementary Statistics 11/e Unit 17 The Basics of Hypotheses Testing

Slides by. John Loucks. St. Edward s University. Slide South-Western, a part of Cengage Learning

MULTIPLE CHOICE. Choose the one alternative that best completes the statement or answers the question. describes the.

The One-Way Repeated-Measures ANOVA. (For Within-Subjects Designs)

CH.9 Tests of Hypotheses for a Single Sample

Tests about a population mean

Fundamental Probability and Statistics

Chapter 7 Comparison of two independent samples

Basic Statistics. 1. Gross error analyst makes a gross mistake (misread balance or entered wrong value into calculation).

STAT Chapter 8: Hypothesis Tests

STA 101 Final Review

Inference for Proportions, Variance and Standard Deviation

Review: General Approach to Hypothesis Testing. 1. Define the research question and formulate the appropriate null and alternative hypotheses.

Psychology 282 Lecture #4 Outline Inferences in SLR

Lecture Slides. Elementary Statistics. by Mario F. Triola. and the Triola Statistics Series

Epidemiology Principles of Biostatistics Chapter 10 - Inferences about two populations. John Koval

Statistical Methods in Natural Resources Management ESRM 304

Chapter 10: Inferences based on two samples

Ch 2: Simple Linear Regression

Inference About Means and Proportions with Two Populations. Chapter 10

Chapter 24. Comparing Means

Quantitative Methods for Economics, Finance and Management (A86050 F86050)

Linear Combinations of Group Means

Econ 3790: Business and Economic Statistics. Instructor: Yogesh Uppal

Hypothesis Testing Problem. TMS-062: Lecture 5 Hypotheses Testing. Alternative Hypotheses. Test Statistic

Chapter 5 Confidence Intervals

Hypothesis Testing hypothesis testing approach formulation of the test statistic

# of 6s # of times Test the null hypthesis that the dice are fair at α =.01 significance

10/4/2013. Hypothesis Testing & z-test. Hypothesis Testing. Hypothesis Testing

hp calculators HP 20b Probability Distributions The HP 20b probability distributions Practice solving problems involving probability distributions

Study Ch. 9.3, #47 53 (45 51), 55 61, (55 59)

Chapter 5: HYPOTHESIS TESTING

8.1-4 Test of Hypotheses Based on a Single Sample

An Analysis of College Algebra Exam Scores December 14, James D Jones Math Section 01

Tables Table A Table B Table C Table D Table E 675

A3. Statistical Inference Hypothesis Testing for General Population Parameters

ST Introduction to Statistics for Engineers. Solutions to Sample Midterm for 2002

Transcription:

Inference About Two Means: Independent Samples MATH 130, Elements of Statistics I J. Robert Buchanan Department of Mathematics Fall 2017

Motivation Suppose we wish to study the mean absorption in muscle tissue of two different drugs. A single test subject cannot receive both drugs since the drugs may interfere with each other. A simple random sample of 36 test subjects is given drug A and independently a simple random sample of 45 test subjects is given drug B. The sample mean and sample standard deviation in the absorption of each drug is found.

Motivation Suppose we wish to study the mean absorption in muscle tissue of two different drugs. A single test subject cannot receive both drugs since the drugs may interfere with each other. A simple random sample of 36 test subjects is given drug A and independently a simple random sample of 45 test subjects is given drug B. The sample mean and sample standard deviation in the absorption of each drug is found. Question: how do we test a hypothesis in this situation?

Welch s t Suppose a simple random sample of size n 1 is taken from a population with unknown mean µ 1 and unknown standard deviation σ 1. Additionally, a simple random sample of size n 2 is taken from a second population with unknown mean µ 2 and unknown standard deviation σ 2. If the two populations are normally distributed or if the sample sizes are sufficiently large (n 1 30 and n 2 30) then t = (x 1 x 2 ) (µ 1 µ 2 ) s 2 1 n 1 + s2 2 n 2 approximately follows Student s t-distribution where the degrees of freedom is the smaller of n 1 1 and n 2 1 and x 1 is the sample mean and s 1 is the sample standard deviation from the first population, and x 2 is the sample mean and s 2 is the sample standard deviation from the second population.

Hypothesis Testing Using Independent Samples Steps: 1. Determine the null and alternative hypotheses. Two-tailed Left-tailed Right-tailed H 0 : µ 1 = µ 2 H 0 : µ 1 = µ 2 H 0 : µ 1 = µ 2 H 1 : µ 1 µ 2 H 1 : µ 1 < µ 2 H 1 : µ 1 > µ 2 2. Select a level of significance α. 3. Compute the test statistic: t 0 = (x 1 x 2 ) (µ 1 µ 2 ) s 2 1 n 1 + s2 2 n 2 4. Use the classical or P-value approach to make a decision. 5. State the conclusion.

Example (P-Value Approach, 1 of 3) Many cheeses are produced in the shape of a wheel. Due to differences in the amount of water in a cheese, the weights of different types of cheese can vary. A random sample of 16 wheels of Gouda had a mean of 1.20 pounds and a standard deviation of 0.32 pounds. A random sample of 14 wheels of Brie had a mean of 1.05 pounds and a standard deviation of 0.25 pounds. At the α = 0.10 significance level test the claim that mean weights of wheels of Gouda and Brie are the same.

Example (P-Value Approach, 2 of 3) H 0 : µ 1 = µ 2 H 1 : µ 1 µ 2 (two-tailed test) α = 0.10, α/2 = 0.05, df = min{16 1, 14 1} = 13, t α/2 = ±1.771 Test statistic: t 0 = (x 1 x 2 ) (µ 1 µ 2 ) s 2 1 n 1 + s2 2 n 2 = (1.20 1.05) (0) (0.32) 2 16 + (0.25)2 14 = 1.4391

Example (P-Value Approach, 3 of 3) 1.350 < t 0 = 1.4391 < 1.771 Decision: do not reject H 0. P-value = 2P(t 0 > 1.771) > 0.10 Conclusion: the sample data do not warrant rejection of the claim that wheels of Gouda and Brie cheese weigh the same.

Example (Classical Approach, 1 of 3) The purchasing department for a regional supermarket chain is considering two sources from which to purchase 10-lb bags of potatoes. A random sample taken from each source gives the following results: Idaho Supers Idaho Best Number of bags 100 100 Mean weight 10.2 10.4 Sample variance 0.36 0.25 At the 0.05 level of significance, is there a difference between the mean weights of the 10-lb bags of potatoes?

Example (Classical Approach, 2 of 3) H 0 : µ 1 = µ 2 H 1 : µ 1 µ 2 (two-tailed test) α = 0.05, α/2 = 0.025, df = min{100 1, 100 1} = 99, t α/2 = ±1.987 Test statistic: t 0 = (x 1 x 2 ) (µ 1 µ 2 ) s 2 1 n 1 + s2 2 n 2 = (10.2 10.4) (0) 0.36 100 + 0.25 100 = 2.561

Example (Classical Approach, 3 of 3) t 0 2.561 Decision: reject H 0. Conclusion: the sample data warrant rejection of the claim that Idaho Supers and Idaho Best 10-lb bags weigh the same.

Example (Classical Approach, 1 of 3) Bausch & Lomb measured lenses from two different groups once by two different instruments and the differences were recorded. The data is as follows: 4 5 2 3 7 10 11 1 Group A 3 7 5 3 4 5 7 4 1 18 0 17 12 9 4 17 2 13 12 5 11 15 7 33 10 Group B 6 2 16 2 0 19 6 17 4 19 22 4 8 10 6 At the α = 0.05 level of significance, test the claim that the mean of Group B is less than the mean of Group A.

Example (Classical Approach, 2 of 3) H 0 : µ A = µ B H 1 : µ A > µ B (right-tailed test) α = 0.05, df = min{25 1, 23 1} = 22, t α = 1.717 Test statistic: t 0 = (x 1 x 2 ) (µ 1 µ 2 ) s 2 1 n 1 + s2 2 n 2 = (0.7 ( 5.6)) (0) (8.3) 2 25 + (12.2)2 23 = 2.074

Example (Classical Approach, 3 of 3) t 0 2.074 Decision: reject H 0. Conclusion: the sample data support the claim that the mean of Group B is less than the mean of Group A.

Confidence Intervals Suppose a simple random sample of size n 1 is taken from a population with unknown mean µ 1 and unknown standard deviation σ 1. Additionally, a simple random sample of size n 2 is taken from a second population with unknown mean µ 2 and unknown standard deviation σ 2. If the two populations are normally distributed or if the sample sizes are sufficiently large (n 1 30 and n 2 30) then a (1 α) 100% confidence interval estimate of µ 1 µ 2 is given by Lower bound: (x 1 x 2 ) t α/2 s 2 1 n 1 + s2 2 n 2 Upper bound: (x 1 x 2 ) + t α/2 s 2 1 n 1 + s2 2 n 2 where t α/2 is computed using the smaller of n 1 1 and n 2 1 as the number of degrees of freedom.

Example (1 of 2) According to USA Today the longest average workweeks for non-supervisory employees in private industry are in mining (45.4 hours) and manufacturing (42.3 hours). The shortest average workweeks are in retail trade (29.0 hours) and services (32.4 hours). A study conducted in Missouri found these results: Industry n Mean Hours Std. Dev. Mining 15 47.5 5.5 Manufacturing 10 43.5 4.9 Determine the 95% confidence interval estimate for the difference in the average length of the workweek between mining and manufacturing.

Example (2 of 2) α = 0.05, α/2 = 0.025, df = min{15 1, 10 1} = 9, t α/2 = 2.262 Margin of Error: E = t α/2 s 2 1 n 1 + s2 2 n 2 = 2.262 (5.5) 2 15 + (4.9)2 10 = 4.8 95% Confidence Interval: ([x 1 x 2 ] E, [x 1 x 2 ] + E) = (47.5 43.5 4.8, 47.5 43.5 + 4.8) = ( 0.8, 8.8)