Working with Two Populations. Comparing Two Means

Similar documents
Section 9.2. Tests About a Population Proportion 12/17/2014. Carrying Out a Significance Test H A N T. Parameters & Hypothesis

Overview. p 2. Chapter 9. Pooled Estimate of. q = 1 p. Notation for Two Proportions. Inferences about Two Proportions. Assumptions

- E < p. ˆ p q ˆ E = q ˆ = 1 - p ˆ = sample proportion of x failures in a sample size of n. where. x n sample proportion. population proportion

Common Large/Small Sample Tests 1/55

Chapter 22. Comparing Two Proportions. Copyright 2010, 2007, 2004 Pearson Education, Inc.

BIOS 4110: Introduction to Biostatistics. Breheny. Lab #9

Chapter 22. Comparing Two Proportions. Copyright 2010 Pearson Education, Inc.

7-1. Chapter 4. Part I. Sampling Distributions and Confidence Intervals

Chapter 8: Estimating with Confidence

STA Learning Objectives. Population Proportions. Module 10 Comparing Two Proportions. Upon completing this module, you should be able to:

Interval Estimation (Confidence Interval = C.I.): An interval estimate of some population parameter is an interval of the form (, ),

Inferential Statistics. Inference Process. Inferential Statistics and Probability a Holistic Approach. Inference Process.

Lecture 5. Materials Covered: Chapter 6 Suggested Exercises: 6.7, 6.9, 6.17, 6.20, 6.21, 6.41, 6.49, 6.52, 6.53, 6.62, 6.63.

Chapter 1 (Definitions)

This chapter focuses on two experimental designs that are crucial to comparative studies: (1) independent samples and (2) matched pair samples.

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date:

ENGI 4421 Confidence Intervals (Two Samples) Page 12-01

2 1. The r.s., of size n2, from population 2 will be. 2 and 2. 2) The two populations are independent. This implies that all of the n1 n2

Chapter two: Hypothesis testing

Statistical Inference About Means and Proportions With Two Populations

HYPOTHESIS TESTS FOR ONE POPULATION MEAN WORKSHEET MTH 1210, FALL 2018

MATH/STAT 352: Lecture 15

Mathacle. PSet Stats, Concepts In Statistics Level Number Name: Date: Confidence Interval Guesswork with Confidence

Math 140 Introductory Statistics

Chapter 20. Comparing Two Proportions. BPS - 5th Ed. Chapter 20 1

Recall the study where we estimated the difference between mean systolic blood pressure levels of users of oral contraceptives and non-users, x - y.

Chapter 23: Inferences About Means

Class 23. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

Agreement of CI and HT. Lecture 13 - Tests of Proportions. Example - Waiting Times

Rule of probability. Let A and B be two events (sets of elementary events). 11. If P (AB) = P (A)P (B), then A and B are independent.

MOST PEOPLE WOULD RATHER LIVE WITH A PROBLEM THEY CAN'T SOLVE, THAN ACCEPT A SOLUTION THEY CAN'T UNDERSTAND.

Statistics. Chapter 10 Two-Sample Tests. Copyright 2013 Pearson Education, Inc. publishing as Prentice Hall. Chap 10-1

Instructor: Judith Canner Spring 2010 CONFIDENCE INTERVALS How do we make inferences about the population parameters?

Final Examination Solutions 17/6/2010

UNIVERSITY OF TORONTO Faculty of Arts and Science APRIL/MAY 2009 EXAMINATIONS ECO220Y1Y PART 1 OF 2 SOLUTIONS

Chapter 9. Key Ideas Hypothesis Test (Two Populations)

October 25, 2018 BIM 105 Probability and Statistics for Biomedical Engineers 1

Sample questions. 8. Let X denote a continuous random variable with probability density function f(x) = 4x 3 /15 for

A quick activity - Central Limit Theorem and Proportions. Lecture 21: Testing Proportions. Results from the GSS. Statistics and the General Population

