Test for a Difference in Proportions

Slides:



Advertisements
Similar presentations
Small differences. Two Proportion z-Interval and z-Tests.
Advertisements

Chi-Squared Hypothesis Testing Using One-Way and Two-Way Frequency Tables of Categorical Variables.
Statistics: Unlocking the Power of Data Lock 5 Inference Using Formulas STAT 101 Dr. Kari Lock Morgan Chapter 6 t-distribution Formulas for standard errors.
© 2010 Pearson Prentice Hall. All rights reserved The Chi-Square Test of Independence.
1 Test for the Population Proportion. 2 When we have a qualitative variable in the population we might like to know about the population proportion of.
8-3 Testing a Claim about a Proportion
11-2 Goodness-of-Fit In this section, we consider sample data consisting of observed frequency counts arranged in a single row or column (called a one-way.
PSY 307 – Statistics for the Behavioral Sciences
Inference for Categorical Variables 2/29/12 Single Proportion, p Distribution Intervals and tests Difference in proportions, p 1 – p 2 One proportion or.
Presentation 12 Chi-Square test.
1 of 27 PSYC 4310/6310 Advanced Experimental Methods and Statistics © 2013, Michael Kalsher Michael J. Kalsher Department of Cognitive Science Adv. Experimental.
Chapter 11 Chi-Square Procedures 11.3 Chi-Square Test for Independence; Homogeneity of Proportions.
Chi-square Test of Independence Steps in Testing Chi-square Test of Independence Hypotheses.
© Nuffield Foundation 2012 Nuffield Free-Standing Mathematics Activity Successful HE applicants © Rudolf Stricker.
Chi-square test. Data Statistics Continuous measurement: Interval Mean Categorical measurement: NominalFrequency, count, proportion One-way chi-square.
Chi-Square test. PRESENTED BY: Dr.Zhian Salah Ramzi Head of community and Family medicine/ sulaimani university.
Lecture 17 Dustin Lueker.  A way of statistically testing a hypothesis by comparing the data to values predicted by the hypothesis ◦ Data that fall far.
Chapter 22: Comparing Two Proportions. Yet Another Standard Deviation (YASD) Standard deviation of the sampling distribution The variance of the sum or.
Chapter Outline Goodness of Fit test Test of Independence.
11.2 Tests Using Contingency Tables When data can be tabulated in table form in terms of frequencies, several types of hypotheses can be tested by using.
Section 12.2: Tests for Homogeneity and Independence in a Two-Way Table.
Lesson 12 - R Chapter 12 Review. Objectives Summarize the chapter Define the vocabulary used Complete all objectives Successfully answer any of the review.
Sullivan – Fundamentals of Statistics – 2 nd Edition – Chapter 11 Section 3 – Slide 1 of 27 Chapter 11 Section 3 Inference about Two Population Proportions.
Statistics: Unlocking the Power of Data Lock 5 Section 6.3 Test for a Single Proportion.
Statistics: Unlocking the Power of Data Lock 5 Section 6.6 Test for a Single Mean.
Copyright ©2005 Brooks/Cole, a division of Thomson Learning, Inc. Statistical Significance for 2 x 2 Tables Chapter 13.
Lecture #8 Thursday, September 15, 2016 Textbook: Section 4.4
Other Chi-Square Tests
Comparing Two Proportions
Chi-Square hypothesis testing
Presentation 12 Chi-Square test.
Testing the Difference Between Two Means
Significance Test for the Difference of Two Proportions
Hypothesis Testing for Proportions
10 Chapter Chi-Square Tests and the F-Distribution Chapter 10
Hypothesis Testing: One Sample Cases
Introducing Hypothesis Tests
STA 291 Spring 2010 Lecture 21 Dustin Lueker.
Lecture Slides Elementary Statistics Twelfth Edition
Hypothesis Testing Review
CHAPTER 11 Inference for Distributions of Categorical Data
Chapter 8 Hypothesis Testing with Two Samples.
Comparing Two Proportions
Sections 8-1 and 8-2 Independent and Dependent Samples
Hypothesis Tests for Two Population Proportions
Chapter 11 Goodness-of-Fit and Contingency Tables
Measuring Evidence with p-values
The t distribution and the independent sample t-test
LESSON 20: HYPOTHESIS TESTING
AP Stats Check In Where we’ve been… Chapter 7…Chapter 8…
CHAPTER 22: Inference about a Population Proportion
Hypothesis Testing and Comparing Two Proportions
Hypothesis Tests for Proportions
Two Categorical Variables: The Chi-Square Test
Chapter 10 Analyzing the Association Between Categorical Variables
Improving Conceptual Understanding in Intro Stats
Contingency Tables: Independence and Homogeneity
Hypothesis tests for the difference between two proportions
Inference on Categorical Data
Hypothesis Tests for Proportions
Chi2 (A.K.A X2).
Hypothesis Tests for a Standard Deviation
STA 291 Spring 2008 Lecture 18 Dustin Lueker.
Power Section 9.7.
Improving Conceptual Understanding in Intro Stats
Day 63 Agenda:.
STA 291 Summer 2008 Lecture 18 Dustin Lueker.
STA 291 Summer 2008 Lecture 21 Dustin Lueker.
STA 291 Spring 2008 Lecture 21 Dustin Lueker.
Presentation transcript:

Test for a Difference in Proportions Section 6.9 Test for a Difference in Proportions

Outline Pooled proportion Test for a difference in proportions

Split or Steal? http://www.youtube.com/watch?v=p3Uos2fzIJ0  http://www.youtube.com/watch?v=p3Uos2fzIJ0 Both choose “split”: split the jackpot Both choose “steal”: both get nothing One “steal,” one “split: stealer gets everything What would you do??? (a) Split (b) Steal Watch the video… pause before the results, and ask students what they would do Van den Assem, M., Van Dolder, D., and Thaler, R., “Split or Steal? Cooperative Behavior When the Stakes Are Large,” 2/19/11.

Split or Steal? MALE FEMALE Total SPLIT 140 163 303 STEAL 129 142 271 269 305 574 Are males or females more cooperative? pM = proportion of males who split pF = proportion of females who split

Split or Steal? Are males or females more cooperative? pM = proportion of males who split pF = proportion of females who split The relevant hypotheses are: H0: pM = pF , Ha: pM > pF H0: pM = pF , Ha: pM < pF H0: pM = pF , Ha: pM ≠ pF H0: pM ≠ pF , Ha: pM = pF

Split or Steal? MALE FEMALE Total SPLIT 140 163 303 STEAL 129 142 271 269 305 574 pM = proportion of males who split pF = proportion of females who split Calculate the sample statistic, 𝑝 𝑀 − 𝑝 𝐹 140/269 – 163/305 = 0.520 – 0.534 = -0.014

Hypothesis Testing SE = 𝑝 1 (1− 𝑝 1 ) 𝑛 1 + 𝑝 2 (1− 𝑝 2 ) 𝑛 2 For hypothesis testing, we want the distribution of the sample proportion assuming the null hypothesis is true H0: p1 = p2 SE = 𝑝 1 (1− 𝑝 1 ) 𝑛 1 + 𝑝 2 (1− 𝑝 2 ) 𝑛 2 What to use for p1 and p2?

Pooled Proportion We assume the proportions are the same between the two groups, and want to use one proportion that is our best guess for what they would be, if they were equal Combine both groups into one big group, and use the overall proportion, called the pooled proportion, 𝒑 Hint: the pooled proportion will always be somewhere in between 𝑝 1 and 𝑝 2

Split or Steal? MALE FEMALE Total SPLIT 140 163 303 STEAL 129 142 271 269 305 574 Pooled proportion = overall proportion who split 𝑝 = 140+163 269+305 = 303 574 =0.528

Test for a Difference in Proportions 𝑧= 𝑠𝑡𝑎𝑡𝑖𝑠𝑡𝑖𝑐 −𝑛𝑢𝑙𝑙 𝑆𝐸 𝑧= 𝑝 1 − 𝑝 2 𝑝 (1− 𝑝 ) 𝑛 1 + 𝑝 (1− 𝑝 ) 𝑛 2 If 𝑛 𝑝 ≥10 and 𝑛(1− 𝑝 )≥10 for both sample sizes, then the p-value can be computed as the area in the tail(s) of a standard normal beyond z.

Split or Steal? MALE FEMALE Total SPLIT 140 163 303 STEAL 129 142 271 269 305 574 Based on these data, can we conclude whether males or females are significantly more cooperative when playing Golden Balls? Yes No

Split or Steal? Counts are greater than 10 in each category H0: pM = pF , Ha: pM ≠ pF 𝑝 = 140+163 269+305 = 303 574 =0.528 𝑧 = 𝑝 1 − 𝑝 2 𝑝 (1− 𝑝 ) 𝑛 1 + 𝑝 1− 𝑝 𝑛 2 = 0.520−0.534 0.528(1−0.528) 269 + 0.528(1−0.528) 305 = −0.014 0.042 =−0.33 p-value = 2(0.371) = 0.742 Based on these data, we cannot conclude whether males or females are more cooperative.

Split or Steal Actually – it’s much more interesting. Younger males are much less cooperative than younger females, but older males are much more cooperative than older females! (for more practice, students can test for significance within under 30 or over 50)

Difference in Proportions Come up with your own categorical variable that you would like to analyze by gender, using this class. This should be a categorical variable with possible answers: yes or no

Difference in Proportions MALES ONLY ANSWER: Your question here. (a) Yes (b) No

Difference in Proportions FEMALES ONLY ANSWER: Your question here. (a) Yes (b) No

Difference in Proportions Is there a significant difference in the proportion answering “yes” between males and females? (a) Yes (b) No Have them work through the results on their own, and then go over it on the board.