L27 - Testing Equality of Two Proportions p 1 = p 2 Testing...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Testing Equality of Two Proportions p 1 = p 2 Testing H : p 1 = p 2 . = p 1- p 2 Independent samples Y 1 ,Y 2 . Y 1 binomial( n 1 ,p 1 ) ,Y 2 binomial( n 2 ,p 2 ) = P 1- P 2 = Y 1 n 1- Y 2 n 2 Large sample sizes n 1 ,n 2 . Use normal approximation. P i N p i , p i (1- p i n i , i = 1 , 2 N p 1- p 2 , p 1 (1- p 1 ) n 1 + p 2 (1- p 2 ) n 2 Standard deviation : r p 1 (1- p 1 ) n 1 + p 2 (1- p 2 ) n 2 1 Test statistic Z = - = ( P 1- P 2 )- ( p 1- p 2 ) r p 1 (1- p 1 ) n 1 + p 2 (1- p 2 ) n 2 has approximately standard normal dis- tribution. Problem: What use for p 1 , p 2 in de- nominator? Practical solution: Use estimates p 1 , p 2 Better estimate: Under H , p 1 and p 2 are equal to same quantity p = p 1 = p 2 . Pool data from both samples. P = X 1 + X 2 n 1 + n 2 2 Z = ( P 1- P 2 )- ( p 1- p 2 ) r p (1- p ) n 1 + p (1- p ) n 2 = ( P 1- P 2 )- ( p 1- p 2 ) q P (1- P ) r 1 n 1 + 1 n 2 Example 4.6-4 p 269Example 4....
View Full Document

Page1 / 9

L27 - Testing Equality of Two Proportions p 1 = p 2 Testing...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online