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

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

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

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

Common Large/Small Sample Tests 1/55

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

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

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

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

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics

TABLES AND FORMULAS FOR MOORE Basic Practice of Statistics

Sample Size Determination (Two or More Samples)

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

Chapter 8: Estimating with Confidence

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

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

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

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

Class 27. 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

STATISTICAL INFERENCE

Final Examination Solutions 17/6/2010

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

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

Statistical Inference About Means and Proportions With Two Populations

Describing the Relation between Two Variables

STAT 155 Introductory Statistics Chapter 6: Introduction to Inference. Lecture 18: Estimation with Confidence

Stat 200 -Testing Summary Page 1

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

1 Constructing and Interpreting a Confidence Interval

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

Expectation and Variance of a random variable

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

- 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

Economics Spring 2015

Chapter 1 (Definitions)

Properties and Hypothesis Testing

Chapter 6 Sampling Distributions

Confidence Intervals for the Population Proportion p

Chapters 5 and 13: REGRESSION AND CORRELATION. Univariate data: x, Bivariate data (x,y).

Sampling Error. Chapter 6 Student Lecture Notes 6-1. Business Statistics: A Decision-Making Approach, 6e. Chapter Goals

Statistics 20: Final Exam Solutions Summer Session 2007

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

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

(7 One- and Two-Sample Estimation Problem )

Y i n. i=1. = 1 [number of successes] number of successes = n

Statistics 511 Additional Materials

z is the upper tail critical value from the normal distribution

1 Models for Matched Pairs

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

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

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

Sampling Distributions, Z-Tests, Power

AP Statistics Review Ch. 8

Chapter 11: Asking and Answering Questions About the Difference of Two Proportions

Chapter 22: What is a Test of Significance?

Confidence Intervals รศ.ดร. อน นต ผลเพ ม Assoc.Prof. Anan Phonphoem, Ph.D. Intelligent Wireless Network Group (IWING Lab)

Announcements. Unit 5: Inference for Categorical Data Lecture 1: Inference for a single proportion

1 Constructing and Interpreting a Confidence Interval

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

MA238 Assignment 4 Solutions (part a)

Math 140 Introductory Statistics

Simple Random Sampling!

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

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

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

MATH/STAT 352: Lecture 15

S160 #12. Review of Large Sample Result for Sample Proportion

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

1 Inferential Methods for Correlation and Regression Analysis

S160 #12. Sampling Distribution of the Proportion, Part 2. JC Wang. February 25, 2016

Parameter, Statistic and Random Samples

CONFIDENCE INTERVALS STUDY GUIDE

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

MIT : Quantitative Reasoning and Statistical Methods for Planning I

Statistics Lecture 27. Final review. Administrative Notes. Outline. Experiments. Sampling and Surveys. Administrative Notes

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

Working with Two Populations. Comparing Two Means

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.

Confidence Intervals

Understanding Dissimilarity Among Samples

Chapter 7 Student Lecture Notes 7-1

Chapter two: Hypothesis testing

3/3/2014. CDS M Phil Econometrics. Types of Relationships. Types of Relationships. Types of Relationships. Vijayamohanan Pillai N.

π: ESTIMATES, CONFIDENCE INTERVALS, AND TESTS Business Statistics

Creative Commons Attribution-NonCommercial-Share Alike License

UCLA STAT 13 Introduction to Statistical Methods for the Life and Health Sciences

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 13, Part A Analysis of Variance and Experimental Design

Estimation of a population proportion March 23,

Because it tests for differences between multiple pairs of means in one test, it is called an omnibus test.

Frequentist Inference

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

Statistics 300: Elementary Statistics

Module 1 Fundamentals in statistics

Hypothesis Testing. Evaluation of Performance of Learned h. Issues. Trade-off Between Bias and Variance

Data Analysis and Statistical Methods Statistics 651

6 Sample Size Calculations

Design of Engineering Experiments Chapter 2 Basic Statistical Concepts

Statistical inference: example 1. Inferential Statistics

Formulas and Tables for Gerstman

Transcription:

Chapter 0 Comparig Two Proportios BPS - 5th Ed. Chapter 0

Case Study Machie Reliability A study is performed to test of the reliability of products produced by two machies. Machie A produced 8 defective parts i a ru of 40, while machie B produced 0 defective parts i a ru of 00. Defects Machie A 40 8 Machie B 00 BPS - 5th Ed. Chapter 0

Two-Sample Problems The goal of iferece is to compare the resposes to two treatmets or to compare the characteristics of two populatios. We have a separate sample from each treatmet or each populatio. The uits are ot matched, ad the samples ca be of differig sizes. BPS - 5th Ed. Chapter 0 3

Case Study Machie Reliability A study is performed to test of the reliability of products produced by two machies. Machie A produced 8 defective parts i a ru of 40, while machie B produced 0 defective parts i a ru of 00. This is a example of whe to use the two-proportio z procedures. Defects Machie A 40 8 Machie B 00 BPS - 5th Ed. Chapter 0 4

Iferece about the Differece p p Simple Coditios The differece i the populatio proportios is estimated by the differece i the sample proportios: ˆ p Whe both of the samples are large, the samplig distributio of this differece is approximately Normal with mea p p ad stadard deviatio p ( ) ( ) p p p + BPS - 5th Ed. Chapter 0 5

Iferece about the Differece p p Samplig Distributio BPS - 5th Ed. Chapter 0 6

