document.write( "Question 926287: I just need help setting this question up and the formulas with it thank you\r
\n" ); document.write( "\n" ); document.write( "A recent survey showed that in a sample of 100 elementary school teachers, 15 smoked. In a sample of 180 high school teachers, 36 smoked. is the proportion of high school teachers who smoke greater than the proportion of elementary schools school teachers who smoke? use alpha=0.01. \r
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "

Algebra.Com's Answer #562134 by stanbon(75887)\"\" \"About 
You can put this solution on YOUR website!
A recent survey showed that in a sample of 100 elementary school teachers, 15 smoked. In a sample of 180 high school teachers, 36 smoked. is the proportion of high school teachers who smoke greater than the proportion of elementary schools school teachers who smoke? use alpha=0.01.
\n" ); document.write( "---
\n" ); document.write( "element p1-hat = 0.15
\n" ); document.write( "h.s. p2-hat = 36/80 = 0.2
\n" ); document.write( "---------------------------
\n" ); document.write( "Test:: Is hs greater than elem
\n" ); document.write( "-----
\n" ); document.write( "Ho: p2 - p1 <= 0
\n" ); document.write( "Ha: p2 - pa > 0 (claim)
\n" ); document.write( "---------------------------------
\n" ); document.write( "Sample proportion:: p2-hat - p1-hat = 0.2-0.15 = 0.05
\n" ); document.write( "test stat formula z(p1-p1) = [(p2-hat-p1-hat)-(0]/sqrt[(pq/n1+pq/n2]
\n" ); document.write( "test statistic:: z(0.05) = (0.05)/[sqrt{(0.15*0.2/100)+(0.15*0.2/180)] = 2.3146
\n" ); document.write( "---
\n" ); document.write( "p-value = P(z > 2.3146) = 0.0103
\n" ); document.write( "-----
\n" ); document.write( "Conclusion:: Since the p-value equals alpha, the test is inconclusive.
\n" ); document.write( "-------------
\n" ); document.write( "Cheers,
\n" ); document.write( "Stan H.
\n" ); document.write( "--------------------
\n" ); document.write( "
\n" );