{"id":2863,"date":"2022-05-09T15:02:32","date_gmt":"2022-05-09T19:02:32","guid":{"rendered":"https:\/\/openbooks.macewan.ca\/rcommander\/?post_type=chapter&#038;p=2863"},"modified":"2024-01-24T00:03:41","modified_gmt":"2024-01-24T05:03:41","slug":"10-8-review-questions","status":"publish","type":"chapter","link":"https:\/\/openbooks.macewan.ca\/introstats\/chapter\/10-8-review-questions\/","title":{"raw":"10.8 Review Questions","rendered":"10.8 Review Questions"},"content":{"raw":"<ol>\r\n \t<li>In a poll of 1961 randomly selected U.S. adults, 1137 said that they do not believe that abstinence programs are effective in reducing or preventing AIDS.\r\n<ol type=\"a\">\r\n \t<li>At the 2% significance level, do the data provide sufficient evidence to conclude that a majority of all U.S. adults feel that way?<\/li>\r\n \t<li>Obtain a 98% confidence interval for the percentage of U.S. adults who believe that abstinence programs are effective in reducing or preventing AIDS.<\/li>\r\n \t<li>Interpret the interval obtained in part (b). Does it support the result of the test in part (a)?<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>In a clinical trial, 56 patients were randomly assigned to use the Bug Buster kit and 70 were assigned to use the standard treatment. Thirty-two patients in the Bug Buster kit group were cured, whereas nine of those in the standard treatment group were cured.\r\n<ol type=\"a\">\r\n \t<li>At the 5% significance level, do these data provide sufficient evidence to conclude that a difference exists in the cure rates of the two types of treatment?<\/li>\r\n \t<li>Determine a 95% confidence interval for the difference in cure rates for the two types of treatment.<\/li>\r\n \t<li>Interpret the interval obtained in part (b). Does it support the result of the test in part (a)?<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<details><summary>Show\/Hide Answer<\/summary>\r\n<ol>\r\n \t<li>\u200c\r\n<ol type=\"a\">\r\n \t<li>Check the assumptions:\r\n<ul>\r\n \t<li>we have a simple random sample<\/li>\r\n \t<li>Sample size assumption: <span class=\"math inline\">[latex]np_0=1961\\times0.5=980.5&gt;5, n(1-p_0)=1961\\times (1-0.5)=980.5&gt;5[\/latex]<\/span>.<\/li>\r\n<\/ul>\r\nSteps: we have <span class=\"math inline\">[latex]n=1961, x=1137, \\hat p=\\frac{x}{n}=\\frac{1137}{1961}=0.5798.[\/latex]<\/span>\r\n<ol>\r\n \t<li>Hypotheses: <span class=\"math inline\">[latex]H_0: p\\le 0.5[\/latex]<\/span> versus <span class=\"math inline\">[latex]H_a: p&gt;0.5[\/latex]<\/span>.<\/li>\r\n \t<li>Significance level <span class=\"math inline\">[latex]\\alpha=0.02[\/latex]<\/span>.<\/li>\r\n \t<li>Test statistics.\r\n<span class=\"math display\">[latex] z_o=\\frac{\\hat p-p_0}{\\sqrt{p_0\\times (1-p_0)\/n}}=\\frac{\\frac{1137}{1961}-0.5}{\\sqrt{0.5\\times (1-0.5)\/1961}}=7.068. [\/latex]<\/span><\/li>\r\n \t<li><span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span>: For a right-tailed test, <span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span>=<span class=\"math inline\">[latex]P(Z\\ge 7.068)=P(Z\\le -7.068)\\approx 0.[\/latex]<\/span><\/li>\r\n \t<li>Decision: We reject <span class=\"math inline\">[latex]H_0[\/latex]<\/span> since <span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span><span class=\"math inline\">[latex]\\approx 0&lt;0.02 (\\alpha)[\/latex]<\/span>.<\/li>\r\n \t<li>Conclusion: At the 2% significance level, we have sufficient evidence that a majority of all U.S. adults do not believe that abstinence programs are effective in reducing or preventing AIDS.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>[latex]n=1961, x=1137, \\hat p=\\frac{x}{n}=\\frac{1137}{1961}=0.5798, 1-\\alpha=0.98,[\/latex] [latex] \\alpha=0.02, z_{\\alpha\/2}=z_{0.01}=2.33.[\/latex]\r\nA 98% confidence interval for the proportion of U.S. adults who do not believe that abstinence programs are effective in reducing or preventing AIDS is\r\n[latex] \\hat p \\pm z_{\\frac{\\alpha}{2}}\\sqrt{\\frac{\\hat p(1-\\hat p)}{n}}=0.5798 \\pm 2.33 \\times \\sqrt{\\frac{0.5798 (1-0.5798)}{1961}}=(0.5538, 0.6057) [\/latex]\r\nwhich gives the percentage is somewhere between 55.38% and 60.57%.<\/li>\r\n \t<li>Interpretation: we can be 98% confident that the percentage of U.S. adults who do not believe that abstinence programs are effective in reducing or preventing AIDS is somewhere between 55.38% and 60.57%.\r\nYes, we reject <span class=\"math inline\">[latex]H_0[\/latex]<\/span> and claim that <span class=\"math inline\">[latex]p&gt;0.5[\/latex]<\/span> in the hypothesis test. The entire 98% confidence interval is above 0.5, so we can claim that <span class=\"math inline\">[latex]p&gt;0.5[\/latex]<\/span>.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>\u200c\r\n<ol type=\"a\">\r\n \t<li>Check the assumptions:\r\n<ul>\r\n \t<li>we have simple random samples from the two treatment groups.<\/li>\r\n \t<li>the two samples are independent.<\/li>\r\n \t<li><span class=\"math inline\">[latex]x_1=32, n_1-x_1=56-32=24[\/latex]<\/span>, <span class=\"math inline\">[latex]x_2=9[\/latex]<\/span>, and <span class=\"math inline\">[latex]n_2-x_2=70-9=61[\/latex]<\/span> are all greater than 5.<\/li>\r\n<\/ul>\r\nSteps:\r\n<ol>\r\n \t<li>Hypotheses: <span class=\"math inline\">[latex]H_0: p_1-p_2= 0[\/latex]<\/span> versus <span class=\"math inline\">[latex]H_a: p_1-p_2\\ne 0[\/latex]<\/span>.<\/li>\r\n \t<li>Significance level <span class=\"math inline\">[latex]\\alpha=0.05[\/latex]<\/span>.<\/li>\r\n \t<li>Test statistics.\r\n<span class=\"math display\">[latex] z_o=\\frac{(\\hat p_1-\\hat p_2)-0}{\\sqrt{\\hat p_{\\scriptsize p}(1-\\hat p_{\\scriptsize p})}\\sqrt{\\frac{1}{n_1}+\\frac{1}{n_2}}}=\\frac{0.5714-0.1286}{\\sqrt{0.3254(1-0.3254)}\\sqrt{\\frac{1}{56}+\\frac{1}{70}}}=5.271 [\/latex]<\/span>\r\nwhere the pooled proportion is given by\r\n<span class=\"math display\">[latex]\\hat p_{\\scriptsize p}=\\frac{x_1+x_2}{n_1+n_2}=\\frac{32+9}{56+70}=0.3254[\/latex]<\/span> ; [latex]\\hat p_1=\\frac{x_1}{n_1}=\\frac{32}{56}=0.5714[\/latex] ; [latex]\\hat p_2=\\frac{x_2}{n_2}=\\frac{9}{70}=0.1286[\/latex].<\/li>\r\n \t<li><span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span>: For a two-tailed test, <span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span>=<span class=\"math inline\">[latex]2P(Z\\ge 5.271)=2P(Z\\le -5.271)\\approx 0.[\/latex]<\/span><\/li>\r\n \t<li>Decision: We reject <span class=\"math inline\">[latex]H_0[\/latex]<\/span> since <span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span><span class=\"math inline\">[latex]\\approx 0&lt;0.05 (\\alpha)[\/latex]<\/span>.<\/li>\r\n \t<li>Conclusion: At the 5% significance level, we have sufficient evidence that a difference exists in the cure rates of the two types of treatment.<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>\u200c\r\n[latex]\\begin{aligned}\r\n&amp; (\\hat p_1-\\hat p_2)\\pm z_{\\frac{\\alpha}{2}}\\sqrt{\\frac{\\hat p_1(1-\\hat p_1)}{n_1}+\\frac{\\hat p_2(1-\\hat p_2)}{n_2}}\\\\\r\n&amp;=(0.5714-0.1286)\\pm 1.96\\times \\sqrt{\\frac{0.5714(1-0.5714)}{56}+\\frac{0.1286(1-0.1286)}{70}} \\\\ &amp;=(0.2913, 0.5943).\r\n\\end{aligned}[\/latex]<\/li>\r\n \t<li>Interpretation: We can be 95% confident that the cure rate of the Bug Buster kits group is 0.2913 to 0.5943 higher than the cure rate of the standard treatment.\r\nYes, since the entire interval is above 0, we can claim that [latex]p_1-p_2&gt;0[\/latex],\u00a0which is the conclusion of the hypothesis in part (a).<\/li>\r\n<\/ol>\r\n<\/li>\r\n<\/ol>\r\n<\/details>","rendered":"<ol>\n<li>In a poll of 1961 randomly selected U.S. adults, 1137 said that they do not believe that abstinence programs are effective in reducing or preventing AIDS.\n<ol type=\"a\">\n<li>At the 2% significance level, do the data provide sufficient evidence to conclude that a majority of all U.S. adults feel that way?<\/li>\n<li>Obtain a 98% confidence interval for the percentage of U.S. adults who believe that abstinence programs are effective in reducing or preventing AIDS.<\/li>\n<li>Interpret the interval obtained in part (b). Does it support the result of the test in part (a)?<\/li>\n<\/ol>\n<\/li>\n<li>In a clinical trial, 56 patients were randomly assigned to use the Bug Buster kit and 70 were assigned to use the standard treatment. Thirty-two patients in the Bug Buster kit group were cured, whereas nine of those in the standard treatment group were cured.\n<ol type=\"a\">\n<li>At the 5% significance level, do these data provide sufficient evidence to conclude that a difference exists in the cure rates of the two types of treatment?<\/li>\n<li>Determine a 95% confidence interval for the difference in cure rates for the two types of treatment.<\/li>\n<li>Interpret the interval obtained in part (b). Does it support the result of the test in part (a)?<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<details>\n<summary>Show\/Hide Answer<\/summary>\n<ol>\n<li>\u200c\n<ol type=\"a\">\n<li>Check the assumptions:\n<ul>\n<li>we have a simple random sample<\/li>\n<li>Sample size assumption: <span class=\"math inline\">[latex]np_0=1961\\times0.5=980.5>5, n(1-p_0)=1961\\times (1-0.5)=980.5>5[\/latex]<\/span>.<\/li>\n<\/ul>\n<p>Steps: we have <span class=\"math inline\">[latex]n=1961, x=1137, \\hat p=\\frac{x}{n}=\\frac{1137}{1961}=0.5798.[\/latex]<\/span><\/p>\n<ol>\n<li>Hypotheses: <span class=\"math inline\">[latex]H_0: p\\le 0.5[\/latex]<\/span> versus <span class=\"math inline\">[latex]H_a: p>0.5[\/latex]<\/span>.<\/li>\n<li>Significance level <span class=\"math inline\">[latex]\\alpha=0.02[\/latex]<\/span>.<\/li>\n<li>Test statistics.<br \/>\n<span class=\"math display\">[latex]z_o=\\frac{\\hat p-p_0}{\\sqrt{p_0\\times (1-p_0)\/n}}=\\frac{\\frac{1137}{1961}-0.5}{\\sqrt{0.5\\times (1-0.5)\/1961}}=7.068.[\/latex]<\/span><\/li>\n<li><span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span>: For a right-tailed test, <span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span>=<span class=\"math inline\">[latex]P(Z\\ge 7.068)=P(Z\\le -7.068)\\approx 0.[\/latex]<\/span><\/li>\n<li>Decision: We reject <span class=\"math inline\">[latex]H_0[\/latex]<\/span> since <span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span><span class=\"math inline\">[latex]\\approx 0<0.02 (\\alpha)[\/latex]<\/span>.<\/li>\n<li>Conclusion: At the 2% significance level, we have sufficient evidence that a majority of all U.S. adults do not believe that abstinence programs are effective in reducing or preventing AIDS.<\/li>\n<\/ol>\n<\/li>\n<li>[latex]n=1961, x=1137, \\hat p=\\frac{x}{n}=\\frac{1137}{1961}=0.5798, 1-\\alpha=0.98,[\/latex] [latex]\\alpha=0.02, z_{\\alpha\/2}=z_{0.01}=2.33.[\/latex]<br \/>\nA 98% confidence interval for the proportion of U.S. adults who do not believe that abstinence programs are effective in reducing or preventing AIDS is<br \/>\n[latex]\\hat p \\pm z_{\\frac{\\alpha}{2}}\\sqrt{\\frac{\\hat p(1-\\hat p)}{n}}=0.5798 \\pm 2.33 \\times \\sqrt{\\frac{0.5798 (1-0.5798)}{1961}}=(0.5538, 0.6057)[\/latex]<br \/>\nwhich gives the percentage is somewhere between 55.38% and 60.57%.<\/li>\n<li>Interpretation: we can be 98% confident that the percentage of U.S. adults who do not believe that abstinence programs are effective in reducing or preventing AIDS is somewhere between 55.38% and 60.57%.<br \/>\nYes, we reject <span class=\"math inline\">[latex]H_0[\/latex]<\/span> and claim that <span class=\"math inline\">[latex]p>0.5[\/latex]<\/span> in the hypothesis test. The entire 98% confidence interval is above 0.5, so we can claim that <span class=\"math inline\">[latex]p>0.5[\/latex]<\/span>.<\/li>\n<\/ol>\n<\/li>\n<li>\u200c\n<ol type=\"a\">\n<li>Check the assumptions:\n<ul>\n<li>we have simple random samples from the two treatment groups.<\/li>\n<li>the two samples are independent.<\/li>\n<li><span class=\"math inline\">[latex]x_1=32, n_1-x_1=56-32=24[\/latex]<\/span>, <span class=\"math inline\">[latex]x_2=9[\/latex]<\/span>, and <span class=\"math inline\">[latex]n_2-x_2=70-9=61[\/latex]<\/span> are all greater than 5.<\/li>\n<\/ul>\n<p>Steps:<\/p>\n<ol>\n<li>Hypotheses: <span class=\"math inline\">[latex]H_0: p_1-p_2= 0[\/latex]<\/span> versus <span class=\"math inline\">[latex]H_a: p_1-p_2\\ne 0[\/latex]<\/span>.<\/li>\n<li>Significance level <span class=\"math inline\">[latex]\\alpha=0.05[\/latex]<\/span>.<\/li>\n<li>Test statistics.<br \/>\n<span class=\"math display\">[latex]z_o=\\frac{(\\hat p_1-\\hat p_2)-0}{\\sqrt{\\hat p_{\\scriptsize p}(1-\\hat p_{\\scriptsize p})}\\sqrt{\\frac{1}{n_1}+\\frac{1}{n_2}}}=\\frac{0.5714-0.1286}{\\sqrt{0.3254(1-0.3254)}\\sqrt{\\frac{1}{56}+\\frac{1}{70}}}=5.271[\/latex]<\/span><br \/>\nwhere the pooled proportion is given by<br \/>\n<span class=\"math display\">[latex]\\hat p_{\\scriptsize p}=\\frac{x_1+x_2}{n_1+n_2}=\\frac{32+9}{56+70}=0.3254[\/latex]<\/span> ; [latex]\\hat p_1=\\frac{x_1}{n_1}=\\frac{32}{56}=0.5714[\/latex] ; [latex]\\hat p_2=\\frac{x_2}{n_2}=\\frac{9}{70}=0.1286[\/latex].<\/li>\n<li><span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span>: For a two-tailed test, <span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span>=<span class=\"math inline\">[latex]2P(Z\\ge 5.271)=2P(Z\\le -5.271)\\approx 0.[\/latex]<\/span><\/li>\n<li>Decision: We reject <span class=\"math inline\">[latex]H_0[\/latex]<\/span> since <span class=\"math inline\">[latex]P\\mbox{-value}[\/latex]<\/span><span class=\"math inline\">[latex]\\approx 0<0.05 (\\alpha)[\/latex]<\/span>.<\/li>\n<li>Conclusion: At the 5% significance level, we have sufficient evidence that a difference exists in the cure rates of the two types of treatment.<\/li>\n<\/ol>\n<\/li>\n<li>\u200c<br \/>\n[latex]\\begin{aligned}  & (\\hat p_1-\\hat p_2)\\pm z_{\\frac{\\alpha}{2}}\\sqrt{\\frac{\\hat p_1(1-\\hat p_1)}{n_1}+\\frac{\\hat p_2(1-\\hat p_2)}{n_2}}\\\\  &=(0.5714-0.1286)\\pm 1.96\\times \\sqrt{\\frac{0.5714(1-0.5714)}{56}+\\frac{0.1286(1-0.1286)}{70}} \\\\ &=(0.2913, 0.5943).  \\end{aligned}[\/latex]<\/li>\n<li>Interpretation: We can be 95% confident that the cure rate of the Bug Buster kits group is 0.2913 to 0.5943 higher than the cure rate of the standard treatment.<br \/>\nYes, since the entire interval is above 0, we can claim that [latex]p_1-p_2>0[\/latex],\u00a0which is the conclusion of the hypothesis in part (a).<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<\/details>\n","protected":false},"author":19,"menu_order":8,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-2863","chapter","type-chapter","status-publish","hentry"],"part":1075,"_links":{"self":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2863","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/users\/19"}],"version-history":[{"count":20,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2863\/revisions"}],"predecessor-version":[{"id":5051,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2863\/revisions\/5051"}],"part":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/parts\/1075"}],"metadata":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapters\/2863\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/media?parent=2863"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=2863"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/contributor?post=2863"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/openbooks.macewan.ca\/introstats\/wp-json\/wp\/v2\/license?post=2863"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}