{"id":289,"date":"2021-07-14T15:59:07","date_gmt":"2021-07-14T15:59:07","guid":{"rendered":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/chapter\/comparing-two-independent-population-proportions\/"},"modified":"2023-12-05T09:39:17","modified_gmt":"2023-12-05T09:39:17","slug":"comparing-two-independent-population-proportions","status":"publish","type":"chapter","link":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/chapter\/comparing-two-independent-population-proportions\/","title":{"raw":"Testing for Two Population Proportions","rendered":"Testing for Two Population Proportions"},"content":{"raw":"<div class=\"textbox learning-objectives\">\r\n<h3>Learning Outcomes<\/h3>\r\n<section>\r\n<ul>\r\n \t<li>Conduct a hypothesis test for a difference in two population proportions and interpret the conclusion in context<\/li>\r\n<\/ul>\r\n<\/section><\/div>\r\nWhen conducting a hypothesis test that compares two independent population proportions, the following characteristics should be present:\r\n<ol>\r\n \t<li>The two independent samples are simple random samples that are independent.<\/li>\r\n \t<li>The number of successes is at least five, and the number of failures is at least five for each of the samples.<\/li>\r\n \t<li>Growing literature states that the population must be at least ten or 20 times the size of the sample. This keeps each population from being over-sampled and causing incorrect results.<\/li>\r\n<\/ol>\r\nComparing two proportions, like comparing two means, is common. If two estimated proportions are different, it may be due to a difference in the populations or it may be due to chance. A hypothesis test can help determine if a difference in the estimated proportions reflects a difference in the population proportions.\r\n\r\nThe difference of two proportions follows an approximate normal distribution. Generally, the null hypothesis states that the two proportions are the same. That is, <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em>. To conduct the test, we use a pooled proportion, <em>p<sub data-redactor-tag=\"sub\">c<\/sub><\/em>.\r\n\r\nThe pooled proportion is calculated as follows: [latex]\\displaystyle{p}_{{c}}=\\dfrac{{{x}_{{A}}+{x}_{B}}}{{{n}_{{A}}+{n}_{{B}}}}[\/latex]\r\n\r\nThe distribution for the differences is: [latex]\\displaystyle{P}\\prime_{{A}}-{P}\\prime_{{B}}[\/latex] [latex]\\sim[\/latex] [latex]{N}{\\Bigg[{0},\\sqrt{{{p}_{{c}}{\\big({1}-{p}_{{c}}\\big)}{\\bigg(\\dfrac{{1}}{{n}_{{A}}}+\\dfrac{{1}}{{n}_{{B}}}\\bigg)}}}\\Bigg]}[\/latex]\r\n\r\nThe test statistic (<em>z<\/em>-score) is: [latex]\\displaystyle{z}=\\dfrac{(p\\prime_{A}-p\\prime_{B})-(p_A-p_B)}{\\sqrt{p_c(1-p_c)(\\dfrac{1}{n_A}+\\dfrac{1}{n_B})}}[\/latex]\r\n<div class=\"textbox examples\">\r\n<h3>Recall: ORDER OF OPERATIONS<\/h3>\r\n<div align=\"left\">\r\n<table style=\"border-collapse: collapse; width: 100%; height: 36px;\" border=\"1\">\r\n<tbody>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Please<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Excuse<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>My<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Dear<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Aunt<\/strong><\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Sally<\/strong><\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">parentheses<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">exponents<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">multiplication<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">division<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">addition<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">subtraction<\/td>\r\n<\/tr>\r\n<tr style=\"height: 12px;\">\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]( \\ )[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]x^2[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]\\times \\ \\mathrm{or} \\ \\div[\/latex]<\/td>\r\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]+ \\ \\mathrm{or} \\ -[\/latex]<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<h2>To calculate the test statistic (<em>z<\/em>-score) follow these steps:<\/h2>\r\n<strong>First, find the numerator. Calculate the difference in the estimated proportions [latex](p'_A- p\"_B)[\/latex] and subtract the difference in the population proportions [latex](p_A-p_B)[\/latex].<\/strong>\r\n\r\n<strong>Second, find the denominator. You will end up taking the square root of the entire bottom; a square root can be understood as a parentheses.<\/strong>\r\n\r\nStep 1: Calculate the pooled proportion, [latex]p_C[\/latex], where [latex]p_C = \\frac{x_A + x_B}{n_A + n_B}[\/latex].\r\n\r\nStep 2: Subtract the pooled proportion by [latex]1[\/latex], [latex]1-p_C[\/latex]\r\n\r\nStep 3: Add [latex](\\frac{1}{n_A})[\/latex] and [latex](\\frac{1}{n_B})[\/latex].\r\n\r\nStep 4: Multiply Step 1, Step 2, and Step 3.\r\n\r\nStep 5: Find the square root of the value you found in Step 4.\r\n\r\n<strong>Third, take the numerator and divide by the denominator.<\/strong>\r\n\r\n<\/div>\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 1<\/h3>\r\nTwo types of medication for hives are being tested to determine if there is a <strong>difference in the proportions of adult patient reactions<\/strong>. <strong>Twenty<\/strong> out of a random <strong>sample of 200<\/strong> adults given medication A still had hives 30 minutes after taking the medication. <strong>Twelve<\/strong> out of another <strong>random sample of 200 adults<\/strong> given medication B still had hives 30 minutes after taking the medication. Test at a 1% level of significance.\r\n\r\n[reveal-answer q=\"368609\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"368609\"]\r\n\r\nThe problem asks for a difference in proportions, making it a test of two proportions.\r\n\r\nLet <em>A<\/em> and <em>B<\/em> be the subscripts for medication A and medication B, respectively. Then <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> and <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em> are the desired population proportions.\r\n\r\n<strong>Random Variable:<\/strong> <em>P\u2032<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>P\u2032<sub data-redactor-tag=\"sub\">B<\/sub><\/em> = difference in the proportions of adult patients who did not react after 30 minutes to medication A and to medication B.\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em>\r\n\r\n<em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em> = 0\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2260 <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em>\r\n\r\n<em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em> \u2260 0\r\n\r\nThe words <strong>\"is a difference\"<\/strong> tell you the test is two-tailed.\r\n\r\n<strong>Distribution for the test:<\/strong>\u00a0since this is a test of two binomial population proportions, the distribution is normal:\r\n\r\n[latex]\\displaystyle{p_c}=\\frac{x_A-x_B}{n_A-n_B}=\\frac{20+12}{200+200}=0.08[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a01 \u2013\u00a0<em>p<sub data-redactor-tag=\"sub\">c<\/sub><\/em>\u00a0= 0.92\r\n\r\n[latex]\\displaystyle{P}\\prime_{{A}}-{P}\\prime_{{B}}[\/latex]~[latex]{N}{\\Bigg[{0},\\sqrt {{{({0.08})}{({0.92})}{\\bigg(\\frac{{1}}{{200}}+\\frac{{1}}{{200}}\\bigg)}}}}\\Bigg][\/latex]\r\n\r\n<em>P\u2032<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>P\u2032<sub data-redactor-tag=\"sub\">B<\/sub><\/em> follows an approximate normal distribution.\r\n\r\n<strong>Calculate the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution:<\/strong> <em>p<\/em>-value = 0.1404.\r\n\r\nEstimated proportion for group A: [latex]\\displaystyle{p}\\prime_{{A}}=\\frac{{x}_{{A}}}{{n}_{{A}}}=\\frac{{20}}{{200}}={0.1}[\/latex]\r\n\r\nEstimated proportion for group B: [latex]\\displaystyle{p}\\prime_{{B}}=\\frac{{x}_{{B}}}{{n}_{{B}}}=\\frac{{12}}{{200}}={0.06}[\/latex]\r\n\r\n<strong>Graph:<\/strong>\r\n\r\n<img class=\"aligncenter wp-image-2125 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01175053\/106ae11152dc4f03a57f82ac65c12cee48f8c189.jpeg\" alt=\"Normal distribution curve of the difference in the percentages of adult patients who don't react to medication A and B after 30 minutes. The mean is equal to zero, and the values -0.04, 0, and 0.04 are labeled on the horizontal axis. Two vertical lines extend from -0.04 and 0.04 to the curve. The region to the left of -0.04 and the region to the right of 0.04 are each shaded to represent 1\/2(p-value) = 0.0702.\" width=\"487\" height=\"208\" \/>\r\n\r\n<em>P\u2032<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>P\u2032<sub data-redactor-tag=\"sub\">B<\/sub><\/em> = 0.1 \u2013 0.06 = 0.04.\r\n\r\nHalf the <em>p<\/em>-value is below \u20130.04, and half is above 0.04.\r\n\r\n<strong>Compare <em data-redactor-tag=\"em\">\u03b1<\/em> and the <em>p<\/em>-value:<\/strong> <em>\u03b1<\/em> = 0.01 and the <em>p<\/em>-value = 0.1404. <em>\u03b1<\/em> &lt;<em>p<\/em>-value.\r\n\r\n<strong>Make a decision:<\/strong>\u00a0since <em>\u03b1<\/em> &lt; <em>p<\/em>-value, do not reject <em>H<sub>0<\/sub><\/em>.\r\n\r\n<strong>Conclusion:<\/strong>\u00a0at a 1% level of significance, from the sample data, there is not sufficient evidence to conclude that there is a difference in the proportions of adult patients who did not react after 30 minutes to medication <em>A<\/em> and medication <em>B<\/em>.\r\n\r\n<header>\r\n<h4 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/span><\/h4>\r\n<\/header><section>\r\n<div class=\"os-note-body\"><\/div>\r\n<\/section>\r\n<ul>\r\n \t<li>Press <code style=\"line-height: 1.6em;\">STAT<\/code>.<\/li>\r\n \t<li>Arrow over to <code style=\"line-height: 1.6em;\">TESTS<\/code> and press <code style=\"line-height: 1.6em;\">6:2-PropZTest<\/code>.<\/li>\r\n \t<li>Arrow down and enter <code style=\"line-height: 1.6em;\">20<\/code> for x1, <code style=\"line-height: 1.6em;\">200<\/code> for n1, <code style=\"line-height: 1.6em;\">12<\/code>for x2, and <code style=\"line-height: 1.6em;\">200<\/code> for n2.<\/li>\r\n \t<li>Arrow down to\u00a0<code style=\"line-height: 1.6em;\">p1<\/code>: and arrow to <code style=\"line-height: 1.6em;\">not equal p2<\/code>. Press <code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\r\n \t<li>Arrow down to\u00a0<code style=\"line-height: 1.6em;\">Calculate<\/code> and press <code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\r\n \t<li>The <em>p<\/em>-value is <em>p<\/em> = 0.1404 and the test statistic is 1.47.<\/li>\r\n \t<li>Do the procedure again, but instead of <code style=\"line-height: 1.6em;\">Calculate<\/code> do <code style=\"line-height: 1.6em;\">Draw<\/code>.<\/li>\r\n<\/ul>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>try it 1<\/h3>\r\nTwo types of valves are being tested to determine if there is a difference in pressure tolerances. Fifteen out of a random sample of 100 of Valve <em>A<\/em> cracked under 4,500 psi. Six out of a random sample of 100 of Valve<em>B<\/em> cracked under 4,500 psi. Test at a 5% level of significance.\r\n[reveal-answer q=\"80824\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"80824\"]\r\n\r\nThe <em>p<\/em>-value is 0.0379, so we can reject the null hypothesis. At the 5% significance level, the data support that there is a difference in the pressure tolerances between the two valves.\r\n\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n&nbsp;\r\n<div class=\"textbox exercises\">\r\n<h3>Example 2<\/h3>\r\nA research study was conducted about gender differences in \"sexting.\" The researcher believed that the proportion of girls involved in \"sexting\" is less than the proportion of boys involved. The data collected in the spring of 2010 among a random sample of middle and high school students in a large school district in the southern United States is summarized in the table. Is the proportion of girls sending sexts less than the proportion of boys \"sexting?\" Test at a 1% level of significance.\r\n<table>\r\n<thead>\r\n<tr>\r\n<th><\/th>\r\n<th>Males<\/th>\r\n<th>Females<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td>Sent \"sexts\"<\/td>\r\n<td>183<\/td>\r\n<td>156<\/td>\r\n<\/tr>\r\n<tr>\r\n<td>Total number surveyed<\/td>\r\n<td>2231<\/td>\r\n<td>2169<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n[reveal-answer q=\"813560\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"813560\"]\r\n\r\nThis is a test of two population proportions. Let M and F be the subscripts for males and females. Then <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em> and <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> are the desired population proportions.\r\n\r\nRandom variable: <em>p\u2032<sub data-redactor-tag=\"sub\">F<\/sub><\/em> \u2212 <em>p\u2032<sub data-redactor-tag=\"sub\">M<\/sub><\/em> = difference in the proportions of males and females who sent \"sexts.\"\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em> = 0\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> &lt; <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em> &lt; 0\r\n\r\nThe words <strong>\"less than\"<\/strong> tell you the test is left-tailed.\r\n\r\n<strong>Distribution for the test:<\/strong> since this is a test of two population proportions, the distribution is normal:\r\n\r\n[latex]\\displaystyle{p}_c=\\frac{x_F+x_M}{n_F+n_M}=\\frac{156+183}{2169+2231}=0.077[\/latex]\r\n\r\nTherefore,\r\n\r\n[latex]\\displaystyle{P}\\prime_{{F}}-{P}\\prime_{{M}}[\/latex]~[latex]{N}{\\Bigg[{0},\\sqrt {{{({0.077})}{({0.923})}{\\bigg(\\frac{{1}}{{2169}}+\\frac{{1}}{{2231}}\\bigg)}}}}\\Bigg][\/latex]\r\n\r\n<em>P\u2032<sub>F<\/sub><\/em>\u00a0\u2013 <em>P\u2032<sub>M<\/sub><\/em>\u00a0 follows an approximate normal distribution.\r\n\r\n<strong>Calculate the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution:<\/strong>\r\n\r\n<em>p<\/em>-value = 0.1045\r\n\r\nEstimated proportion for females: 0.0719\r\n\r\nEstimated proportion for males: 0.082\r\n\r\n<strong>Graph:<\/strong>\r\n\r\n<img class=\"aligncenter wp-image-2127 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01180017\/93ab6ca3f3db96e1bc824b81878ea14226c7fdd9.jpeg\" alt=\"This is a normal distribution curve with mean equal to zero. A vertical line near the tail of the curve to the left of zero extends from the axis to the curve. The region under the curve to the left of the line is shaded representing p-value = 0.1045.\" width=\"487\" height=\"177\" \/>\r\n\r\n<strong>Decision: <\/strong>since <em>\u03b1<\/em> &lt; <em>p<\/em>-value, Do not reject <em>H<sub>0<\/sub><\/em>\r\n\r\n<strong>Conclusion:<\/strong> at the 1% level of significance, from the sample data, there is not sufficient evidence to conclude that the proportion of girls sending \"sexts\" is less than the proportion of boys sending \"sexts.\"\r\n\r\n<header>\r\n<h4 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/span><\/h4>\r\n<\/header><section>\r\n<div class=\"os-note-body\"><\/div>\r\n<\/section>\r\n<ul>\r\n \t<li>Press STAT.<\/li>\r\n \t<li>Arrow over to TESTS and press 6:2-PropZTest.<\/li>\r\n \t<li>Arrow down and enter 156 for x1, 2169 for n1, 183 for x2, and 2231 for n2.<\/li>\r\n \t<li>Arrow down to p1: and arrow to less than p2.<\/li>\r\n \t<li>Press\u00a0<code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\r\n \t<li>Arrow down to Calculate and press ENTER.<\/li>\r\n \t<li>The <em>p<\/em>-value is <em>P<\/em> = 0.1045 and the test statistic is <em>z<\/em> = \u20131.256.<\/li>\r\n<\/ul>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox exercises\">\r\n<h3>Example 3<\/h3>\r\nResearchers conducted a study of smartphone use among adults. A cell phone company claimed that iPhone smartphones are more popular with Whites (non-Hispanic) than with African Americans. The results of the survey indicate that of the 232 African American cell phone owners randomly sampled, 5% have an iPhone. Of the 1,343 White cell phone owners randomly sampled, 10% own an iPhone. Test at the 5% level of significance. Is the proportion of White iPhone owners greater than the proportion of African American iPhone owners?\r\n\r\n[reveal-answer q=\"5288\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"5288\"]\r\n\r\nThis is a test of two population proportions. Let W and A be the subscripts for the Whites and African Americans. Then <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> and <em>p<sub data-redactor-tag=\"sub\">A\u00a0<\/sub><\/em>are the desired population proportions.\r\n\r\n<strong>Random variable:<\/strong> <em>p\u2032<sub data-redactor-tag=\"sub\">W<\/sub><\/em> \u2013 <em>p\u2032<sub data-redactor-tag=\"sub\">A<\/sub><\/em> = difference in the proportions of Android and iPhone users.\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> = 0\r\n\r\n<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> &gt; <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> &gt; 0\r\n\r\nThe words <strong>\"more popular\" <\/strong>indicate that the test is right-tailed.\r\n\r\n<strong>Distribution for the test:<\/strong>\u00a0the distribution is approximately normal:\r\n\r\n[latex]\\displaystyle{p}_c=\\frac{x_W+x_A}{n_W+n_A}=\\frac{134+12}{1343+232}=0.0927[\/latex]\r\n\r\nTherefore,\r\n\r\n[latex]\\displaystyle{P}\\prime_{{W}}-{P}\\prime_{{A}}~{N}{\\Bigg[{0},\\sqrt {{{({0.0927})}{({0.9073})}{\\bigg(\\frac{{1}}{{1343}}+\\frac{{1}}{{232}}\\bigg)}}}}\\Bigg][\/latex]\r\n\r\n[latex]\\displaystyle{P}\\prime_{{W}}-{P}\\prime_{{A}}[\/latex] follows an approximate normal distribution.\r\n\r\n<strong>Calculate the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution:<\/strong>\r\n\r\n<em>p<\/em>-value = 0.0077\r\n\r\nEstimated proportion for group A: 0.10\r\n\r\nEstimated proportion for group B: 0.05\r\n\r\n<strong>Graph:<\/strong>\r\n\r\n<img class=\"alignnone size-medium wp-image-2129\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01180240\/3baef6119fa835c4c5cf6fcc3eac38c92058c181-300x109.jpeg\" alt=\"This is a normal distribution curve with mean equal to zero. A vertical line near the tail of the curve to the right of zero extends from the axis to the curve. The region under the curve to the right of the line is shaded representing p-value = 0.00004.\" width=\"300\" height=\"109\" \/>\r\n\r\n<strong>Decision: <\/strong>since <em>\u03b1<\/em> &gt; <em>p<\/em>-value, reject the <em>H<sub>0<\/sub><\/em>.\r\n\r\n<strong>Conclusion:<\/strong> at the 5% level of significance, from the sample data, there is sufficient evidence to conclude that a larger proportion of White cell phone owners use iPhones than African Americans.\r\n\r\n<header>\r\n<h4 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/span><\/h4>\r\n<\/header><section>\r\n<div class=\"os-note-body\"><\/div>\r\n<\/section>\r\n<ul>\r\n \t<li>Press STAT.<\/li>\r\n \t<li>Arrow over to TESTS and press 6:2-PropZTest.<\/li>\r\n \t<li>Arrow down and enter 135 for x1, 1343 for n1, 12 for x2, and 232 for n2.<\/li>\r\n \t<li>Arrow down to p1: and arrow to greater than p2.<\/li>\r\n \t<li>Press ENTER.<\/li>\r\n \t<li>Arrow down to Calculate and press ENTER.<\/li>\r\n \t<li>The P-value is P = 0.0092 and the test statistic is Z = 2.33.<\/li>\r\n<\/ul>\r\n[\/hidden-answer]\r\n\r\n<\/div>\r\n<div class=\"textbox key-takeaways\">\r\n<h3>try it 2<\/h3>\r\nA concerned group of citizens wanted to know if the proportion of forcible rapes in Texas was different in 2011 than in 2010. Their research showed that of the 113,231 violent crimes in Texas in 2010, 7,622 of them were forcible rapes. In 2011, 7,439 of the 104,873 violent crimes were in the forcible rape category. Test at a 5% significance level. Answer the following questions:\r\n<ol>\r\n \t<li>Is this a test of two means or two proportions?<\/li>\r\n \t<li>Which distribution do you use to perform the test?<\/li>\r\n \t<li>What is the random variable?<\/li>\r\n \t<li>What are the null and alternative hypothesis? Write the null and alternative hypothesis in symbols.<\/li>\r\n \t<li>Is this test right-, left-, or two-tailed?<\/li>\r\n \t<li>What is the <em>p<\/em>-value?<\/li>\r\n \t<li>Do you reject or not reject the null hypothesis?<\/li>\r\n \t<li>At the ___ level of significance, from the sample data, there ______ (is\/is not) sufficient evidence to conclude that ____________.<\/li>\r\n<\/ol>\r\n[reveal-answer q=\"241328\"]Show Answer[\/reveal-answer]\r\n[hidden-answer a=\"241328\"]\r\n<ol>\r\n \t<li>two proportions<\/li>\r\n \t<li>normal for two proportions<\/li>\r\n \t<li>subscripts: 1 = 2010, 2 = 2011\r\n<em>P<\/em>\u2032<sub>2<\/sub> \u2013 <em>P<\/em>\u2032<sub>2<\/sub><\/li>\r\n \t<li>subscripts: 1 = 2010, 2 = 2011\r\n<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">1<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">2\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/sub><\/em><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2212 <em>p<sub data-redactor-tag=\"sub\">2<\/sub><\/em> = 0\r\n<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2260 <em>p<sub data-redactor-tag=\"sub\">2\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/sub><\/em><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2212 <em>p<sub data-redactor-tag=\"sub\">2<\/sub><\/em> \u2260 0<\/li>\r\n \t<li>two-tailed<\/li>\r\n \t<li><em>p<\/em>-value = 0.00086\r\n<img src=\"https:\/\/textimgs.s3.amazonaws.com\/DE\/stats\/40ra-daj9u37i#fixme#fixme#fixme\" alt=\"This is a normal distribution curve with mean equal to zero. Both the right and left tails of the curve are shaded. Each tail represents 1\/2(p-value) = 0.0004.\" \/><\/li>\r\n \t<li>reject the <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>.<\/li>\r\n \t<li>at the 5% significance level, from the sample data, there is sufficient evidence to conclude that there is a difference between the proportion of forcible rapes in 2011 and 2010.<\/li>\r\n<\/ol>\r\n[\/hidden-answer]\r\n\r\n<\/div>","rendered":"<div class=\"textbox learning-objectives\">\n<h3>Learning Outcomes<\/h3>\n<section>\n<ul>\n<li>Conduct a hypothesis test for a difference in two population proportions and interpret the conclusion in context<\/li>\n<\/ul>\n<\/section>\n<\/div>\n<p>When conducting a hypothesis test that compares two independent population proportions, the following characteristics should be present:<\/p>\n<ol>\n<li>The two independent samples are simple random samples that are independent.<\/li>\n<li>The number of successes is at least five, and the number of failures is at least five for each of the samples.<\/li>\n<li>Growing literature states that the population must be at least ten or 20 times the size of the sample. This keeps each population from being over-sampled and causing incorrect results.<\/li>\n<\/ol>\n<p>Comparing two proportions, like comparing two means, is common. If two estimated proportions are different, it may be due to a difference in the populations or it may be due to chance. A hypothesis test can help determine if a difference in the estimated proportions reflects a difference in the population proportions.<\/p>\n<p>The difference of two proportions follows an approximate normal distribution. Generally, the null hypothesis states that the two proportions are the same. That is, <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em>. To conduct the test, we use a pooled proportion, <em>p<sub data-redactor-tag=\"sub\">c<\/sub><\/em>.<\/p>\n<p>The pooled proportion is calculated as follows: [latex]\\displaystyle{p}_{{c}}=\\dfrac{{{x}_{{A}}+{x}_{B}}}{{{n}_{{A}}+{n}_{{B}}}}[\/latex]<\/p>\n<p>The distribution for the differences is: [latex]\\displaystyle{P}\\prime_{{A}}-{P}\\prime_{{B}}[\/latex] [latex]\\sim[\/latex] [latex]{N}{\\Bigg[{0},\\sqrt{{{p}_{{c}}{\\big({1}-{p}_{{c}}\\big)}{\\bigg(\\dfrac{{1}}{{n}_{{A}}}+\\dfrac{{1}}{{n}_{{B}}}\\bigg)}}}\\Bigg]}[\/latex]<\/p>\n<p>The test statistic (<em>z<\/em>-score) is: [latex]\\displaystyle{z}=\\dfrac{(p\\prime_{A}-p\\prime_{B})-(p_A-p_B)}{\\sqrt{p_c(1-p_c)(\\dfrac{1}{n_A}+\\dfrac{1}{n_B})}}[\/latex]<\/p>\n<div class=\"textbox examples\">\n<h3>Recall: ORDER OF OPERATIONS<\/h3>\n<div style=\"text-align: left;\">\n<table style=\"border-collapse: collapse; width: 100%; height: 36px;\">\n<tbody>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Please<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Excuse<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>My<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Dear<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Aunt<\/strong><\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\"><strong>Sally<\/strong><\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">parentheses<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">exponents<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">multiplication<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">division<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">addition<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">subtraction<\/td>\n<\/tr>\n<tr style=\"height: 12px;\">\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]( \\ )[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\">[latex]x^2[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]\\times \\ \\mathrm{or} \\ \\div[\/latex]<\/td>\n<td style=\"width: 16.6667%; height: 12px; text-align: center;\" colspan=\"2\">[latex]+ \\ \\mathrm{or} \\ -[\/latex]<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>To calculate the test statistic (<em>z<\/em>-score) follow these steps:<\/h2>\n<p><strong>First, find the numerator. Calculate the difference in the estimated proportions [latex](p'_A- p\"_B)[\/latex] and subtract the difference in the population proportions [latex](p_A-p_B)[\/latex].<\/strong><\/p>\n<p><strong>Second, find the denominator. You will end up taking the square root of the entire bottom; a square root can be understood as a parentheses.<\/strong><\/p>\n<p>Step 1: Calculate the pooled proportion, [latex]p_C[\/latex], where [latex]p_C = \\frac{x_A + x_B}{n_A + n_B}[\/latex].<\/p>\n<p>Step 2: Subtract the pooled proportion by [latex]1[\/latex], [latex]1-p_C[\/latex]<\/p>\n<p>Step 3: Add [latex](\\frac{1}{n_A})[\/latex] and [latex](\\frac{1}{n_B})[\/latex].<\/p>\n<p>Step 4: Multiply Step 1, Step 2, and Step 3.<\/p>\n<p>Step 5: Find the square root of the value you found in Step 4.<\/p>\n<p><strong>Third, take the numerator and divide by the denominator.<\/strong><\/p>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example 1<\/h3>\n<p>Two types of medication for hives are being tested to determine if there is a <strong>difference in the proportions of adult patient reactions<\/strong>. <strong>Twenty<\/strong> out of a random <strong>sample of 200<\/strong> adults given medication A still had hives 30 minutes after taking the medication. <strong>Twelve<\/strong> out of another <strong>random sample of 200 adults<\/strong> given medication B still had hives 30 minutes after taking the medication. Test at a 1% level of significance.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q368609\">Show Answer<\/span><\/p>\n<div id=\"q368609\" class=\"hidden-answer\" style=\"display: none\">\n<p>The problem asks for a difference in proportions, making it a test of two proportions.<\/p>\n<p>Let <em>A<\/em> and <em>B<\/em> be the subscripts for medication A and medication B, respectively. Then <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> and <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em> are the desired population proportions.<\/p>\n<p><strong>Random Variable:<\/strong> <em>P\u2032<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>P\u2032<sub data-redactor-tag=\"sub\">B<\/sub><\/em> = difference in the proportions of adult patients who did not react after 30 minutes to medication A and to medication B.<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em><\/p>\n<p><em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em> = 0<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2260 <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em><\/p>\n<p><em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">B<\/sub><\/em> \u2260 0<\/p>\n<p>The words <strong>&#8220;is a difference&#8221;<\/strong> tell you the test is two-tailed.<\/p>\n<p><strong>Distribution for the test:<\/strong>\u00a0since this is a test of two binomial population proportions, the distribution is normal:<\/p>\n<p>[latex]\\displaystyle{p_c}=\\frac{x_A-x_B}{n_A-n_B}=\\frac{20+12}{200+200}=0.08[\/latex]\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a01 \u2013\u00a0<em>p<sub data-redactor-tag=\"sub\">c<\/sub><\/em>\u00a0= 0.92<\/p>\n<p>[latex]\\displaystyle{P}\\prime_{{A}}-{P}\\prime_{{B}}[\/latex]~[latex]{N}{\\Bigg[{0},\\sqrt {{{({0.08})}{({0.92})}{\\bigg(\\frac{{1}}{{200}}+\\frac{{1}}{{200}}\\bigg)}}}}\\Bigg][\/latex]<\/p>\n<p><em>P\u2032<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>P\u2032<sub data-redactor-tag=\"sub\">B<\/sub><\/em> follows an approximate normal distribution.<\/p>\n<p><strong>Calculate the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution:<\/strong> <em>p<\/em>-value = 0.1404.<\/p>\n<p>Estimated proportion for group A: [latex]\\displaystyle{p}\\prime_{{A}}=\\frac{{x}_{{A}}}{{n}_{{A}}}=\\frac{{20}}{{200}}={0.1}[\/latex]<\/p>\n<p>Estimated proportion for group B: [latex]\\displaystyle{p}\\prime_{{B}}=\\frac{{x}_{{B}}}{{n}_{{B}}}=\\frac{{12}}{{200}}={0.06}[\/latex]<\/p>\n<p><strong>Graph:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2125 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01175053\/106ae11152dc4f03a57f82ac65c12cee48f8c189.jpeg\" alt=\"Normal distribution curve of the difference in the percentages of adult patients who don't react to medication A and B after 30 minutes. The mean is equal to zero, and the values -0.04, 0, and 0.04 are labeled on the horizontal axis. Two vertical lines extend from -0.04 and 0.04 to the curve. The region to the left of -0.04 and the region to the right of 0.04 are each shaded to represent 1\/2(p-value) = 0.0702.\" width=\"487\" height=\"208\" \/><\/p>\n<p><em>P\u2032<sub data-redactor-tag=\"sub\">A<\/sub><\/em> \u2013 <em>P\u2032<sub data-redactor-tag=\"sub\">B<\/sub><\/em> = 0.1 \u2013 0.06 = 0.04.<\/p>\n<p>Half the <em>p<\/em>-value is below \u20130.04, and half is above 0.04.<\/p>\n<p><strong>Compare <em data-redactor-tag=\"em\">\u03b1<\/em> and the <em>p<\/em>-value:<\/strong> <em>\u03b1<\/em> = 0.01 and the <em>p<\/em>-value = 0.1404. <em>\u03b1<\/em> &lt;<em>p<\/em>-value.<\/p>\n<p><strong>Make a decision:<\/strong>\u00a0since <em>\u03b1<\/em> &lt; <em>p<\/em>-value, do not reject <em>H<sub>0<\/sub><\/em>.<\/p>\n<p><strong>Conclusion:<\/strong>\u00a0at a 1% level of significance, from the sample data, there is not sufficient evidence to conclude that there is a difference in the proportions of adult patients who did not react after 30 minutes to medication <em>A<\/em> and medication <em>B<\/em>.<\/p>\n<header>\n<h4 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/span><\/h4>\n<\/header>\n<section>\n<div class=\"os-note-body\"><\/div>\n<\/section>\n<ul>\n<li>Press <code style=\"line-height: 1.6em;\">STAT<\/code>.<\/li>\n<li>Arrow over to <code style=\"line-height: 1.6em;\">TESTS<\/code> and press <code style=\"line-height: 1.6em;\">6:2-PropZTest<\/code>.<\/li>\n<li>Arrow down and enter <code style=\"line-height: 1.6em;\">20<\/code> for x1, <code style=\"line-height: 1.6em;\">200<\/code> for n1, <code style=\"line-height: 1.6em;\">12<\/code>for x2, and <code style=\"line-height: 1.6em;\">200<\/code> for n2.<\/li>\n<li>Arrow down to\u00a0<code style=\"line-height: 1.6em;\">p1<\/code>: and arrow to <code style=\"line-height: 1.6em;\">not equal p2<\/code>. Press <code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\n<li>Arrow down to\u00a0<code style=\"line-height: 1.6em;\">Calculate<\/code> and press <code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\n<li>The <em>p<\/em>-value is <em>p<\/em> = 0.1404 and the test statistic is 1.47.<\/li>\n<li>Do the procedure again, but instead of <code style=\"line-height: 1.6em;\">Calculate<\/code> do <code style=\"line-height: 1.6em;\">Draw<\/code>.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>try it 1<\/h3>\n<p>Two types of valves are being tested to determine if there is a difference in pressure tolerances. Fifteen out of a random sample of 100 of Valve <em>A<\/em> cracked under 4,500 psi. Six out of a random sample of 100 of Valve<em>B<\/em> cracked under 4,500 psi. Test at a 5% level of significance.<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q80824\">Show Answer<\/span><\/p>\n<div id=\"q80824\" class=\"hidden-answer\" style=\"display: none\">\n<p>The <em>p<\/em>-value is 0.0379, so we can reject the null hypothesis. At the 5% significance level, the data support that there is a difference in the pressure tolerances between the two valves.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<p>&nbsp;<\/p>\n<div class=\"textbox exercises\">\n<h3>Example 2<\/h3>\n<p>A research study was conducted about gender differences in &#8220;sexting.&#8221; The researcher believed that the proportion of girls involved in &#8220;sexting&#8221; is less than the proportion of boys involved. The data collected in the spring of 2010 among a random sample of middle and high school students in a large school district in the southern United States is summarized in the table. Is the proportion of girls sending sexts less than the proportion of boys &#8220;sexting?&#8221; Test at a 1% level of significance.<\/p>\n<table>\n<thead>\n<tr>\n<th><\/th>\n<th>Males<\/th>\n<th>Females<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Sent &#8220;sexts&#8221;<\/td>\n<td>183<\/td>\n<td>156<\/td>\n<\/tr>\n<tr>\n<td>Total number surveyed<\/td>\n<td>2231<\/td>\n<td>2169<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q813560\">Show Answer<\/span><\/p>\n<div id=\"q813560\" class=\"hidden-answer\" style=\"display: none\">\n<p>This is a test of two population proportions. Let M and F be the subscripts for males and females. Then <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em> and <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> are the desired population proportions.<\/p>\n<p>Random variable: <em>p\u2032<sub data-redactor-tag=\"sub\">F<\/sub><\/em> \u2212 <em>p\u2032<sub data-redactor-tag=\"sub\">M<\/sub><\/em> = difference in the proportions of males and females who sent &#8220;sexts.&#8221;<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em> = 0<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> &lt; <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">F<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">M<\/sub><\/em> &lt; 0<\/p>\n<p>The words <strong>&#8220;less than&#8221;<\/strong> tell you the test is left-tailed.<\/p>\n<p><strong>Distribution for the test:<\/strong> since this is a test of two population proportions, the distribution is normal:<\/p>\n<p>[latex]\\displaystyle{p}_c=\\frac{x_F+x_M}{n_F+n_M}=\\frac{156+183}{2169+2231}=0.077[\/latex]<\/p>\n<p>Therefore,<\/p>\n<p>[latex]\\displaystyle{P}\\prime_{{F}}-{P}\\prime_{{M}}[\/latex]~[latex]{N}{\\Bigg[{0},\\sqrt {{{({0.077})}{({0.923})}{\\bigg(\\frac{{1}}{{2169}}+\\frac{{1}}{{2231}}\\bigg)}}}}\\Bigg][\/latex]<\/p>\n<p><em>P\u2032<sub>F<\/sub><\/em>\u00a0\u2013 <em>P\u2032<sub>M<\/sub><\/em>\u00a0 follows an approximate normal distribution.<\/p>\n<p><strong>Calculate the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution:<\/strong><\/p>\n<p><em>p<\/em>-value = 0.1045<\/p>\n<p>Estimated proportion for females: 0.0719<\/p>\n<p>Estimated proportion for males: 0.082<\/p>\n<p><strong>Graph:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-2127 size-full\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01180017\/93ab6ca3f3db96e1bc824b81878ea14226c7fdd9.jpeg\" alt=\"This is a normal distribution curve with mean equal to zero. A vertical line near the tail of the curve to the left of zero extends from the axis to the curve. The region under the curve to the left of the line is shaded representing p-value = 0.1045.\" width=\"487\" height=\"177\" \/><\/p>\n<p><strong>Decision: <\/strong>since <em>\u03b1<\/em> &lt; <em>p<\/em>-value, Do not reject <em>H<sub>0<\/sub><\/em><\/p>\n<p><strong>Conclusion:<\/strong> at the 1% level of significance, from the sample data, there is not sufficient evidence to conclude that the proportion of girls sending &#8220;sexts&#8221; is less than the proportion of boys sending &#8220;sexts.&#8221;<\/p>\n<header>\n<h4 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/span><\/h4>\n<\/header>\n<section>\n<div class=\"os-note-body\"><\/div>\n<\/section>\n<ul>\n<li>Press STAT.<\/li>\n<li>Arrow over to TESTS and press 6:2-PropZTest.<\/li>\n<li>Arrow down and enter 156 for x1, 2169 for n1, 183 for x2, and 2231 for n2.<\/li>\n<li>Arrow down to p1: and arrow to less than p2.<\/li>\n<li>Press\u00a0<code style=\"line-height: 1.6em;\">ENTER<\/code>.<\/li>\n<li>Arrow down to Calculate and press ENTER.<\/li>\n<li>The <em>p<\/em>-value is <em>P<\/em> = 0.1045 and the test statistic is <em>z<\/em> = \u20131.256.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox exercises\">\n<h3>Example 3<\/h3>\n<p>Researchers conducted a study of smartphone use among adults. A cell phone company claimed that iPhone smartphones are more popular with Whites (non-Hispanic) than with African Americans. The results of the survey indicate that of the 232 African American cell phone owners randomly sampled, 5% have an iPhone. Of the 1,343 White cell phone owners randomly sampled, 10% own an iPhone. Test at the 5% level of significance. Is the proportion of White iPhone owners greater than the proportion of African American iPhone owners?<\/p>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q5288\">Show Answer<\/span><\/p>\n<div id=\"q5288\" class=\"hidden-answer\" style=\"display: none\">\n<p>This is a test of two population proportions. Let W and A be the subscripts for the Whites and African Americans. Then <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> and <em>p<sub data-redactor-tag=\"sub\">A\u00a0<\/sub><\/em>are the desired population proportions.<\/p>\n<p><strong>Random variable:<\/strong> <em>p\u2032<sub data-redactor-tag=\"sub\">W<\/sub><\/em> \u2013 <em>p\u2032<sub data-redactor-tag=\"sub\">A<\/sub><\/em> = difference in the proportions of Android and iPhone users.<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> = 0<\/p>\n<p><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> &gt; <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em>\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">W<\/sub><\/em> \u2013 <em>p<sub data-redactor-tag=\"sub\">A<\/sub><\/em> &gt; 0<\/p>\n<p>The words <strong>&#8220;more popular&#8221; <\/strong>indicate that the test is right-tailed.<\/p>\n<p><strong>Distribution for the test:<\/strong>\u00a0the distribution is approximately normal:<\/p>\n<p>[latex]\\displaystyle{p}_c=\\frac{x_W+x_A}{n_W+n_A}=\\frac{134+12}{1343+232}=0.0927[\/latex]<\/p>\n<p>Therefore,<\/p>\n<p>[latex]\\displaystyle{P}\\prime_{{W}}-{P}\\prime_{{A}}~{N}{\\Bigg[{0},\\sqrt {{{({0.0927})}{({0.9073})}{\\bigg(\\frac{{1}}{{1343}}+\\frac{{1}}{{232}}\\bigg)}}}}\\Bigg][\/latex]<\/p>\n<p>[latex]\\displaystyle{P}\\prime_{{W}}-{P}\\prime_{{A}}[\/latex] follows an approximate normal distribution.<\/p>\n<p><strong>Calculate the <em data-redactor-tag=\"em\">p<\/em>-value using the normal distribution:<\/strong><\/p>\n<p><em>p<\/em>-value = 0.0077<\/p>\n<p>Estimated proportion for group A: 0.10<\/p>\n<p>Estimated proportion for group B: 0.05<\/p>\n<p><strong>Graph:<\/strong><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-2129\" src=\"https:\/\/s3-us-west-2.amazonaws.com\/courses-images\/wp-content\/uploads\/sites\/5668\/2021\/07\/01180240\/3baef6119fa835c4c5cf6fcc3eac38c92058c181-300x109.jpeg\" alt=\"This is a normal distribution curve with mean equal to zero. A vertical line near the tail of the curve to the right of zero extends from the axis to the curve. The region under the curve to the right of the line is shaded representing p-value = 0.00004.\" width=\"300\" height=\"109\" \/><\/p>\n<p><strong>Decision: <\/strong>since <em>\u03b1<\/em> &gt; <em>p<\/em>-value, reject the <em>H<sub>0<\/sub><\/em>.<\/p>\n<p><strong>Conclusion:<\/strong> at the 5% level of significance, from the sample data, there is sufficient evidence to conclude that a larger proportion of White cell phone owners use iPhones than African Americans.<\/p>\n<header>\n<h4 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">USING THE TI-83, 83+, 84, 84+ CALCULATOR<\/span><\/h4>\n<\/header>\n<section>\n<div class=\"os-note-body\"><\/div>\n<\/section>\n<ul>\n<li>Press STAT.<\/li>\n<li>Arrow over to TESTS and press 6:2-PropZTest.<\/li>\n<li>Arrow down and enter 135 for x1, 1343 for n1, 12 for x2, and 232 for n2.<\/li>\n<li>Arrow down to p1: and arrow to greater than p2.<\/li>\n<li>Press ENTER.<\/li>\n<li>Arrow down to Calculate and press ENTER.<\/li>\n<li>The P-value is P = 0.0092 and the test statistic is Z = 2.33.<\/li>\n<\/ul>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"textbox key-takeaways\">\n<h3>try it 2<\/h3>\n<p>A concerned group of citizens wanted to know if the proportion of forcible rapes in Texas was different in 2011 than in 2010. Their research showed that of the 113,231 violent crimes in Texas in 2010, 7,622 of them were forcible rapes. In 2011, 7,439 of the 104,873 violent crimes were in the forcible rape category. Test at a 5% significance level. Answer the following questions:<\/p>\n<ol>\n<li>Is this a test of two means or two proportions?<\/li>\n<li>Which distribution do you use to perform the test?<\/li>\n<li>What is the random variable?<\/li>\n<li>What are the null and alternative hypothesis? Write the null and alternative hypothesis in symbols.<\/li>\n<li>Is this test right-, left-, or two-tailed?<\/li>\n<li>What is the <em>p<\/em>-value?<\/li>\n<li>Do you reject or not reject the null hypothesis?<\/li>\n<li>At the ___ level of significance, from the sample data, there ______ (is\/is not) sufficient evidence to conclude that ____________.<\/li>\n<\/ol>\n<div class=\"qa-wrapper\" style=\"display: block\"><span class=\"show-answer collapsed\" style=\"cursor: pointer\" data-target=\"q241328\">Show Answer<\/span><\/p>\n<div id=\"q241328\" class=\"hidden-answer\" style=\"display: none\">\n<ol>\n<li>two proportions<\/li>\n<li>normal for two proportions<\/li>\n<li>subscripts: 1 = 2010, 2 = 2011<br \/>\n<em>P<\/em>\u2032<sub>2<\/sub> \u2013 <em>P<\/em>\u2032<sub>2<\/sub><\/li>\n<li>subscripts: 1 = 2010, 2 = 2011<br \/>\n<em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">1<\/sub><\/em> = <em>p<sub data-redactor-tag=\"sub\">2\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/sub><\/em><em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2212 <em>p<sub data-redactor-tag=\"sub\">2<\/sub><\/em> = 0<br \/>\n<em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2260 <em>p<sub data-redactor-tag=\"sub\">2\u00a0 \u00a0 \u00a0 \u00a0\u00a0<\/sub><\/em><em>H<sub data-redactor-tag=\"sub\">a<\/sub><\/em>: <em>p<sub data-redactor-tag=\"sub\">1<\/sub><\/em> \u2212 <em>p<sub data-redactor-tag=\"sub\">2<\/sub><\/em> \u2260 0<\/li>\n<li>two-tailed<\/li>\n<li><em>p<\/em>-value = 0.00086<br \/>\n<img decoding=\"async\" src=\"https:\/\/textimgs.s3.amazonaws.com\/DE\/stats\/40ra-daj9u37i#fixme#fixme#fixme\" alt=\"This is a normal distribution curve with mean equal to zero. Both the right and left tails of the curve are shaded. Each tail represents 1\/2(p-value) = 0.0004.\" \/><\/li>\n<li>reject the <em>H<sub data-redactor-tag=\"sub\">0<\/sub><\/em>.<\/li>\n<li>at the 5% significance level, from the sample data, there is sufficient evidence to conclude that there is a difference between the proportion of forcible rapes in 2011 and 2010.<\/li>\n<\/ol>\n<\/div>\n<\/div>\n<\/div>\n\n\t\t\t <section class=\"citations-section\" role=\"contentinfo\">\n\t\t\t <h3>Candela Citations<\/h3>\n\t\t\t\t\t <div>\n\t\t\t\t\t\t <div id=\"citation-list-289\">\n\t\t\t\t\t\t\t <div class=\"licensing\"><div class=\"license-attribution-dropdown-subheading\">CC licensed content, Shared previously<\/div><ul class=\"citation-list\"><li>Statistics, Comparing Two Independent Population Proportions,. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/statistics\/pages\/10-3-comparing-two-independent-population-proportions\">https:\/\/openstax.org\/books\/statistics\/pages\/10-3-comparing-two-independent-population-proportions<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Access for free at https:\/\/openstax.org\/books\/statistics\/pages\/1-introduction<\/li><li>Introductory Statistics. <strong>Authored by<\/strong>: Barbara Illowsky, Susan Dean. <strong>Provided by<\/strong>: OpenStax. <strong>Located at<\/strong>: <a target=\"_blank\" href=\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\">https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction<\/a>. <strong>License<\/strong>: <em><a target=\"_blank\" rel=\"license\" href=\"https:\/\/creativecommons.org\/licenses\/by\/4.0\/\">CC BY: Attribution<\/a><\/em>. <strong>License Terms<\/strong>: Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction<\/li><\/ul><\/div>\n\t\t\t\t\t\t <\/div>\n\t\t\t\t\t <\/div>\n\t\t\t <\/section>","protected":false},"author":169134,"menu_order":14,"template":"","meta":{"_candela_citation":"[{\"type\":\"cc\",\"description\":\"Statistics, Comparing Two Independent Population Proportions,\",\"author\":\"\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/statistics\/pages\/10-3-comparing-two-independent-population-proportions\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/statistics\/pages\/1-introduction\"},{\"type\":\"cc\",\"description\":\"Introductory Statistics\",\"author\":\"Barbara Illowsky, Susan Dean\",\"organization\":\"OpenStax\",\"url\":\"https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\",\"project\":\"\",\"license\":\"cc-by\",\"license_terms\":\"Access for free at https:\/\/openstax.org\/books\/introductory-statistics\/pages\/1-introduction\"}]","CANDELA_OUTCOMES_GUID":"","pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-289","chapter","type-chapter","status-publish","hentry"],"part":285,"_links":{"self":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/289","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/users\/169134"}],"version-history":[{"count":38,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/289\/revisions"}],"predecessor-version":[{"id":3906,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/289\/revisions\/3906"}],"part":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/parts\/285"}],"metadata":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapters\/289\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/media?parent=289"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/pressbooks\/v2\/chapter-type?post=289"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/contributor?post=289"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/courses.lumenlearning.com\/introstatscorequisite\/wp-json\/wp\/v2\/license?post=289"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}