document.write( "Question 1142670: You are testing the claim that the proportion of men who own cats is larger than the proportion of women who own cats.\r
\n" ); document.write( "\n" ); document.write( "You sample 90 men, and 85% own cats.\r
\n" ); document.write( "\n" ); document.write( "You sample 50 women, and 40% own cats.\r
\n" ); document.write( "\n" ); document.write( "Find the pooled value of p, as a decimal, rounded to two decimal places.
\n" ); document.write( "

Algebra.Com's Answer #763438 by Theo(13342)\"\" \"About 
You can put this solution on YOUR website!
the proportion of men who own cats is 85%.
\n" ); document.write( "you get:
\n" ); document.write( "p = .85
\n" ); document.write( "q = .15
\n" ); document.write( "s = sqrt(.85 * .15 * 90) = 3.87476937.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the proportion of women who own cats is 40%.
\n" ); document.write( "you get:
\n" ); document.write( "p = .4
\n" ); document.write( "q = .6
\n" ); document.write( "s = sqrt(.4 * .6 * 50) = .0692820323.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in solving your problem, this reference comes in handy.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "https://stattrek.com/hypothesis-test/difference-in-proportions.aspx\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the pooled value of p is equal to (p1 * n1 + p2 * n2) / (n1 + n2).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this becomes (.85 * 90 + .40 * 50) / (90 + 50) = .6893 rounded to 4 decimal places.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the pooled value of p is used to provide the standard error of the test.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the standard error of the test is equal to sqrt(p * q * (1/n1 + 1/n2)).\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "p is the pooled proportion.
\n" ); document.write( "q is equal to 1 - p
\n" ); document.write( "n1 is the sample size of the first sample.
\n" ); document.write( "n2 is the sample size of the second sample.
\n" ); document.write( "SE = standard error.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in this problem, you get SE = sqrt(.6893 * .3107 * (1/90 + 1/50)) = .0816 rounded to 4 decimal places.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your test statistic is z = (p1 - p2) / SE\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "in this problem, that becomes z = (.85 - .40) / .0816 = 5.51 rounded to 2 decimal places.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "at a .05 one tailed alpha on the right, your critical z-score would be 1.65.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "a z-score of 5.51 is well beyond this critical z-score.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you can therefore conclude that the proportion of men who own cats is larger than the proportion of women who own cats.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "the results of the test are statistically significant.
\n" ); document.write( "this means that the test z-score is greater then the critical z-score.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "you were not, however, asked to do all this.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "your solution, based on what you were asked, is that the pooled p is equal to .69 rounded to 2 decimal places.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "there is a z-score calculator that does all the dirty work for you.\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this calculator can be found at https://www.socscistatistics.com/tests/ztest/default2.aspx\r
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "this calculator doesn't tell you how to calculate the pooled p.
\n" ); document.write( "it does, however, use the pooled value of p to find the standard error.
\n" ); document.write( "this, in turn, contributes to the z-score of the test.\r
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "
\n" ); document.write( "\n" ); document.write( "
\n" ); document.write( "
\n" );