Comparing Two Populations. Topic 15 - Two Sample Inference I. Comparing Two Means. Comparing Two Pop Means. Background Reading

Stat 200 -Testing Summary Page 1

SOLUTIONS y n. n 1 = 605, y 1 = 351. y1. p y n. n 2 = 195, y 2 = 41. y p H 0 : p 1 = p 2 vs. H 1 : p 1 p 2.

Successful HE applicants. Information sheet A Number of applicants. Gender Applicants Accepts Applicants Accepts. Age. Domicile

This is an introductory course in Analysis of Variance and Design of Experiments.

x z Increasing the size of the sample increases the power (reduces the probability of a Type II error) when the significance level remains fixed.

1 Models for Matched Pairs

1 Constructing and Interpreting a Confidence Interval

Chapter 8: STATISTICAL INTERVALS FOR A SINGLE SAMPLE. Part 3: Summary of CI for µ Confidence Interval for a Population Proportion p

Confidence Interval for one population mean or one population proportion, continued. 1. Sample size estimation based on the large sample C.I.

CH19 Confidence Intervals for Proportions. Confidence intervals Construct confidence intervals for population proportions

MBACATÓLICA. Quantitative Methods. Faculdade de Ciências Económicas e Empresariais UNIVERSIDADE CATÓLICA PORTUGUESA 9. SAMPLING DISTRIBUTIONS

Statistics 20: Final Exam Solutions Summer Session 2007

Estimating the Population Mean - when a sample average is calculated we can create an interval centered on this average

Chapter 5: Hypothesis testing

Chapter 13, Part A Analysis of Variance and Experimental Design

Chapter 22: What is a Test of Significance?

1 Constructing and Interpreting a Confidence Interval

Introduction to Econometrics (3 rd Updated Edition) Solutions to Odd- Numbered End- of- Chapter Exercises: Chapter 3

1036: Probability & Statistics

AP Statistics Review Ch. 8

The Hong Kong University of Science & Technology ISOM551 Introductory Statistics for Business Assignment 3 Suggested Solution

(7 One- and Two-Sample Estimation Problem )

Chapter 6 Sampling Distributions

Data Analysis and Statistical Methods Statistics 651

PSYCHOLOGICAL RESEARCH (PYC 304-C) Lecture 9

1 Inferential Methods for Correlation and Regression Analysis

Class 27. Daniel B. Rowe, Ph.D. Department of Mathematics, Statistics, and Computer Science. Marquette University MATH 1700

April 18, 2017 CONFIDENCE INTERVALS AND HYPOTHESIS TESTING, UNDERGRADUATE MATH 526 STYLE

FACULTY OF MATHEMATICAL STUDIES MATHEMATICS FOR PART I ENGINEERING. Lectures

MA238 Assignment 4 Solutions (part a)

Exam II Covers. STA 291 Lecture 19. Exam II Next Tuesday 5-7pm Memorial Hall (Same place as exam I) Makeup Exam 7:15pm 9:15pm Location CB 234

Central Limit Theorem the Meaning and the Usage

Comparing your lab results with the others by one-way ANOVA

Computing Confidence Intervals for Sample Data

Chapter 8 Interval Estimation

5. 추정 (Estimation) 2014/4/17

Homework 5 Solutions

Statistical Intervals for a Single Sample

Statistical Inference Procedures

If, for instance, we were required to test whether the population mean μ could be equal to a certain value μ

Multiple Comparisons Examples STAT 314

MIT : Quantitative Reasoning and Statistical Methods for Planning I

Statistical Inference (Chapter 10) Statistical inference = learn about a population based on the information provided by a sample.

Economics Spring 2015

Sample Size Determination (Two or More Samples)

LESSON 20: HYPOTHESIS TESTING

Statistics 511 Additional Materials

Lesson 2. Projects and Hand-ins. Hypothesis testing Chaptre 3. { } x=172.0 = 3.67