Stadard Error Sice the populatio proportios p ad p are ukow, the stadard deviatio of the differece i sample proportios will eed to be estimated by substitutig ad for p ad p : SE = ( ) ( ) + BPS - 5th Ed. Chapter 0 7

BPS - 5th Ed. Chapter 0 8

( ) ± z Case Study: Reliability Compute a 90% cofidece iterval for the differece i reliabilities (as measured by proportio of defectives) for the two machies. Cofidece Iterval ( ) ( ) + 8 = ±.645 40 00 = 0.00± 0.048 = 0.0397 to 0.0439 8 40 40 8 40 00 00 00 We are 90% cofidet that the differece i proportio of defectives for the two machies is betwee -3.97% ad 4.39%. Sice 0 is i this iterval, it is ulikely that the two machies differ i reliability. + BPS - 5th Ed. Chapter 0 9

Adjustmet to Cofidece Iterval Plus Four Cofidece Iterval for p p The stadard cofidece iterval approach yields ustable or erratic ifereces. By addig four imagiary observatios (oe success ad oe failure to each sample), the ifereces ca be stabilized. This leads to more accurate iferece of the differece of the populatio proportios. BPS - 5th Ed. Chapter 0 0

Adjustmet to Cofidece Iterval Plus Four Cofidece Iterval for p p Add 4 imagiary observatios, oe success ad oe failure to each sample. Compute the plus four proportios. umber of successes + p ~ = ~ umber of successes p = + + Use the plus four proportios i the formula. ~ ( ) ( ) ( ) ~ ~ ~ ~ p p p p p ~ p ± z + + + + BPS - 5th Ed. Chapter 0

Case Study: Reliability Plus Four 90% Cofidece Iterval ~ p ( ~ p ~ p ) 8 + 40 + = = ± z ~ p 9 4 ( ~ p ) ~ p ( ~ p ) + + + ~ p 9 = ±. 645 4 0 = 0. 0040 ± 0. 0434 = 0. 0394 to 0. 0474 + 00 + = = 9 4 4 9 4 + 0 0 0 (This is more accurate.) 0 We are 90% cofidet that the differece i proportio of defectives for the two machies is betwee -3.94% ad 4.74%. Sice 0 is i this iterval, it is ulikely that the two machies differ i reliability. BPS - 5th Ed. Chapter 0

The Hypotheses for Testig Two Proportios Null: H 0 : p = p Oe sided alteratives H a : p > p H a : p < p Two sided alterative H a : p p BPS - 5th Ed. Chapter 0 3

Pooled Sample Proportio If H 0 is true (p =p ), the the two proportios are equal to some commo value p. Istead of estimatig p ad p separately, we will combie or pool the sample iformatio to estimate p. This combied or pooled estimate is called the pooled sample proportio, ad we will use it i place of each of the sample proportios i the expressio for the stadard error SE. = total umber of successes i both samples total umber of observatios i both samples pooled sample proportio BPS - 5th Ed. Chapter 0 4

Test Statistic for Two Proportios Use the pooled sample proportio i place of each of the idividual sample proportios i the expressio for the stadard error SE i the test statistic: z = ( ) ( ) + z z = = ( ) ( ) + ( ) + BPS - 5th Ed. Chapter 0 5

P-value for Testig Two Proportios H a : p > p P-value is the probability of gettig a value as large or larger tha the observed test statistic (z) value. H a : p < p P-value is the probability of gettig a value as small or smaller tha the observed test statistic (z) value. H a : p p P-value is two times the probability of gettig a value as large or larger tha the absolute value of the observed test statistic (z) value. BPS - 5th Ed. Chapter 0 6

BPS - 5th Ed. Chapter 0 7

Case Study Summer Jobs A uiversity fiacial aid office polled a simple radom sample of udergraduate studets to study their summer employmet. Not all studets were employed the previous summer. Here are the results: Summer Status Me Wome Employed 78 593 Not Employed 79 39 Total 797 73 Is there evidece that the proportio of male studets who had summer jobs differs from the proportio of female studets who had summer jobs. BPS - 5th Ed. Chapter 0 8

Case Study: Summer Jobs The Hypotheses Null: The proportio of male studets who had summer jobs is the same as the proportio of female studets who had summer jobs. [H 0 : p = p ] Alt: The proportio of male studets who had summer jobs differs from the proportio of female studets who had summer jobs. [H a : p p ] BPS - 5th Ed. Chapter 0 9

Case Study: Summer Jobs Test Statistic = 797 ad = 73 (both large, so test statistic follows a Normal distributio) Pooled sample proportio: 78 + 593 3 = = 797 + 73 59 stadardized score (test statistic): 78 593 z = 797 73 = 3 3 + 59 59 797 73 5. 07 BPS - 5th Ed. Chapter 0 0

Case Study: Summer Jobs. Hypotheses: H 0 : p = p H a : p p. Test Statistic: 3 3 + 59 59 797 73 3. P-value: P-value = P(Z > 5.07) = 0.000000396 (usig a computer) P-value = P(Z > 5.07) < ( 0.9998) = 0.0004 (Table A) [sice 5.07 > 3.49 (the largest z-value i the table)] 4. Coclusio: 78 593 z = 797 73 = 5. 07 Sice the P-value is smaller tha α = 0.00, there is very strog evidece that the proportio of male studets who had summer jobs differs from that of female studets. BPS - 5th Ed. Chapter 0