independence of the random sample measurements, we have U = Z i ~ χ 2 (n) with σ / n 1. Now let W = σ 2. We then have σ 2 (x i µ + µ x ) 2 i =1 ( )

CONFIDENCE INTERVALS STUDY GUIDE

University of California, Los Angeles Department of Statistics. Hypothesis testing

EXAMINATIONS OF THE ROYAL STATISTICAL SOCIETY

UNIT 8: INTRODUCTION TO INTERVAL ESTIMATION

Read through these prior to coming to the test and follow them when you take your test.

Lecture 5: Parametric Hypothesis Testing: Comparing Means. GENOME 560, Spring 2016 Doug Fowler, GS

STATISTICAL INFERENCE

Agenda: Recap. Lecture. Chapter 12. Homework. Chapt 12 #1, 2, 3 SAS Problems 3 & 4 by hand. Marquette University MATH 4740/MSCS 5740

18. Two-sample problems for population means (σ unknown)

Module 1 Fundamentals in statistics

MidtermII Review. Sta Fall Office Hours Wednesday 12:30-2:30pm Watch linear regression videos before lab on Thursday

Transcription:

Workig with Two Populatios Comparig Two Meas

Coditios for Two-Sample Iferece The data are from two radom samples from two distict idepedet populatios. Normality. Two sample t procedures are more robust tha oe sample. Whe applyig the Cetral Limit theorem, we use the sum of the sample sizes to determie the accuracy. Each populatios eeds to be at least 0 times their respective sample size.

Cofidece Itervals Draw two idepedet radom samples of size ad of size from ormal populatios. The cofidece iterval for is: Oe-sample mea x t * s Two-sample mea x x t * s s

Test of Sigificace To test the hypothesis H o : = Oe-sample mea t xs o Two-sample mea t x x s s

Degrees of freedom We ever wat to over estimate the accuracy of a t procedure. Choose of the smaller sample size if a calculator or computer program is uavailable to determie the degrees of freedom.

The beauty of the graphig calculator The distributio of the two-sample t statistic is close to the t distributio with degrees of freedom df give by: s s s s df

Example A dieticia has developed a diet that is low i fats, carbohydrates, ad cholesterol. Although the diet was iitially iteded to be used by people with heart disease, the dietitia wishes to examie the effect this diet has o the weights of obese people. Two radom samples s of 00 obese people each are selected, ad oe group of 00 is placed o the low-fat diet. The other 00 are placed o a diet that cotais approximately the same quatity of food but is ot as low i fats, carbohydrates ad cholesterol. Each perso, the amout of weight lost (or gaied) i a 3-week period is recorded. The results are below. Low-Fat Diet Other Diet Mea weight loss 9.3 lbs 7.4 lbs Sample variace.4 6.3

Form ad iterpret a 95% cofidece iterval for the differece betwee the populatio mea weight losses for the two diets. sample t-iterval mea weight loss for low-fat mea weight loss for other Give two idepedet radom samples. Both samples are very large, so Cetral Limit Theorem guaratees approximately ormal distributios. Assume both populatios at least 000 people. x x t * s s df = 93 9.3 7.4.984.4 6.3 00 00.673,3.7 We are 95% cofidet that the true mea differece lies betwee.673 ad 3.7 pouds more for the low-fat diet tha the other diet.

Test to see if there is a differece i weight loss for the two diets. sample t-test t mea weight loss for low-fat mea weight loss for other H o : H a : (same coditios as sample t-iterval from part a) x x s s 9.3 7.4.4 6.3 00 00 3.054 df = 93 p-value=.006 =.05 We reject H o. Sice the p-value <, there is eough evidece to believe the low-fat diet weight loss is differet tha the other diet.

Example A radom sample of studets from a high school were chose to determie if their sittig pulse rate was lower tha their stadig pulse rate. Each studet s pulse rate was measured i both positios. Ca we coclude the sittig pulse rate is lower?

Ca we coclude the sittig pulse rate is lower? sample t-test true mea pulse rate sittig true mea pulse rate stadig H o : H a : Give two idepedet radom samples

sample special case Northwest Austi tha the air pollutio i cetral Austi. Air pollutio measuremets are take from both areas ad are icluded i the table below. Air pollutio is measured i parts per millio. Does there seem to be a sigificat differece i the air quality of Northwest Austi ad cetral Austi? Cetral 5 7 9 4 3 9 Northwest 9 6 6 9 5 3 5 9

sample special case Northwest Austi tha the air pollutio i cetral Austi. Air pollutio measuremets are take from both areas ad are icluded i the table below. Air pollutio is measured i parts per millio. Does there seem to be a sigificat differece i the air quality of Northwest Austi ad cetral Austi? Date 5/3 5/6 5/9 7/ 7/5 7/8 8/ 8/6 Cetral 5 7 9 4 3 9 Northwest 9 6 6 9 5 3 5 9

Matched pair t-test A radom sample of studets from a high school were chose to determie if their sittig pulse rate was lower tha their stadig pulse rate. Each studet s pulse rate was measured i both positios. Ca we coclude the sittig pulse rate is lower?

We fail to reject H o sice the p-value is great tha =.05, there is ot eough evidece to believe the true mea differece is greater tha 0 idicatig sittig pulse is ot lower. Matched pair t-test true mea differece (stadig d H : 0 H : 0 0 Collectio Give radom sample Boxplot is roughly symmetrical, data is approximately ormal. Safe to ifer populatio at least 40 studets. t d a d 3.7 0.38 4.3 sittig) -30-0 -0 0 0 0 30 40 differece df = 3 p-value.409 Box Plot

Two proportios

Cofidece Iterval: Differece of proportios ˆ ˆ pˆ z* p p ˆ ˆ pˆ z* p p a f p p z * pˆ pˆ pˆ pˆ

Cofidece Iterval: Differece of proportios pˆ pˆ pˆ pˆ pˆ pˆ pˆ pˆ pˆ pˆ pˆ pˆ

Cofidece Iterval: Differece of proportios Draw a sample of size from a populatio p ad draw a idepedet radom sample of size from aother populatio p, the cofidece iterval for the differece of proportios is a f p p z * p a p f p a p f

Test of Sigificace To test the hypothesis H o : p p z p p ca hf F ca hf c c c c a f H G I K J p p p p p c p c where p c x x

I the late 70 s there were itesive atismokig campaigs sposored by both federal ad private agecies. Suppose that the America Cacer Society radomly sampled,500 adults i 979 ad the sampled,000 adults i 98 to determie whether there was evidece that the percetage of smokers had decreased. Give a 90% proportio z-iteval p proportio who smoked i 979 p proportio who smoked i 98 Give two radom samples take from two idepedet populatios. Assume that both populatios are at least 0,000 people.

I the late 70 s there were itesive atismokig campaigs sposored by both federal ad private agecies. Suppose that the America Cacer Society radomly sampled,500 adults i 979 ad the sampled,000 adults i 98 to determie whether there was evidece that the percetage of smokers had decreased. Give a 90% p 500.384 0 ( p) 500.384 0 p 000.36 0 ( p ) 000.36 0 Both samples sizes are large eough for a ormal distributio.

p p z *. 384. 36 645. a f a f p p p p. 384. 384. 36. 36 500 000 a f a f.,. 0309 0849 a f We are 90% cofidet that the true differece i proportios is betwee.0309 ad.0849 higher for those who smoked i 979 tha those who smoked i 98.

Do these data idicate that the proportio of smokers decreased over this -year period?.0 proportio z-test H0 : p p Ha : p p p p z F. 384. 36 a f p p HG I K J a ff. 35. 35H500 z 356. p - value =.0009 p 576 65 500 000 000 We reject H o. Sice p-value<, there is eough evidece to believe the proportio who smoked i 979 is higher tha the proportio i 98. I K