{"id":80,"date":"2021-01-12T22:19:41","date_gmt":"2021-01-12T22:19:41","guid":{"rendered":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/additional-information-and-full-hypothesis-test-examples\/"},"modified":"2023-04-19T19:39:52","modified_gmt":"2023-04-19T19:39:52","slug":"additional-information-and-full-hypothesis-test-examples","status":"publish","type":"chapter","link":"https:\/\/textbooks.jaykesler.net\/introstats\/chapter\/additional-information-and-full-hypothesis-test-examples\/","title":{"rendered":"Additional Information and Full Hypothesis Test Examples"},"content":{"raw":"<span style=\"display: none;\">\r\n[latexpage]\r\n<\/span>\r\n<div id=\"7a92954b-4c2d-4dad-ac01-9380e513f281\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\r\n<ul id=\"element-162\">\r\n \t<li>In a <span id=\"term190\" data-type=\"term\">hypothesis test<\/span> problem, you may see words such as \"the level of significance is 1%.\" The \"1%\" is the preconceived or preset <em data-effect=\"italics\">\u03b1<\/em>.<\/li>\r\n \t<li>The statistician setting up the hypothesis test selects the value of <em data-effect=\"italics\">\u03b1<\/em> to use <strong>before<\/strong> collecting the sample data.<\/li>\r\n \t<li><strong>If no level of significance is given, a common standard to use is <em data-effect=\"italics\">\u03b1<\/em> = 0.05.<\/strong><\/li>\r\n \t<li>When you calculate the <em data-effect=\"italics\">p<\/em>-value and draw the picture, the <em data-effect=\"italics\">p<\/em>-value is the area in the left tail, the right tail, or split evenly between the two tails. For this reason, we call the hypothesis test left, right, or two tailed.<\/li>\r\n \t<li>The <strong>alternative hypothesis<\/strong>, H<sub>1<\/sub>, tells you if the test is left, right, or two-tailed. It is the <strong>key<\/strong> to conducting the appropriate test.<\/li>\r\n \t<li><em data-effect=\"italics\">H<sub>1<\/sub><\/em> <strong>never<\/strong> has a symbol that contains an equal sign.<\/li>\r\n \t<li><strong>Thinking about the meaning of the<\/strong> <span id=\"term191\" data-type=\"term\"><em data-effect=\"italics\">p<\/em>-value<\/span>: A data analyst (and anyone else) should have more confidence that he made the correct decision to reject the null hypothesis with a smaller <em data-effect=\"italics\">p<\/em>-value (for example, 0.001 as opposed to 0.04) even if using the 0.05 level for alpha. Similarly, for a large <em data-effect=\"italics\">p<\/em>-value such as 0.4, as opposed to a <em data-effect=\"italics\">p<\/em>-value of 0.056 (alpha = 0.05 is less than either number), a data analyst should have more confidence that she made the correct decision in not rejecting the null hypothesis. This makes the data analyst use judgment rather than mindlessly applying rules.<\/li>\r\n<\/ul>\r\n<p id=\"fs-idp42898080\">The following examples illustrate a left-, right-, and two-tailed test.<\/p>\r\n\r\n<div id=\"fs-idp41487520\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.11<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"fs-idp41487648\"><em data-effect=\"italics\">H<sub>o<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 5, <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &lt; 5<\/p>\r\n<p id=\"element-343\">Test of a single population mean. <em data-effect=\"italics\">H<sub>1<\/sub><\/em> tells you the test is left-tailed. The picture of the <em data-effect=\"italics\">p<\/em>-value is as follows:<\/p>\r\n\r\n<div id=\"fs-idm151356816\" class=\"os-figure\">\r\n<figure data-id=\"fs-idm151356816\"><span id=\"id14703034\" data-type=\"media\" data-alt=\"Normal distribution curve of a single population mean with a value of 5 on the x-axis and the p-value points to the area on the left tail of the curve.\"><img class=\"alignnone wp-image-535 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/9009ac0fc178917a2a44a08ad0a540a2037950d9-300x135.jpg\" alt=\"Normal distribution curve of a single population mean with a value of 5 on the x-axis and the p-value points to the area on the left tail of the curve.&quot;\" width=\"300\" height=\"135\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.3<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp42408528\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.11<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idp67352928\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-428\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idm132446832\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 10, <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &lt; 10<\/p>\r\n<p id=\"eip-idp3861728\">Assume the <em data-effect=\"italics\">p<\/em>-value is 0.0935. What type of test is this? Draw the picture of the <em data-effect=\"italics\">p<\/em>-value.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-417\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.12<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"element-38\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.2\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> &gt; 0.2<\/p>\r\n<p id=\"fs-idp117549824\">This is a test of a single population proportion. <em data-effect=\"italics\">H<sub>1<\/sub><\/em> tells you the test is <strong>right-tailed<\/strong>. The picture of the <em data-effect=\"italics\">p<\/em>-value is as follows:<\/p>\r\n\r\n<div id=\"fs-idm2304848\" class=\"os-figure\">\r\n<figure data-id=\"fs-idm2304848\"><span id=\"id14703170\" data-type=\"media\" data-alt=\"Normal distribution curve of a single population proportion with the value of 0.2 on the x-axis. The p-value points to the area on the right tail of the curve.\"><img class=\"alignnone wp-image-536 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/1760e78f2b4702649533e8ed193a325ed409c34e-300x135.jpg\" alt=\"Normal distribution curve of a single population proportion with the value of 0.2 on the x-axis. The p-value points to the area on the right tail of the curve.\" width=\"300\" height=\"135\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.4<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm126098448\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.12<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-417\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idp131553552\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idm89526848\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 1, <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &gt; 1<\/p>\r\n<p id=\"eip-idm24425280\">Assume the <em data-effect=\"italics\">p<\/em>-value is 0.1243. What type of test is this? Draw the picture of the <em data-effect=\"italics\">p<\/em>-value.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-768\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.13<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<p id=\"element-38a\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 50\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 50<\/p>\r\n<p id=\"element-257\">This is a test of a single population mean. <em data-effect=\"italics\">H<sub>1<\/sub><\/em> tells you the test is <strong>two-tailed<\/strong>. The picture of the <em data-effect=\"italics\">p<\/em>-value is as follows.<\/p>\r\n\r\n<div id=\"fs-idm117972816\" class=\"os-figure\">\r\n<figure data-id=\"fs-idm117972816\"><span id=\"id4829633\" data-type=\"media\" data-alt=\"Normal distribution curve of a single population mean with a value of 50 on the x-axis. The p-value formulas, 1\/2(p-value), for a two-tailed test is shown for the areas on the left and right tails of the curve.\"><img class=\"alignnone wp-image-537 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/fad6ae155d242729cc8484d4a4367c4a9f2f875a-300x135.jpg\" alt=\"Normal distribution curve of a single population mean with a value of 50 on the x-axis. The p-value formulas, 1\/2(p-value), for a two-tailed test is shown for the areas on the left and right tails of the curve.\" width=\"300\" height=\"135\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.5<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm63250432\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.13<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-335\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-726\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idp41687312\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.5, <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 0.5<\/p>\r\n<p id=\"eip-idm5668432\">Assume the <em data-effect=\"italics\">p<\/em>-value is 0.2564. What type of test is this? Draw the picture of the <em data-effect=\"italics\">p<\/em>-value.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<section id=\"fs-idm12892576\" data-depth=\"1\">\r\n<h3 data-type=\"title\">Full Hypothesis Test Examples<\/h3>\r\n<div id=\"element-396\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.14<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"element-291\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id5300933\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"element-402\">Jeffrey, as an eight-year old, was bragging to his friends that his average time to swim the 25-yard freestyle is less than 16.43 seconds. His friends timed his next <strong>15 25-yard freestyle swims<\/strong>. For the 15 swims, <strong>Jeffrey's mean time was 16 seconds <\/strong>and his<strong> standard deviation was 0.8 seconds. <\/strong> Can Jeffery really claim that his average swim time is less than 16.43 seconds? Conduct a hypothesis test using a preset <em data-effect=\"italics\">\u03b1<\/em> = 0.05. Assume that the swim times for the 25-yard freestyle are normal.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id5036614\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.14<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-807\">Set up the Hypothesis Test:<\/p>\r\n<p id=\"element-564\">Since the problem is about a mean, this is a <strong>test of a single population mean<\/strong>.<\/p>\r\n<p id=\"element-895\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 16.43\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &lt; 16.43<\/p>\r\n<p id=\"element-241\">For Jeffrey to swim faster, his time will be less than 16.43 seconds. The \"&lt;\" tells you this is left-tailed.<\/p>\r\n<p id=\"element-496\">Determine the distribution needed:<\/p>\r\n<strong>Random variable:<\/strong> $\\bar X$ = the mean time to swim the 25-yard freestyle.\r\n\r\n<strong> Distribution for the test:<\/strong><span class=\"os-math-in-para\"> $\\bar X$ <\/span>is student-t (population <span id=\"term192\" data-type=\"term\">standard deviation<\/span> is unknown; only the sample standard deviation is known)\r\n\r\n$\\bar X \\sim t_{df}\\left( \\mu \\frac{\\sigma_{X}}{\\sqrt{n}} \\right)$ Therefore, $\\bar X \\sim t_{14}\\left(16.43 \\frac{0.8}{\\sqrt{15}} \\right)$\r\n\r\n<em data-effect=\"italics\">\u03bc<\/em> = 16.43 comes from <em data-effect=\"italics\">H<sub>0<\/sub><\/em> and not the data. <em data-effect=\"italics\">\u03c3<\/em> = 0.8, and <em data-effect=\"italics\">n<\/em> = 15 so <em>df<\/em> = <em>n<\/em>-1 = 14.\r\n<p id=\"element-770\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the <em>t<\/em> distribution for a mean:<\/p>\r\n<p id=\"element-706\"><em data-effect=\"italics\">p<\/em>-value = $P(\\bar x &lt; 16) = 0.0281$ where the sample mean in the problem is given as 16. (See below for how to calculate this using Google Sheets).<\/p>\r\n<p id=\"element-656\"><em data-effect=\"italics\">p<\/em>-value = 0.0281 (This is called the <strong>actual level of significance<\/strong>.) The <em data-effect=\"italics\">p<\/em>-value is the area to the left of the sample mean is given as 16.<\/p>\r\n<p id=\"element-320\"><strong>Graph:<\/strong><\/p>\r\n\r\n<div id=\"hyptest11_ex1\" class=\"os-figure\">\r\n<figure data-id=\"hyptest11_ex1\"><span id=\"id4282005\" data-type=\"media\" data-alt=\"Normal distribution curve for the average time to swim the 25-yard freestyle with values 16, as the sample mean, and 16.43 on the x-axis. A vertical upward line extends from 16 on the x-axis to the curve. An arrow points to the left tail of the curve.\"><img class=\"alignnone wp-image-538 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/5821bbdbabe60f1558b57b3fd1afbbd5136fb49a-300x135.jpg\" alt=\"Normal distribution curve for the average time to swim the 25-yard freestyle with values 16, as the sample mean, and 16.43 on the x-axis. A vertical upward line extends from 16 on the x-axis to the curve. An arrow points to the left tail of the curve.\" width=\"300\" height=\"135\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.6<\/span><\/div>\r\n<\/div>\r\n<p id=\"element-172\"><em data-effect=\"italics\">\u03bc<\/em> = 16.43 comes from <em data-effect=\"italics\">H<sub>0<\/sub><\/em>. Our assumption is <em data-effect=\"italics\">\u03bc<\/em> = 16.43.<\/p>\r\n<p id=\"element-751\"><strong>Interpretation of the <em data-effect=\"italics\">p<\/em>-value: If <em data-effect=\"italics\">H<sub>0<\/sub><\/em> is true<\/strong>, there is a 0.0281 probability (2.81%)that Jeffrey's mean time to swim the 25-yard freestyle is 16 seconds or less. Because a 1.87% chance is small, the mean time of 16 seconds or less is unlikely to have happened randomly. It would be a rare event (if H<sub>0<\/sub> is true)<\/p>\r\n<p id=\"element-748\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\r\n<p id=\"element-890\"><em data-effect=\"italics\">\u03b1<\/em> = 0.05 and <em data-effect=\"italics\">p<\/em>-value = 0.0281, so <em data-effect=\"italics\">\u03b1<\/em> &gt; <em data-effect=\"italics\">p<\/em>-value<\/p>\r\n<p id=\"element-543\"><strong>Make a decision:<\/strong> Since <em data-effect=\"italics\">\u03b1<\/em> &gt; <em data-effect=\"italics\">p<\/em>-value, reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>.<\/p>\r\n<!-- CONTINUE HERE -->\r\n<p id=\"element-826\">This means that you reject <em data-effect=\"italics\">\u03bc<\/em> = 16.43. In other words, you do not think Jeffrey swims the\r\n25-yard freestyle in 16.43 seconds, but you do think he swims faster than 16.43 seconds.<\/p>\r\n<p id=\"element-942\"><strong>Conclusion:<\/strong> At the 5% significance level, we conclude that Jeffrey swims faster than 16.43 seconds. The sample data show there is sufficient evidence that Jeffrey's mean time to swim the 25-yard freestyle is less than 16.43 seconds.<\/p>\r\n<p id=\"element-252\">The <em data-effect=\"italics\">p<\/em>-value can easily be calculated.<\/p>\r\n\r\n<div id=\"fs-idm31641280\" class=\"textbox statistics spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">Using Google Sheets\r\n<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"element-362\">In a cell, type<\/p>\r\n<code><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\"><bdo dir=\"ltr\">=TDIST( ABS( (<span class=\"number\" dir=\"auto\">16<\/span><span class=\" default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">16.43<\/span>) <span class=\" default-formula-text-color\" dir=\"auto\">\/ <\/span>(<span class=\"number\" dir=\"auto\">0.8<\/span><span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span>SQRT(<span class=\"number\" dir=\"auto\">15<\/span>) ) ), <span class=\"number\" dir=\"auto\">14<\/span>, <span class=\"number\" dir=\"auto\">1<\/span>)<\/bdo><\/span><\/span><\/code>\r\n\r\nThe first value of the TDIST function is the positive version of the test statistic (TDIST requires a positive test statistic) calculated as $\\frac{16-16.43}{0.8\/\\sqrt{15}}$ and wrapped in the ABS function (short for absolute value) to force it positive.\r\n\r\nThe second value given to the TDIST function is the degrees of freedom.\r\n\r\nThe third value given to the TDIST function is whether this is a 1-tail or 2-tail test.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<p id=\"element-822\">The Type I and Type II errors for this problem are as follows:<\/p>\r\n<p id=\"element-385\">The Type I error is to conclude that Jeffrey swims the 25-yard freestyle, on average, in less than 16.43 seconds when, in fact, he actually swims the 25-yard freestyle, on\r\naverage, in 16.43 seconds. (Reject the null hypothesis when the null hypothesis is true.)<\/p>\r\n<p id=\"element-615\">The Type II error is that there is not evidence to conclude that Jeffrey swims the 25-yard free-style, on average, in less than 16.43 seconds when, in fact, he actually does swim the 25-yard free-style, on average, in less than 16.43 seconds. (Do not reject the null hypothesis when the null hypothesis is false.)<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm112426112\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.14<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"fs-idp78508304\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"fs-idp117367632\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-235\">The mean throwing distance of a football for Marco, a high school freshman quarterback, is 40 yards. The team coach tells Marco to adjust his grip to get more distance. The coach records the distances for 20 throws. For the 20 throws, Marco\u2019s mean distance was 45 yards with a standard deviation of two yards. The coach thought the different grip helped Marco throw farther than 40 yards. Conduct a hypothesis test using a preset <em data-effect=\"italics\">\u03b1<\/em> = 0.05. Assume the throw distances for footballs are normal.<\/p>\r\n<p id=\"eip-idp30205504\">First, determine what type of test this is, set up the hypothesis test, find the <em data-effect=\"italics\">p<\/em>-value, sketch the graph, and state your conclusion.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/section>\r\n<div id=\"eip-406\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"23\" class=\"os-title-label\" data-type=\"\">Historical Note (<a class=\"autogenerated-content\" href=\"#fs-idp41487520\">Example 8.11<\/a>)<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"eip-idp233123200\">The traditional way to compare the two probabilities, <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value, is to compare the critical value (<em data-effect=\"italics\">z<\/em>-score from <em data-effect=\"italics\">\u03b1<\/em>) to the test statistic (<em data-effect=\"italics\">z<\/em>-score from data). The calculated test statistic for the <em data-effect=\"italics\">p<\/em>-value is \u20132.08. (From the Central Limit Theorem, the test statistic formula is $z=\\frac{\\bar x -\\mu_{X}}{\\left(\\frac{s_{X}}{\\sqrt{n}}\\right)}$<\/p>\r\nFor this problem, $\\bar x = 16$, <em data-effect=\"italics\">\u03bc<sub>X<\/sub><\/em> = 16.43 from the null hypothes is, <em data-effect=\"italics\">s<sub>X<\/sub><\/em> = 0.8, and <em data-effect=\"italics\">n<\/em> = 15.) You can find the critical value for <em data-effect=\"italics\">\u03b1<\/em> = 0.05 in the <a href=\"\/wp-content\/uploads\/sites\/2\/2020\/10\/tDistribution.pdf\">student-<em>t<\/em> table<\/a>. The <em data-effect=\"italics\">t<\/em>-score for an area to the left equal to 0.05 and degrees of freedom 14 is -1.761. Since \u20131.761 &gt; \u20132.08 (which demonstrates that \u03b1 &gt; <em data-effect=\"italics\">p<\/em>-value), reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>. Traditionally, the decision\r\nto reject or not reject was done in this way. Today, comparing the two probabilities <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value is very common. For this problem, the <em data-effect=\"italics\">p<\/em>-value, 0.0281 is considerably smaller than <em data-effect=\"italics\">\u03b1<\/em>, 0.05. You can be confident about your decision to reject. The graph shows <em data-effect=\"italics\">\u03b1<\/em>, the <em data-effect=\"italics\">p<\/em>-value, and the test statistic and the critical value.\r\n<div id=\"eip-idm47467424\" class=\"os-figure\">\r\n<figure data-id=\"eip-idm47467424\"><span id=\"eip-idp126239824\" data-type=\"media\" data-alt=\"Distribution curve comparing the \u03b1 to the p-value. Values of -2.15 and -1.645 are on the x-axis. Vertical upward lines extend from both of these values to the curve. The p-value is equal to 0.0158 and points to the area to the left of -2.15. \u03b1 is equal to 0.05 and points to the area between the values of -2.15 and -1.645.\">\r\n<img class=\"alignnone wp-image-539 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/154ba94e88fa0aa70921f8530b5942c60111b128-300x122.png\" alt=\"Distribution curve comparing the \u03b1 to the p-value. Values of -2.15 and -1.645 are on the x-axis. Vertical upward lines extend from both of these values to the curve. The p-value is equal to 0.0158 and points to the area to the left of -2.15. \u03b1 is equal to 0.05 and points to the area between the values of -2.15 and -1.645.\" width=\"300\" height=\"122\" \/>\r\n<\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.7<\/span><\/div>\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"element-213\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.15<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"element-948\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id5291254\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"element-19\">A college football coach claims mean weight that his players can bench press is <strong>more than<\/strong> <strong>275 pounds<\/strong>. His players wanted to test that claim. They asked <strong>30<\/strong> of their teammates for their estimated maximum lift on the bench\r\npress exercise. The data ranged from 205 pounds to 385 pounds. The actual reported weights are listed in the table below:<\/p>\r\n\r\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:205}\">205<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:225}\">225<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:265}\">265<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:341}\">341<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:205}\">205<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:241}\">241<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:275}\">275<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:345}\">345<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:205}\">205<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:241}\">241<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:275}\">275<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:345}\">345<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:215}\">215<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:252}\">252<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:313}\">313<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:368}\">368<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:215}\">215<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:252}\">252<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:313}\">313<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:338}\">338<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:368}\">368<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:215}\">215<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:265}\">265<\/td>\r\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:338}\">338<\/td>\r\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:385}\">385<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">8.15<\/span><\/div>\r\n<p id=\"element-507\">Conduct a hypothesis test using a 2.5% level of significance to determine if the bench press mean is <strong>more than 275 pounds<\/strong>.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id5342777\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.15<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-932\">Set up the Hypothesis Test:<\/p>\r\n<p id=\"element-613\">Since the problem is about a mean weight, this is a <strong>test of a single population mean<\/strong>.<\/p>\r\n<p id=\"element-614\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 275<span data-type=\"newline\">\r\n<\/span><em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &gt; 275<span data-type=\"newline\">\r\n<\/span>This is a right-tailed test.<\/p>\r\n<p id=\"element-839\">Calculating the distribution needed:<\/p>\r\n<p id=\"element-975\">Random variable: $\\bar X$= the mean weight, in pounds, lifted by the football players.<\/p>\r\n<p id=\"element-154\"><strong>Distribution for the test:<\/strong> It is a <em>t<\/em> distribution with 29 degrees of freedom (the sample size is 30)<\/p>\r\n$\\bar X \\sim t_{29}\\left( 275, \\frac{55}{\\sqrt{30}} \\right)$\r\n\r\n$\\bar x = 286.2$ pounds (from the data).\r\n<p id=\"element-864\">The sample's standard deviation is <em data-effect=\"italics\">s<\/em> = 55.898 pounds (Use a spreadsheet to calculate this after importing the weight data)<strong>.<\/strong> We assume <em data-effect=\"italics\">\u03bc<\/em> = 275 pounds unless our data shows us otherwise.<\/p>\r\n<p id=\"element-212\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the <em>t<\/em> distribution with <em>df<\/em>=29 for a mean and using the sample mean $\\bar x = 286.17$ as input<span id=\"MathJax-Element-14-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mtext&gt;-value&lt;\/mtext&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mi&gt;P&lt;\/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;\/mo&gt;&lt;mover accent=&quot;true&quot;&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mo&gt;&amp;#xAF;&lt;\/mo&gt;&lt;\/mover&gt;&lt;mo&gt;&amp;gt;&lt;\/mo&gt;&lt;mn&gt;286.2&lt;\/mn&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;\/mo&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mn&gt;0.1323&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mtext&gt;-value&lt;\/mtext&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mi&gt;P&lt;\/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;\/mo&gt;&lt;mover accent=&quot;true&quot;&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mo&gt;\u00af&lt;\/mo&gt;&lt;\/mover&gt;&lt;mo&gt;&amp;gt;&lt;\/mo&gt;&lt;mn&gt;286.2&lt;\/mn&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;\/mo&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mn&gt;0.1323&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\">.<\/span><\/p>\r\nThe test statistic is $t=\\frac{\\bar x -\\mu}{s\/\\sqrt{n}}=\\frac{286.17-275}{55.898\/\\sqrt{30}} = 1.095$\r\n\r\np-value= $P(\\bar x &gt; 286.17) = P(t&gt;1.095) = 0.1413$\r\n\r\n<strong>Interpretation of the <em data-effect=\"italics\">p<\/em>-value:<\/strong> If <em data-effect=\"italics\">H<sub>0<\/sub><\/em> is true, then there is a 0.1413 probability (14.13%) that the football players can lift a mean weight of 286.17 pounds or more. Because a 14.13% chance is large enough, a mean weight lift of 286.17 pounds or more is not a rare event.\r\n<p id=\"element-804\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\r\n<p id=\"element-591\"><em data-effect=\"italics\">\u03b1<\/em> = 0.025 <em data-effect=\"italics\">p<\/em>-value = 0.1413<\/p>\r\n<p id=\"element-849\"><strong>Make a decision:<\/strong> Since <em data-effect=\"italics\">\u03b1<\/em> &lt;<em data-effect=\"italics\">p<\/em>-value, do not reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>.<\/p>\r\n<p id=\"element-898\"><strong>Conclusion:<\/strong> At the 2.5% level of significance, from the sample data, there is not sufficient evidence to conclude that the true mean weight lifted is more than 275 pounds.<\/p>\r\n<p id=\"element-625\">The <em data-effect=\"italics\">p<\/em>-value can easily be calculated.<\/p>\r\n\r\n<div id=\"fs-idm79549936\" class=\"textbox statistics spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">Using Google Sheets<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"element-233\">In a cell, type<\/p>\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\" default-formula-text-color\" dir=\"auto\">TDIST<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span> ABS( <span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">286.17<\/span><span class=\" default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">275<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">55.898<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">SQRT<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">30<\/span><span class=\" default-formula-text-color\" dir=\"auto\">) )<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><span class=\" default-formula-text-color\" dir=\"auto\">,<\/span> <span class=\"number\" dir=\"auto\">29<\/span><span class=\" default-formula-text-color\" dir=\"auto\">,<\/span> <span class=\"number\" dir=\"auto\">1<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code>\r\n\r\nThe first value give to the TDIST function is the positive version of our test statistic; the ABS function is unnecessary here because our test statistic is positive, but it is a good habit since the TDIST function will give an error if a negative test statistic is given.\r\n\r\nThe second value is the degrees of freedom, and the third value is the number of tails.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n&nbsp;\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"element-207\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.16<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"element-1\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id4319892\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n\r\nStatistics students believe that the mean score on the first statistics test is 65. A statistics instructor thinks the mean score is higher than 65. He samples ten statistics students and obtains the scores <span id=\"set-2\" data-type=\"list\" data-list-type=\"labeled-item\" data-display=\"inline\">\r\n<\/span>\r\n<table style=\"border-collapse: collapse; width: 100%;\" border=\"0\">\r\n<tbody>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;65&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">65<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;65&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">65<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;70&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">70<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;67&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">67<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;66&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">66<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;63&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">63<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;63&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">63<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;68&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">68<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;72&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">72<\/td>\r\n<\/tr>\r\n<tr>\r\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;71&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">71<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\nHe performs a hypothesis test using a 5% level of significance. The data are assumed to be from a normal distribution.\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id5147242\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.16<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-594\">Set up the hypothesis test:<\/p>\r\n<p id=\"element-810\">A 5% level of significance means that <em data-effect=\"italics\">\u03b1<\/em> = 0.05. This is a test of a <strong>single population mean<\/strong>.<\/p>\r\n<p id=\"element-880\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 65\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &gt; 65<\/p>\r\n<p id=\"element-936\">Since the instructor thinks the average score is higher, use a \"&gt;\". The \"&gt;\" means the test is right-tailed.<\/p>\r\n<p id=\"fs-idp165624976\">Determine the distribution needed:<\/p>\r\n<p id=\"element-40\"><strong>Random variable:<\/strong> <span class=\"os-math-in-para\"><span id=\"MathJax-Element-15-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mover accent=&quot;true&quot;&gt;&lt;mi&gt;X&lt;\/mi&gt;&lt;mo&gt;&amp;#xAF;&lt;\/mo&gt;&lt;\/mover&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mover accent=&quot;true&quot;&gt;&lt;mi&gt;X&lt;\/mi&gt;&lt;mo&gt;\u00af&lt;\/mo&gt;&lt;\/mover&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\"><span id=\"MathJax-Span-210\" class=\"math\" style=\"width: 1.153em; display: inline-block;\"><span style=\"display: inline-block; position: relative; width: 0.969em; font-size: 118%;\"><span style=\"position: absolute; clip: rect(1.299em, 1000.97em, 2.542em, -1000em); top: -2.361em; left: 0em;\"><span id=\"MathJax-Span-211\" class=\"mrow\"><span id=\"MathJax-Span-212\" class=\"semantics\"><span id=\"MathJax-Span-213\" class=\"mrow\"><span id=\"MathJax-Span-214\" class=\"mover\"><span style=\"display: inline-block; position: relative; width: 0.954em;\"><span style=\"position: absolute; clip: rect(3.131em, 1000.85em, 4.177em, -1000em); top: -3.995em; left: 0em;\"><span id=\"MathJax-Span-215\" class=\"mi\" style=\"font-family: MathJax_Math; font-style: italic;\">X<\/span><\/span><span style=\"position: absolute; clip: rect(3.224em, 1000.81em, 3.633em, -1000em); top: -4.285em; left: 0.146em;\"><span id=\"MathJax-Span-216\" class=\"mo\"><span style=\"display: inline-block; position: relative; width: 0.808em;\"><span style=\"position: absolute; font-family: MathJax_Main; top: -3.995em; left: -0.069em;\">\u00af<\/span><span style=\"position: absolute; font-family: MathJax_Main; top: -3.995em; left: 0.378em;\">\u00af<\/span><span style=\"font-family: MathJax_Main; position: absolute; top: -3.995em; left: 0.176em;\">\u00af<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\r\n$\\bar X$= average score on the first statistics test.\r\n<p id=\"element-941\"><strong> Distribution for the test:<\/strong> If you read the problem carefully, you will notice that there is <strong>no population standard deviation given<\/strong>. You are only given <em data-effect=\"italics\">n<\/em> = 10 sample data values. Notice also that the data come from a normal distribution. This means that the distribution for the test is a student's <em data-effect=\"italics\">t<\/em>.<\/p>\r\n<p id=\"element-240\">Use <em data-effect=\"italics\">t<\/em><sub>df<\/sub>. Therefore, the distribution for the test is <em data-effect=\"italics\">t<\/em><sub>9<\/sub> where <em data-effect=\"italics\">n<\/em> = 10 and <em data-effect=\"italics\">df<\/em> = 10 - 1 = 9.<\/p>\r\n<p id=\"element-169\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the Student's <em data-effect=\"italics\">t<\/em>-distribution:<\/p>\r\n<p id=\"element-334\"><em data-effect=\"italics\">p<\/em>-value = $P(\\bar x &gt;67) = 0.0396$ where the sample mean and sample standard deviation are calculated as 67 and 3.1972 from the data (using a spreadsheet).<\/p>\r\n<p id=\"element-850\"><strong>Interpretation of the <em data-effect=\"italics\">p<\/em>-value:<\/strong> If the null hypothesis is true, then there is a 0.0396 probability (3.96%) that the sample mean is 65 or more.<\/p>\r\n\r\n<div id=\"hyptest11_ex4\" class=\"os-figure\">\r\n<figure data-id=\"hyptest11_ex4\"><span id=\"id5241154\" data-type=\"media\" data-alt=\"Normal distribution curve of average scores on the first statistic tests with 65 and 67 values on the x-axis. A vertical upward line extends from 67 to the curve. The p-value points to the area to the right of 67.\"><img class=\"alignnone wp-image-540 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/667df45532e95c617b317b1eddef292f3f28e724-300x135.jpg\" alt=\"Normal distribution curve of average scores on the first statistic tests with 65 and 67 values on the x-axis. A vertical upward line extends from 67 to the curve. The p-value points to the area to the right of 67.\" width=\"300\" height=\"135\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.9<\/span><\/div>\r\n<\/div>\r\n<p id=\"element-438\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\r\n<p id=\"element-596\">Since <em data-effect=\"italics\">\u03b1<\/em> = 0.05 and <em data-effect=\"italics\">p<\/em>-value = 0.0396. <em data-effect=\"italics\">\u03b1<\/em> &gt; <em data-effect=\"italics\">p<\/em>-value.<\/p>\r\n<p id=\"element-710\"><strong>Make a decision:<\/strong> Since <em data-effect=\"italics\">\u03b1<\/em> &gt; <em data-effect=\"italics\">p<\/em>-value, reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>.<\/p>\r\n<p id=\"fs-idm21057040\">This means you reject <em data-effect=\"italics\">\u03bc<\/em> = 65. In other words, you believe the average test score is more than 65.<\/p>\r\n<p id=\"element-573\"><strong>Conclusion:<\/strong> At a 5% level of significance, the sample data show sufficient evidence that the mean (average) test score is more than 65, just as the math instructor thinks.<\/p>\r\n<p id=\"element-676\">The <em data-effect=\"italics\">p<\/em>-value can easily be calculated.<\/p>\r\n\r\n<div id=\"fs-idm14472336\" class=\"textbox spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">Using Google Sheets<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"element-233\">In a cell, type<\/p>\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\"><bdo dir=\"ltr\">=TDIST( ABS( (<span class=\"number\" dir=\"auto\">65<\/span><span class=\" default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">67<\/span>) <span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span> (<span class=\"number\" dir=\"auto\">3.1972<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span> SQRT(<span class=\"number\" dir=\"auto\">10<\/span>) ) ), <span class=\"number\" dir=\"auto\">9<\/span>, <span class=\"number\" dir=\"auto\">1<\/span> )<\/bdo><\/span><\/span><\/bdo><\/code>\r\n\r\nThe first value give to the TDIST function is the positive version of our test statistic; the ABS function is unnecessary here because our test statistic is positive, but it is a good habit since the TDIST function will give an error if a negative test statistic is given.\r\n\r\nThe second value is the degrees of freedom, and the third value is the number of tails.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idm186895712\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.16<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-454\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-806\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idm59977568\">It is believed that a stock price for a particular company will grow at a rate of \\$5 per week with a standard deviation of \\$1. An investor believes the stock won\u2019t grow as quickly. The changes in stock price is recorded for ten weeks and are as follows: \\$4, \\$3, \\$2, \\$3, \\$1, \\$7, \\$2, \\$1, \\$1, \\$2. Perform a hypothesis test using a 5% level of significance. State the null and alternative hypotheses, find the <em data-effect=\"italics\">p<\/em>-value, state your conclusion, and identify the Type I and Type II errors.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-940\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.17<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"element-366\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id5304801\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"element-904\">Joon believes that 50% of first-time brides in the United States are younger than their grooms. She performs a hypothesis test to determine if the percentage is <strong>the same or different from 50%<\/strong>. Joon samples <strong>100 first-time brides<\/strong> and <strong>53<\/strong> reply that they are younger than their grooms. For the hypothesis test, she uses a 1% level of\r\nsignificance.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id4150001\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.17<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-399\">Set up the hypothesis test:<\/p>\r\n<p id=\"element-228\">The 1% level of significance means that <em data-effect=\"italics\">\u03b1<\/em> = 0.01. This is a <strong>test of a single population proportion<\/strong>.<\/p>\r\n<p id=\"element-724\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.50\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 0.50<\/p>\r\n<p id=\"element-2\">The words <strong>\"is the same or different from\"<\/strong> tell you this is a two-tailed test.<\/p>\r\n<p id=\"element-815\">Calculate the distribution needed:<\/p>\r\n<p id=\"element-783\"><strong>Random variable:<\/strong> $\\hat P$ = the percent of of first-time brides who are younger than their grooms.<\/p>\r\n<p id=\"element-581\"><strong>Distribution for the test:<\/strong> The problem contains no mention of a mean. The\r\ninformation is given in terms of percentages. Use the distribution for $\\hat P$, the estimated proportion.<\/p>\r\n$\\hat P \\sim N\\left( p, \\sqrt{\\frac{pq}{n}} \\right)$ Therefore, $\\hat P \\sim N\\left( 0.5, \\sqrt{\\frac{(0.5)(0.5)}{100}} \\right)$\r\n<p id=\"fs-idm107085552\">where <em data-effect=\"italics\">p<\/em> = 0.50, <em data-effect=\"italics\">q<\/em> = 1\u2212<em data-effect=\"italics\">p<\/em> = 0.50, and <em data-effect=\"italics\">n<\/em> = 100<\/p>\r\n<p id=\"fs-idp14246672\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the normal distribution for proportions:<\/p>\r\n<p id=\"element-518\"><em data-effect=\"italics\">p<\/em>-value = <em data-effect=\"italics\">P<\/em> ($\\hat p$ &lt; 0.47 or $\\hat p$ &gt; 0.53) = 0.5485<\/p>\r\n<p id=\"fs-idp133040416\">where <em data-effect=\"italics\">x<\/em> = 53, $\\hat p =\\frac{x}{n} =\\frac{53}{100}=0.53$<\/p>\r\n<strong>Interpretation of the <em data-effect=\"italics\">p<\/em>-value:<\/strong> If the null hypothesis is true, there is 0.5485 probability\r\n(54.85%) that the sample (estimated) proportion $\\hat p$ is 0.53 or more OR 0.47 or less (see\r\nthe graph in <a class=\"autogenerated-content\" href=\"#hyptest11_ex5\">Figure 8.10<\/a>).\r\n<div id=\"hyptest11_ex5\" class=\"os-figure\">\r\n<figure data-id=\"hyptest11_ex5\"><span id=\"id5140475\" data-type=\"media\" data-alt=\"Normal distribution curve of the percent of first time brides who are younger than the groom with values of 0.47, 0.50, and 0.53 on the x-axis. Vertical upward lines extend from 0.47 and 0.53 to the curve. 1\/2(p-values) are calculated for the areas on outsides of 0.47 and 0.53.\"><img class=\"alignnone wp-image-541 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/f256b0598364b426502f2690f2d3b6f75ce41177-300x117.jpg\" alt=\"Normal distribution curve of the percent of first time brides who are younger than the groom with values of 0.47, 0.50, and 0.53 on the x-axis. Vertical upward lines extend from 0.47 and 0.53 to the curve. 1\/2(p-values) are calculated for the areas on outsides of 0.47 and 0.53.\" width=\"300\" height=\"117\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.10<\/span><\/div>\r\n<\/div>\r\n<p id=\"element-327\"><em data-effect=\"italics\">\u03bc<\/em> = <em data-effect=\"italics\">p<\/em> = 0.50 comes from <em data-effect=\"italics\">H<sub>0<\/sub><\/em>, the null hypothesis.<\/p>\r\n<p id=\"element-360\">$\\hat p$ = 0.53. Since the curve is symmetrical and the test is two-tailed, the $\\hat p$ for the left tail is equal to 0.50 \u2013 0.03 = 0.47 where <em data-effect=\"italics\">\u03bc<\/em> = <em data-effect=\"italics\">p<\/em> = 0.50. (0.03 is the difference between 0.53 and 0.50.)<\/p>\r\n<p id=\"element-140\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\r\n<p id=\"element-576\">Since <em data-effect=\"italics\">\u03b1<\/em> = 0.01 and <em data-effect=\"italics\">p<\/em>-value = 0.5485. <em data-effect=\"italics\">\u03b1<\/em> &lt; <em data-effect=\"italics\">p<\/em>-value.<\/p>\r\n<p id=\"element-293\"><strong>Make a decision:<\/strong> Since <em data-effect=\"italics\">\u03b1<\/em> &lt; <em data-effect=\"italics\">p<\/em>-value, you cannot reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>.<\/p>\r\n<p id=\"element-962\"><strong>Conclusion:<\/strong> At the 1% level of significance, the sample data do not show sufficient evidence that the percentage of first-time brides who are younger than their grooms is different from 50%.<\/p>\r\n<p id=\"element-990\">The <em data-effect=\"italics\">p<\/em>-value can easily be calculated.<\/p>\r\n\r\n<div id=\"fs-idm35225600\" class=\"textbox spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">Using Google Sheets<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"element-857\">In a cell, type<\/p>\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"number\" dir=\"auto\">2<\/span><span class=\" default-formula-text-color\" dir=\"auto\">*<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">1<\/span><span class=\" default-formula-text-color\" dir=\"auto\">-<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">NORM.S.DIST<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">0.53<\/span><span class=\" default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">0.5<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\" default-formula-text-color\" dir=\"auto\">SQRT<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">0.5<\/span><span class=\" default-formula-text-color\" dir=\"auto\">*<\/span><span class=\"number\" dir=\"auto\">0.5<\/span><span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"number\" dir=\"auto\">100<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">)<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code>\r\n\r\nThis function starts with \"2*\" since we are performing a two tail test, we need to double our p-value.\r\n\r\nThen, we have \"1 - \" because we want to are to the right of 0.53; even though this is a two tail test, we know to calculate the area into the <strong>right<\/strong> tail beyond 0.53 because 0.53 is further to the right than 0.50 from our null hypothesis.\r\n\r\nIn our NORM.S.DIST function, we calculate our test statistic as $\\frac{\\bar x - \\mu }{\\sqrt{\\frac{pq}{n}}}=\\frac{0.53 - 0.5 }{\\sqrt{\\frac{(0.5)(0.5)}{100}}}$. The NORM.S.DIST function will give us the area to the left, but, as mentioned, we want the are to the right, which is why we subtract this from 1.\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<p id=\"element-699\">The Type I and Type II errors are as follows:<\/p>\r\n<p id=\"element-414\">The Type I error is to conclude that the proportion of first-time brides who are younger than their grooms is different from 50% when, in fact, the proportion is actually 50%. (Reject the null hypothesis when the null hypothesis is true).<\/p>\r\n<p id=\"fs-idp134008544\">The Type II error is there is not enough evidence to conclude that the proportion of first time brides who are younger than their grooms differs from 50% when, in fact, the proportion does differ from 50%. (Do not reject the null hypothesis when the null hypothesis is false.)<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"fs-idp8711616\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.17<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-466\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-697\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idp103490704\">A teacher believes that 85% of students in the class will want to go on a field trip to the local zoo. She performs a hypothesis test to determine if the percentage is the same or different from 85%. The teacher samples 50 students and 39 reply that they would want to go to the zoo. For the hypothesis test, use a 1% level of significance.<\/p>\r\n<p id=\"eip-idp10599024\">First, determine what type of test this is, set up the hypothesis test, find the <em data-effect=\"italics\">p<\/em>-value, sketch the graph, and state your conclusion.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<div id=\"element-577\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.18<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"element-312\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id5318755\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"element-451\">Suppose a consumer group suspects that the proportion of households that have three cell phones is 30%. A cell phone company has reason to believe that the proportion is not 30%. Before they start a big advertising campaign, they conduct a hypothesis test. Their marketing people survey 150 households with the result that 43 of the households have three cell phones.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id4213559\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.18<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-434\">Set up the Hypothesis Test:<\/p>\r\n<p id=\"element-504\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.30 <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 0.30<\/p>\r\n<p id=\"element-636\">Determine the distribution needed:<\/p>\r\n<p id=\"element-605\">The <strong>random variable<\/strong> is $\\hat P$ = proportion of households that have three cell phones.<\/p>\r\n<p id=\"element-754\">The <strong>distribution<\/strong> for the hypothesis test is $\\hat P \\sim N\\left( 0.3, \\sqrt{\\frac{(0.3)(0.7)}{150}} \\right)$<\/p>\r\n\r\n<\/div>\r\nNow lets complete the following list:\r\n<div class=\"os-solution-container\">\r\n<ol>\r\n \t<li>The value that helps determine the <em data-effect=\"italics\">p<\/em>-value is $\\hat p$. Calculate $\\hat p$.<\/li>\r\n \t<li id=\"element-574\" class=\" os-hasSolution unnumbered\" data-type=\"exercise\">\r\n<p id=\"element-946\">What is a <strong>success<\/strong> for this problem?<\/p>\r\n<\/li>\r\n \t<li>What is the level of significance?<\/li>\r\n \t<li>Draw the graph for this problem. Draw the horizontal axis. Label and shade appropriately.<span data-type=\"newline\">\r\n<\/span>Calculate the <em data-effect=\"italics\">p<\/em>-value.<\/li>\r\n \t<li>Make a decision. _____________(Reject\/Do not reject) <em data-effect=\"italics\">H<sub>0<\/sub><\/em> because____________.<\/li>\r\n<\/ol>\r\nAnswers:\r\n<ol>\r\n \t<li>$\\hat p = \\frac{x}{n}$ where <em data-effect=\"italics\">x<\/em> is the number of successes and <em data-effect=\"italics\">n<\/em> is the total number in the sample.\r\n<em data-effect=\"italics\">x<\/em> = 43, <em data-effect=\"italics\">n<\/em> = 150\r\n$\\hat p =\\frac{43}{150}$<\/li>\r\n \t<li>A success is having three cell phones in a household.<\/li>\r\n \t<li>The level of significance is the preset <em data-effect=\"italics\">\u03b1<\/em>. Since <em data-effect=\"italics\">\u03b1<\/em> is not given, assume that <em data-effect=\"italics\">\u03b1<\/em> = 0.05.<\/li>\r\n \t<li><em data-effect=\"italics\">p<\/em>-value = 0.7216<\/li>\r\n \t<li>Assuming that <em data-effect=\"italics\">\u03b1<\/em> = 0.05, <em data-effect=\"italics\">\u03b1<\/em> &lt; <em data-effect=\"italics\">p<\/em>-value. The decision is do not reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em> because there is not sufficient evidence to conclude that the proportion of households that have three cell phones is not 30%.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<div id=\"fs-idm14663600\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.18<\/span><\/h3>\r\n<\/header><section>\r\n<div id=\"eip-341\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-613\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idm17000432\">Marketers believe that 92% of adults in the United States own a cell phone. A cell phone manufacturer believes that number is actually lower. 200 American adults are surveyed, of which, 174 report having cell phones. Use a 5% level of significance. State the null and alternative hypothesis, find the <em data-effect=\"italics\">p<\/em>-value, state your conclusion, and identify the Type I and Type II errors.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<p id=\"fs-idp32935184\">The next example is a poem written by a statistics student named Nicole Hart. The solution to the problem follows the poem. Notice that the hypothesis test is for a single population proportion. This means that the null and alternate hypotheses use the parameter <em data-effect=\"italics\">p<\/em>. The distribution for the test is normal. The estimated proportion $\\hat p$ is the proportion of fleas killed to the total fleas found on Fido. This is sample information. The problem gives a preconceived <em data-effect=\"italics\">\u03b1<\/em> = 0.01, for comparison, and a 95% confidence interval computation. The poem is clever and humorous, so please enjoy it!<\/p>\r\n\r\n<div id=\"element-837\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.19<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"fs-idp65427488\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"id5257658\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idm151173424\">My dog has so many fleas,<span data-type=\"newline\">\r\n<\/span>\r\nThey do not come off with ease.<span data-type=\"newline\">\r\n<\/span>\r\nAs for shampoo, I have tried many types<span data-type=\"newline\">\r\n<\/span>\r\nEven one called Bubble Hype,<span data-type=\"newline\">\r\n<\/span>\r\nWhich only killed 25% of the fleas,<span data-type=\"newline\">\r\n<\/span>\r\nUnfortunately I was not pleased.<\/p>\r\nI've used all kinds of soap,<span data-type=\"newline\">\r\n<\/span>\r\nUntil I had given up hope<span data-type=\"newline\">\r\n<\/span>\r\nUntil one day I saw<span data-type=\"newline\">\r\n<\/span>\r\nAn ad that put me in awe.\r\n\r\nA shampoo used for dogs<span data-type=\"newline\">\r\n<\/span>\r\nCalled GOOD ENOUGH to Clean a Hog<span data-type=\"newline\">\r\n<\/span>\r\nGuaranteed to kill more fleas.\r\n\r\nI gave Fido a bath<span data-type=\"newline\">\r\n<\/span>\r\nAnd after doing the math<span data-type=\"newline\">\r\n<\/span>\r\nHis number of fleas<span data-type=\"newline\">\r\n<\/span>\r\nStarted dropping by 3's!\r\n\r\nBefore his shampoo<span data-type=\"newline\">\r\n<\/span>\r\nI counted 42.<span data-type=\"newline\">\r\n<\/span>\r\nAt the end of his bath,<span data-type=\"newline\">\r\n<\/span>\r\nI redid the math<span data-type=\"newline\">\r\n<\/span>\r\nAnd the new shampoo had killed 17 fleas.<span data-type=\"newline\">\r\n<\/span>\r\nSo now I was pleased.\r\n\r\nNow it is time for you to have some fun<span data-type=\"newline\">\r\n<\/span>\r\nWith the level of significance being .01,<span data-type=\"newline\">\r\n<\/span>\r\nYou must help me figure out<span data-type=\"newline\">\r\n<\/span>\r\nUse the new shampoo or go without?\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"id5100583\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.19<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"element-167\">Set up the hypothesis test:<\/p>\r\n<p id=\"element-278\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2264 0.25 \u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> &gt; 0.25<\/p>\r\n<p id=\"element-283\">Determine the distribution needed:<\/p>\r\n<p id=\"element-784\">In words, CLEARLY state what your random variable $\\bar X$ or $\\hat P$ represents.<\/p>\r\n<p id=\"fs-idp88897968\">$\\hat P$ = The proportion of fleas that are killed by the new shampoo<\/p>\r\n<p id=\"element-12\">State the distribution to use for the test.<\/p>\r\n<p id=\"element-583\"><strong>Normal:<\/strong>$N\\left( 0.25, \\sqrt{\\frac{(0.25)(1-0.25)}{42}} \\right)$<\/p>\r\n<strong>Test Statistic:<\/strong> <em data-effect=\"italics\">z<\/em> = 2.3163\r\n<p id=\"element-428\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the normal distribution for proportions:<\/p>\r\n<p id=\"element-314\"><em data-effect=\"italics\">p<\/em>-value = 0.0103<\/p>\r\n<p id=\"element-9\">In one to two complete sentences, explain what the <em data-effect=\"italics\">p<\/em>-value means for this problem.<\/p>\r\n<p id=\"element-688\">If the null hypothesis is true (the proportion is 0.25), then there is a 0.0103 probability that the sample (estimated) proportion is $0.4048 \\left( \\frac{17}{42} \\right) $ or more.<\/p>\r\n<p id=\"element-698\">Use the previous information to sketch a picture of this situation. CLEARLY, label and scale the horizontal axis and\r\nshade the region(s) corresponding to the <em data-effect=\"italics\">p<\/em>-value.<\/p>\r\n\r\n<div id=\"hyptest11_ex6\" class=\"os-figure\">\r\n<figure data-id=\"hyptest11_ex6\"><span id=\"id4295819\" data-type=\"media\" data-alt=\"Normal distribution graph of the proportion of fleas killed by the new shampoo with values of 0.25 and 0.4048 on the x-axis. A vertical upward line extends from 0.4048 to the curve and the area to the left of this is shaded in. The test statistic of the sample proportion is listed.\"><img class=\"alignnone wp-image-542 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/920bd332036701e642423b2862eba7c6d6e89f11-300x160.jpg\" alt=\"Normal distribution graph of the proportion of fleas killed by the new shampoo with values of 0.25 and 0.4048 on the x-axis. A vertical upward line extends from 0.4048 to the curve and the area to the left of this is shaded in. The test statistic of the sample proportion is listed.\" width=\"300\" height=\"160\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.11<\/span><\/div>\r\n<\/div>\r\n<p id=\"element-372\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\r\n<p id=\"element-227\">Indicate the correct decision (\u201creject\u201d or \u201cdo not reject\u201d the null hypothesis), the reason for it, and write an appropriate conclusion, using complete sentences.<\/p>\r\n\r\n<div id=\"element-152\" class=\"os-table \">\r\n<table summary=\"Table 8.3 \" data-id=\"element-152\">\r\n<thead valign=\"middle\">\r\n<tr>\r\n<th scope=\"col\" data-align=\"center\">alpha<\/th>\r\n<th scope=\"col\" data-align=\"center\">decision<\/th>\r\n<th scope=\"col\" data-align=\"center\">reason for decision<\/th>\r\n<\/tr>\r\n<\/thead>\r\n<tbody>\r\n<tr>\r\n<td data-align=\"center\">0.01<\/td>\r\n<td data-align=\"center\">Do not reject H<sub>0<\/sub><\/td>\r\n<td data-align=\"center\"><em data-effect=\"italics\">\u03b1<\/em> &lt; <em data-effect=\"italics\">p<\/em>-value<\/td>\r\n<\/tr>\r\n<\/tbody>\r\n<\/table>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">8.3<\/span><\/div>\r\n<\/div>\r\n<p id=\"element-188\"><strong>Conclusion:<\/strong> At the 1% level of significance, the sample data do not show sufficient evidence that the percentage of fleas that are killed by the new shampoo is more than 25%.<\/p>\r\n<p id=\"element-236\">Construct a 95% confidence interval for the true mean or proportion. Include a sketch of the graph of the situation.\r\nLabel the point estimate and the lower and upper bounds of the confidence interval.<\/p>\r\n\r\n<div id=\"hyptest11_ex7\" class=\"os-figure\">\r\n<figure data-id=\"hyptest11_ex7\"><span id=\"id5244822\" data-type=\"media\" data-alt=\"Normal distribution graph of the proportion of fleas killed by the new shampoo with values of 0.26, 17\/42, and 0.55 on the x-axis. A vertical upward line extends from 0.26 and 0.55. The area between these two points is equal to 0.95.\"><img class=\"alignnone size-medium wp-image-543\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/89ad5f356acc136071f6c8a2600d927d4bde2841-300x173.jpg\" alt=\"Normal distribution graph of the proportion of fleas killed by the new shampoo with values of 0.26, 17\/42, and 0.55 on the x-axis. A vertical upward line extends from 0.26 and 0.55. The area between these two points is equal to 0.95.\" width=\"300\" height=\"173\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.12<\/span><\/div>\r\n<\/div>\r\n<p id=\"element-471\"><strong>Confidence Interval:<\/strong> (0.26,0.55) We are 95% confident that the true population proportion <em data-effect=\"italics\">p<\/em> of fleas that are killed by the new shampoo is between 26% and 55%.<\/p>\r\n\r\n<div id=\"id5328435\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\"><header>\r\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"71\" class=\"os-title-label\" data-type=\"\">Note<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"os-note-body\">\r\n<p id=\"eip-idm81920704\">This test result is not very definitive since the <em data-effect=\"italics\">p<\/em>-value is very close to alpha. In reality, one would probably do more tests by giving the dog another bath after the fleas have had a chance to return.<\/p>\r\n\r\n<\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"eip-295\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.20<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"eip-997\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-361\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idm29000496\">The National Institute of Standards and Technology provides exact data on conductivity properties of materials. Following are conductivity measurements for 11 randomly selected pieces of a particular type of glass.<\/p>\r\n<p id=\"eip-idm46067920\">1.11; 1.07; 1.11; 1.07; 1.12; 1.08; .98; .98 1.02; .95; .95\r\n<span data-type=\"newline\">\r\n<\/span>Is there convincing evidence that the average conductivity of this type of glass is greater than one? Use a significance level of 0.05. Assume the population is normal.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"eip-974\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.20<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"eip-idp69766080\">Let\u2019s follow a four-step process to answer this statistical question.<\/p>\r\n\r\n<ol id=\"eip-idp69766512\" type=\"1\">\r\n \t<li><strong>State the Question<\/strong>: We need to determine if, at a 0.05 significance level, the average conductivity of the selected glass is greater than one. Our hypotheses will be\r\n<ol id=\"eip-idp129554720\" type=\"a\">\r\n \t<li><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> \u2264 1<\/li>\r\n \t<li><em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &gt; 1<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li><strong>Plan<\/strong>: We are testing a sample mean without a known population standard deviation. Therefore, we need to use a Student's t-distribution. Assume the underlying population is normal.<\/li>\r\n \t<li><strong>Do the calculations<\/strong>: We will input the sample data into Google Sheets column A and calculate the p-value as follows:\r\n<div id=\"eip-idp122053552\" class=\"os-figure\">\r\n<figure data-id=\"eip-idp122053552\"><span id=\"eip-idp167220912\" data-type=\"media\" data-alt=\"\">\r\n<img class=\"aligncenter size-full wp-image-612\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_20a.png\" alt=\"Google sheets with the data input into column A\" width=\"678\" height=\"569\" \/>\r\n<\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.13<\/span><\/div>\r\n<div>Now that the data is in column A, we'll calculate the mean, standard deviation, sample size (n), then we can calculate the test statistic and p-value. First create labels in column B for each of these.<\/div>\r\n<\/div>\r\n<div id=\"eip-idp29927184\" class=\"os-figure\">\r\n<figure data-id=\"eip-idp29927184\"><span id=\"eip-idp29927312\" data-type=\"media\" data-alt=\"\">\r\n<img class=\"aligncenter wp-image-611 size-full\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_20b.png\" alt=\"Google Sheets with data and labels for calculations.\" width=\"617\" height=\"535\" \/>\r\n<\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.14<\/span><\/div>\r\n<div>In column C, enter the formulas to calculate each of the values.<\/div>\r\n<div>In cell C1: <code><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\" default-formula-text-color\" dir=\"auto\">AVERAGE<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">A:A<\/span><\/span>)<\/code> to calculate the mean of all the data in column A.<\/div>\r\n<div>In cell C2: <code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\" default-formula-text-color\" dir=\"auto\">STDEV.S<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">A:A<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo> <\/code>to calculate the standard deviation of all the data in column A.<\/div>\r\n<div>In cell C3: <code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\" default-formula-text-color\" dir=\"auto\">COUNT<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">A:A<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code> to count the number of data (sample size) in column A.<\/div>\r\n<div>In cell C4: <code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">C1<\/span><span class=\" default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">1<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><span class=\" default-formula-text-color\" dir=\"auto\"> \/ <\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">C2 <\/span><span class=\" default-formula-text-color\" dir=\"auto\">\/ <\/span><span class=\" default-formula-text-color\" dir=\"auto\">SQRT<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">C3<\/span><span class=\" default-formula-text-color\" dir=\"auto\">) <\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code> to calculate the test statistic $t=\\frac{\\bar x -\\mu}{s\/\\sqrt{n}}$ with $\\mu =1$<\/div>\r\n<div>In cell C5: <bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\" default-formula-text-color\" dir=\"auto\">TDIST<\/span><span class=\" default-formula-text-color\" dir=\"auto\">( ABS(<\/span><span dir=\"auto\">C4)<\/span><span class=\" default-formula-text-color\" dir=\"auto\">, <\/span><span dir=\"auto\">C3<\/span><span class=\" default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">1 <\/span><span class=\" default-formula-text-color\" dir=\"auto\">, <\/span><span class=\"number\" dir=\"auto\">1<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo> to calculate the p-value, which is the area to the right of the positive version of our test statistic (TDIST requires a positive test statistic, so we use the ABS function to force the ABSolute value of our test statistic). We also input C3-1 degrees of freedom, and finally 1 tail.<\/div>\r\n<\/div>\r\n<div id=\"eip-idp126675984\" class=\"os-figure\">\r\n<figure data-id=\"eip-idp126675984\"><span id=\"eip-idp156983600\" data-type=\"media\" data-alt=\"\">\r\n<img class=\"aligncenter size-full wp-image-610\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_20c.png\" alt=\"Google Sheets with data, and pvalue calcualtions.\" width=\"620\" height=\"532\" \/>\r\n<\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.15<\/span><\/div>\r\n<\/div><\/li>\r\n \t<li><strong>State the Conclusions<\/strong>: Since the <em data-effect=\"italics\">p<\/em>-value (<em data-effect=\"italics\">p<\/em> = 0.036) is less than our alpha value (0.05), we will reject the null hypothesis. It is reasonable to state that the data supports the claim that the average conductivity level is greater than one.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"eip-767\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.21<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"eip-178\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-474\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idp173526416\">In a study of 420,019 cell phone users, 172 of the subjects developed brain cancer. Test the claim that cell phone users developed brain cancer at a greater rate than that for non-cell phone users (the rate of brain cancer for non-cell phone users is 0.0340%). Since this is a critical issue, use a 0.005 significance level. Explain why the significance level should be so low in terms of a Type I error.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"eip-749\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.21<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"eip-idp3953440\">We will follow the four-step process.<\/p>\r\n\r\n<ol id=\"eip-idp191218624\" type=\"1\">\r\n \t<li>We need to conduct a hypothesis test on the claimed cancer rate. Our hypotheses will be\r\n<ol id=\"eip-idp171226608\" type=\"a\">\r\n \t<li><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2264 0.00034<\/li>\r\n \t<li><em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> &gt; 0.00034<\/li>\r\n<\/ol>\r\n<p id=\"eip-idm39752176\" class=\"finger\">If we commit a Type I error, we are essentially accepting a false claim. Since the claim describes cancer-causing environments, we want to minimize the chances of incorrectly identifying causes of cancer.<\/p>\r\n<\/li>\r\n \t<li>We will be testing a sample proportion with <em data-effect=\"italics\">x<\/em> = 172 and <em data-effect=\"italics\">n<\/em> = 420,019. The sample is sufficiently large because we have <em data-effect=\"italics\">np<\/em> = 420,019(0.00034) = 142.8, <em data-effect=\"italics\">nq<\/em> = 420,019(0.99966) = 419,876.2, two independent outcomes, and a fixed probability of success <em data-effect=\"italics\">p<\/em> = 0.00034. Thus we will be able to generalize our results to the population.<\/li>\r\n \t<li>The associated Google Sheets results are<img class=\"aligncenter size-full wp-image-613\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_21.png\" alt=\"Google Sheets calculating p-hat as 0.0004095052843, the test statistic as 2.443355592 and the p-value as 0.007275695899\" width=\"423\" height=\"174\" \/>\r\nFor the $\\hat p$ (p-hat) calculation, use\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"number\" dir=\"auto\">172<\/span><span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"number\" dir=\"auto\">420019<\/span><\/span><\/bdo><\/code>For the test statistic calculation, use\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">B1<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">-<\/span> <span class=\"number\" dir=\"auto\">0.00034<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">SQRT<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">0.00034<\/span><span class=\" default-formula-text-color\" dir=\"auto\">*<\/span><span class=\"number\" dir=\"auto\">0.99966<\/span><span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"number\" dir=\"auto\">420019<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code>For the p-value, use\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"number\" dir=\"auto\">1<\/span><span class=\" default-formula-text-color\" dir=\"auto\">-<\/span><span class=\" default-formula-text-color\" dir=\"auto\">NORM.S.DIST<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">B2<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code>\r\nWe subtract from 1 since this is a right tail test.\r\n<span data-type=\"newline\">\r\n<\/span>\r\n<div id=\"fs-idm80776672\" class=\"os-figure\"><\/div><\/li>\r\n \t<li>Since the <em data-effect=\"italics\">p<\/em>-value = 0.0073 is greater than our alpha value = 0.005, we cannot reject the null. Therefore, we conclude that there is not enough evidence to support the claim of higher brain cancer rates for the cell phone users.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>\r\n<div id=\"eip-829\" class=\"ui-has-child-title\" data-type=\"example\"><header>\r\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.22<\/span><\/h3>\r\n<\/header><section>\r\n<div class=\"body\">\r\n<div id=\"eip-267\" class=\" unnumbered\" data-type=\"exercise\"><header><\/header><section>\r\n<div id=\"eip-478\" data-type=\"problem\">\r\n<div class=\"os-problem-container \">\r\n<p id=\"eip-idp47042256\">According to the US Census there are approximately 268,608,618 residents aged 12 and older. Statistics from the Rape, Abuse, and Incest National Network indicate that, on average, 207,754 rapes occur each year (male and female) for persons aged 12 and older. This translates into a percentage of sexual assaults of 0.078%. In Daviess County, KY, there were reported 11 rapes for a population of 37,937. Conduct an appropriate hypothesis test to determine if there is a statistically significant difference between the local sexual assault percentage and the national sexual assault percentage. Use a significance level of 0.01.<\/p>\r\n\r\n<\/div>\r\n<\/div>\r\n<div id=\"eip-659\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\r\n<div class=\"ui-toggle-wrapper\"><\/div>\r\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\r\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.22<\/span><\/h4>\r\n<div class=\"os-solution-container\">\r\n<p id=\"eip-910\">We will follow the four-step plan.<\/p>\r\n\r\n<ol id=\"eip-idp113522624\" type=\"1\">\r\n \t<li>We need to test whether the proportion of sexual assaults in Daviess County, KY is significantly different from the national average.<\/li>\r\n \t<li>Since we are presented with proportions, we will use a one-proportion <em data-effect=\"italics\">z<\/em>-test. The hypotheses for the test will be\r\n<ol id=\"eip-idp17854992\" type=\"a\">\r\n \t<li><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.00078<\/li>\r\n \t<li><em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 0.00078<\/li>\r\n<\/ol>\r\n<\/li>\r\n \t<li>The following screen shots display the summary statistics from the hypothesis test.\r\n<div id=\"fs-idm3544720\" class=\"os-figure\">\r\n<figure data-id=\"fs-idm3544720\"><span id=\"eip-idp26791072\" data-type=\"media\" data-alt=\"\">\r\n<img class=\"aligncenter size-full wp-image-615\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_22.png\" alt=\"Google Sheets calculating p-hat as 0.0002899543981, the test statistic as -3.41892936 and the p-value as 0.0006286804529\" width=\"420\" height=\"176\" \/><\/span><\/figure>\r\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.19<\/span><\/div>\r\n<div><\/div>\r\n<\/div>\r\nFor the $\\hat p$ (p-hat) calculation, use\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"number\" dir=\"auto\"><bdo dir=\"ltr\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span>11<span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span>37937<\/bdo><\/span><\/span><\/bdo><\/code>\r\n\r\nFor the test statistic calculation, use\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\" default-formula-text-color\" dir=\"auto\"><bdo dir=\"ltr\">(<span dir=\"auto\">B1<\/span> <span class=\" default-formula-text-color\" dir=\"auto\">-<\/span> <span class=\"number\" dir=\"auto\">0.00078<\/span>) <span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span> SQRT(<span class=\"number\" dir=\"auto\">0.00078<\/span><span class=\" default-formula-text-color\" dir=\"auto\">*<\/span><span class=\"number\" dir=\"auto\">0.99922<\/span><span class=\" default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"number\" dir=\"auto\">37937<\/span>)<\/bdo><\/span><\/span><\/bdo><\/code>For the p-value, use\r\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\" default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"number\" dir=\"auto\">2*<\/span><span class=\" default-formula-text-color\" dir=\"auto\">NORM.S.DIST<\/span><span class=\" default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">B2<\/span><span class=\" default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code>\r\nWe multiply by 2 since this is a 2-tail test.<\/li>\r\n \t<li>Since the <em data-effect=\"italics\">p<\/em>-value, <em data-effect=\"italics\">p<\/em> = 0.00063, is less than the alpha level of 0.01, the sample data indicates that we should reject the null hypothesis. In conclusion, the sample data support the claim that the proportion of sexual assaults in Daviess County, Kentucky is different from the national average proportion.<\/li>\r\n<\/ol>\r\n<\/div>\r\n<\/section><\/div>\r\n<\/section><\/div>\r\n<\/div>\r\n<\/section><\/div>","rendered":"<p><span style=\"display: none;\"><br \/>\n[latexpage]<br \/>\n<\/span><\/p>\n<div id=\"7a92954b-4c2d-4dad-ac01-9380e513f281\" class=\"chapter-content-module\" data-type=\"page\" data-cnxml-to-html-ver=\"2.1.0\">\n<ul id=\"element-162\">\n<li>In a <span id=\"term190\" data-type=\"term\">hypothesis test<\/span> problem, you may see words such as &#8220;the level of significance is 1%.&#8221; The &#8220;1%&#8221; is the preconceived or preset <em data-effect=\"italics\">\u03b1<\/em>.<\/li>\n<li>The statistician setting up the hypothesis test selects the value of <em data-effect=\"italics\">\u03b1<\/em> to use <strong>before<\/strong> collecting the sample data.<\/li>\n<li><strong>If no level of significance is given, a common standard to use is <em data-effect=\"italics\">\u03b1<\/em> = 0.05.<\/strong><\/li>\n<li>When you calculate the <em data-effect=\"italics\">p<\/em>-value and draw the picture, the <em data-effect=\"italics\">p<\/em>-value is the area in the left tail, the right tail, or split evenly between the two tails. For this reason, we call the hypothesis test left, right, or two tailed.<\/li>\n<li>The <strong>alternative hypothesis<\/strong>, H<sub>1<\/sub>, tells you if the test is left, right, or two-tailed. It is the <strong>key<\/strong> to conducting the appropriate test.<\/li>\n<li><em data-effect=\"italics\">H<sub>1<\/sub><\/em> <strong>never<\/strong> has a symbol that contains an equal sign.<\/li>\n<li><strong>Thinking about the meaning of the<\/strong> <span id=\"term191\" data-type=\"term\"><em data-effect=\"italics\">p<\/em>-value<\/span>: A data analyst (and anyone else) should have more confidence that he made the correct decision to reject the null hypothesis with a smaller <em data-effect=\"italics\">p<\/em>-value (for example, 0.001 as opposed to 0.04) even if using the 0.05 level for alpha. Similarly, for a large <em data-effect=\"italics\">p<\/em>-value such as 0.4, as opposed to a <em data-effect=\"italics\">p<\/em>-value of 0.056 (alpha = 0.05 is less than either number), a data analyst should have more confidence that she made the correct decision in not rejecting the null hypothesis. This makes the data analyst use judgment rather than mindlessly applying rules.<\/li>\n<\/ul>\n<p id=\"fs-idp42898080\">The following examples illustrate a left-, right-, and two-tailed test.<\/p>\n<div id=\"fs-idp41487520\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.11<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"fs-idp41487648\"><em data-effect=\"italics\">H<sub>o<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 5, <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &lt; 5<\/p>\n<p id=\"element-343\">Test of a single population mean. <em data-effect=\"italics\">H<sub>1<\/sub><\/em> tells you the test is left-tailed. The picture of the <em data-effect=\"italics\">p<\/em>-value is as follows:<\/p>\n<div id=\"fs-idm151356816\" class=\"os-figure\">\n<figure data-id=\"fs-idm151356816\"><span id=\"id14703034\" data-type=\"media\" data-alt=\"Normal distribution curve of a single population mean with a value of 5 on the x-axis and the p-value points to the area on the left tail of the curve.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-535 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/9009ac0fc178917a2a44a08ad0a540a2037950d9-300x135.jpg\" alt=\"Normal distribution curve of a single population mean with a value of 5 on the x-axis and the p-value points to the area on the left tail of the curve.&quot;\" width=\"300\" height=\"135\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/9009ac0fc178917a2a44a08ad0a540a2037950d9-300x135.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/9009ac0fc178917a2a44a08ad0a540a2037950d9-65x29.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/9009ac0fc178917a2a44a08ad0a540a2037950d9-225x101.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/9009ac0fc178917a2a44a08ad0a540a2037950d9-350x157.jpg 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/9009ac0fc178917a2a44a08ad0a540a2037950d9.jpg 487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.3<\/span><\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp42408528\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.11<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idp67352928\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-428\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idm132446832\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 10, <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &lt; 10<\/p>\n<p id=\"eip-idp3861728\">Assume the <em data-effect=\"italics\">p<\/em>-value is 0.0935. What type of test is this? Draw the picture of the <em data-effect=\"italics\">p<\/em>-value.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-417\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.12<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"element-38\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.2\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> &gt; 0.2<\/p>\n<p id=\"fs-idp117549824\">This is a test of a single population proportion. <em data-effect=\"italics\">H<sub>1<\/sub><\/em> tells you the test is <strong>right-tailed<\/strong>. The picture of the <em data-effect=\"italics\">p<\/em>-value is as follows:<\/p>\n<div id=\"fs-idm2304848\" class=\"os-figure\">\n<figure data-id=\"fs-idm2304848\"><span id=\"id14703170\" data-type=\"media\" data-alt=\"Normal distribution curve of a single population proportion with the value of 0.2 on the x-axis. The p-value points to the area on the right tail of the curve.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-536 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/1760e78f2b4702649533e8ed193a325ed409c34e-300x135.jpg\" alt=\"Normal distribution curve of a single population proportion with the value of 0.2 on the x-axis. The p-value points to the area on the right tail of the curve.\" width=\"300\" height=\"135\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/1760e78f2b4702649533e8ed193a325ed409c34e-300x135.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/1760e78f2b4702649533e8ed193a325ed409c34e-65x29.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/1760e78f2b4702649533e8ed193a325ed409c34e-225x101.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/1760e78f2b4702649533e8ed193a325ed409c34e-350x157.jpg 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/1760e78f2b4702649533e8ed193a325ed409c34e.jpg 487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.4<\/span><\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm126098448\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.12<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-417\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idp131553552\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idm89526848\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 1, <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &gt; 1<\/p>\n<p id=\"eip-idm24425280\">Assume the <em data-effect=\"italics\">p<\/em>-value is 0.1243. What type of test is this? Draw the picture of the <em data-effect=\"italics\">p<\/em>-value.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-768\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.13<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<p id=\"element-38a\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 50\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 50<\/p>\n<p id=\"element-257\">This is a test of a single population mean. <em data-effect=\"italics\">H<sub>1<\/sub><\/em> tells you the test is <strong>two-tailed<\/strong>. The picture of the <em data-effect=\"italics\">p<\/em>-value is as follows.<\/p>\n<div id=\"fs-idm117972816\" class=\"os-figure\">\n<figure data-id=\"fs-idm117972816\"><span id=\"id4829633\" data-type=\"media\" data-alt=\"Normal distribution curve of a single population mean with a value of 50 on the x-axis. The p-value formulas, 1\/2(p-value), for a two-tailed test is shown for the areas on the left and right tails of the curve.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-537 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/fad6ae155d242729cc8484d4a4367c4a9f2f875a-300x135.jpg\" alt=\"Normal distribution curve of a single population mean with a value of 50 on the x-axis. The p-value formulas, 1\/2(p-value), for a two-tailed test is shown for the areas on the left and right tails of the curve.\" width=\"300\" height=\"135\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/fad6ae155d242729cc8484d4a4367c4a9f2f875a-300x135.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/fad6ae155d242729cc8484d4a4367c4a9f2f875a-65x29.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/fad6ae155d242729cc8484d4a4367c4a9f2f875a-225x101.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/fad6ae155d242729cc8484d4a4367c4a9f2f875a-350x157.jpg 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/fad6ae155d242729cc8484d4a4367c4a9f2f875a.jpg 487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.5<\/span><\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm63250432\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.13<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-335\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-726\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idp41687312\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.5, <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 0.5<\/p>\n<p id=\"eip-idm5668432\">Assume the <em data-effect=\"italics\">p<\/em>-value is 0.2564. What type of test is this? Draw the picture of the <em data-effect=\"italics\">p<\/em>-value.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<section id=\"fs-idm12892576\" data-depth=\"1\">\n<h3 data-type=\"title\">Full Hypothesis Test Examples<\/h3>\n<div id=\"element-396\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.14<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"element-291\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id5300933\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-402\">Jeffrey, as an eight-year old, was bragging to his friends that his average time to swim the 25-yard freestyle is less than 16.43 seconds. His friends timed his next <strong>15 25-yard freestyle swims<\/strong>. For the 15 swims, <strong>Jeffrey&#8217;s mean time was 16 seconds <\/strong>and his<strong> standard deviation was 0.8 seconds. <\/strong> Can Jeffery really claim that his average swim time is less than 16.43 seconds? Conduct a hypothesis test using a preset <em data-effect=\"italics\">\u03b1<\/em> = 0.05. Assume that the swim times for the 25-yard freestyle are normal.<\/p>\n<\/div>\n<\/div>\n<div id=\"id5036614\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.14<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-807\">Set up the Hypothesis Test:<\/p>\n<p id=\"element-564\">Since the problem is about a mean, this is a <strong>test of a single population mean<\/strong>.<\/p>\n<p id=\"element-895\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 16.43\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &lt; 16.43<\/p>\n<p id=\"element-241\">For Jeffrey to swim faster, his time will be less than 16.43 seconds. The &#8220;&lt;&#8221; tells you this is left-tailed.<\/p>\n<p id=\"element-496\">Determine the distribution needed:<\/p>\n<p><strong>Random variable:<\/strong> $\\bar X$ = the mean time to swim the 25-yard freestyle.<\/p>\n<p><strong> Distribution for the test:<\/strong><span class=\"os-math-in-para\"> $\\bar X$ <\/span>is student-t (population <span id=\"term192\" data-type=\"term\">standard deviation<\/span> is unknown; only the sample standard deviation is known)<\/p>\n<p>$\\bar X \\sim t_{df}\\left( \\mu \\frac{\\sigma_{X}}{\\sqrt{n}} \\right)$ Therefore, $\\bar X \\sim t_{14}\\left(16.43 \\frac{0.8}{\\sqrt{15}} \\right)$<\/p>\n<p><em data-effect=\"italics\">\u03bc<\/em> = 16.43 comes from <em data-effect=\"italics\">H<sub>0<\/sub><\/em> and not the data. <em data-effect=\"italics\">\u03c3<\/em> = 0.8, and <em data-effect=\"italics\">n<\/em> = 15 so <em>df<\/em> = <em>n<\/em>-1 = 14.<\/p>\n<p id=\"element-770\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the <em>t<\/em> distribution for a mean:<\/p>\n<p id=\"element-706\"><em data-effect=\"italics\">p<\/em>-value = $P(\\bar x &lt; 16) = 0.0281$ where the sample mean in the problem is given as 16. (See below for how to calculate this using Google Sheets).<\/p>\n<p id=\"element-656\"><em data-effect=\"italics\">p<\/em>-value = 0.0281 (This is called the <strong>actual level of significance<\/strong>.) The <em data-effect=\"italics\">p<\/em>-value is the area to the left of the sample mean is given as 16.<\/p>\n<p id=\"element-320\"><strong>Graph:<\/strong><\/p>\n<div id=\"hyptest11_ex1\" class=\"os-figure\">\n<figure data-id=\"hyptest11_ex1\"><span id=\"id4282005\" data-type=\"media\" data-alt=\"Normal distribution curve for the average time to swim the 25-yard freestyle with values 16, as the sample mean, and 16.43 on the x-axis. A vertical upward line extends from 16 on the x-axis to the curve. An arrow points to the left tail of the curve.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-538 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/5821bbdbabe60f1558b57b3fd1afbbd5136fb49a-300x135.jpg\" alt=\"Normal distribution curve for the average time to swim the 25-yard freestyle with values 16, as the sample mean, and 16.43 on the x-axis. A vertical upward line extends from 16 on the x-axis to the curve. An arrow points to the left tail of the curve.\" width=\"300\" height=\"135\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/5821bbdbabe60f1558b57b3fd1afbbd5136fb49a-300x135.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/5821bbdbabe60f1558b57b3fd1afbbd5136fb49a-65x29.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/5821bbdbabe60f1558b57b3fd1afbbd5136fb49a-225x101.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/5821bbdbabe60f1558b57b3fd1afbbd5136fb49a-350x157.jpg 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/5821bbdbabe60f1558b57b3fd1afbbd5136fb49a.jpg 487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.6<\/span><\/div>\n<\/div>\n<p id=\"element-172\"><em data-effect=\"italics\">\u03bc<\/em> = 16.43 comes from <em data-effect=\"italics\">H<sub>0<\/sub><\/em>. Our assumption is <em data-effect=\"italics\">\u03bc<\/em> = 16.43.<\/p>\n<p id=\"element-751\"><strong>Interpretation of the <em data-effect=\"italics\">p<\/em>-value: If <em data-effect=\"italics\">H<sub>0<\/sub><\/em> is true<\/strong>, there is a 0.0281 probability (2.81%)that Jeffrey&#8217;s mean time to swim the 25-yard freestyle is 16 seconds or less. Because a 1.87% chance is small, the mean time of 16 seconds or less is unlikely to have happened randomly. It would be a rare event (if H<sub>0<\/sub> is true)<\/p>\n<p id=\"element-748\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\n<p id=\"element-890\"><em data-effect=\"italics\">\u03b1<\/em> = 0.05 and <em data-effect=\"italics\">p<\/em>-value = 0.0281, so <em data-effect=\"italics\">\u03b1<\/em> &gt; <em data-effect=\"italics\">p<\/em>-value<\/p>\n<p id=\"element-543\"><strong>Make a decision:<\/strong> Since <em data-effect=\"italics\">\u03b1<\/em> &gt; <em data-effect=\"italics\">p<\/em>-value, reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>.<\/p>\n<p><!-- CONTINUE HERE --><\/p>\n<p id=\"element-826\">This means that you reject <em data-effect=\"italics\">\u03bc<\/em> = 16.43. In other words, you do not think Jeffrey swims the<br \/>\n25-yard freestyle in 16.43 seconds, but you do think he swims faster than 16.43 seconds.<\/p>\n<p id=\"element-942\"><strong>Conclusion:<\/strong> At the 5% significance level, we conclude that Jeffrey swims faster than 16.43 seconds. The sample data show there is sufficient evidence that Jeffrey&#8217;s mean time to swim the 25-yard freestyle is less than 16.43 seconds.<\/p>\n<p id=\"element-252\">The <em data-effect=\"italics\">p<\/em>-value can easily be calculated.<\/p>\n<div id=\"fs-idm31641280\" class=\"textbox statistics spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">Using Google Sheets<br \/>\n<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"element-362\">In a cell, type<\/p>\n<p><code><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\"><bdo dir=\"ltr\">=TDIST( ABS( (<span class=\"number\" dir=\"auto\">16<\/span><span class=\"default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">16.43<\/span>) <span class=\"default-formula-text-color\" dir=\"auto\">\/ <\/span>(<span class=\"number\" dir=\"auto\">0.8<\/span><span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span>SQRT(<span class=\"number\" dir=\"auto\">15<\/span>) ) ), <span class=\"number\" dir=\"auto\">14<\/span>, <span class=\"number\" dir=\"auto\">1<\/span>)<\/bdo><\/span><\/span><\/code><\/p>\n<p>The first value of the TDIST function is the positive version of the test statistic (TDIST requires a positive test statistic) calculated as $\\frac{16-16.43}{0.8\/\\sqrt{15}}$ and wrapped in the ABS function (short for absolute value) to force it positive.<\/p>\n<p>The second value given to the TDIST function is the degrees of freedom.<\/p>\n<p>The third value given to the TDIST function is whether this is a 1-tail or 2-tail test.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"element-822\">The Type I and Type II errors for this problem are as follows:<\/p>\n<p id=\"element-385\">The Type I error is to conclude that Jeffrey swims the 25-yard freestyle, on average, in less than 16.43 seconds when, in fact, he actually swims the 25-yard freestyle, on<br \/>\naverage, in 16.43 seconds. (Reject the null hypothesis when the null hypothesis is true.)<\/p>\n<p id=\"element-615\">The Type II error is that there is not evidence to conclude that Jeffrey swims the 25-yard free-style, on average, in less than 16.43 seconds when, in fact, he actually does swim the 25-yard free-style, on average, in less than 16.43 seconds. (Do not reject the null hypothesis when the null hypothesis is false.)<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm112426112\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.14<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"fs-idp78508304\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"fs-idp117367632\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-235\">The mean throwing distance of a football for Marco, a high school freshman quarterback, is 40 yards. The team coach tells Marco to adjust his grip to get more distance. The coach records the distances for 20 throws. For the 20 throws, Marco\u2019s mean distance was 45 yards with a standard deviation of two yards. The coach thought the different grip helped Marco throw farther than 40 yards. Conduct a hypothesis test using a preset <em data-effect=\"italics\">\u03b1<\/em> = 0.05. Assume the throw distances for footballs are normal.<\/p>\n<p id=\"eip-idp30205504\">First, determine what type of test this is, set up the hypothesis test, find the <em data-effect=\"italics\">p<\/em>-value, sketch the graph, and state your conclusion.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<div id=\"eip-406\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"23\" class=\"os-title-label\" data-type=\"\">Historical Note (<a class=\"autogenerated-content\" href=\"#fs-idp41487520\">Example 8.11<\/a>)<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"eip-idp233123200\">The traditional way to compare the two probabilities, <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value, is to compare the critical value (<em data-effect=\"italics\">z<\/em>-score from <em data-effect=\"italics\">\u03b1<\/em>) to the test statistic (<em data-effect=\"italics\">z<\/em>-score from data). The calculated test statistic for the <em data-effect=\"italics\">p<\/em>-value is \u20132.08. (From the Central Limit Theorem, the test statistic formula is $z=\\frac{\\bar x -\\mu_{X}}{\\left(\\frac{s_{X}}{\\sqrt{n}}\\right)}$<\/p>\n<p>For this problem, $\\bar x = 16$, <em data-effect=\"italics\">\u03bc<sub>X<\/sub><\/em> = 16.43 from the null hypothes is, <em data-effect=\"italics\">s<sub>X<\/sub><\/em> = 0.8, and <em data-effect=\"italics\">n<\/em> = 15.) You can find the critical value for <em data-effect=\"italics\">\u03b1<\/em> = 0.05 in the <a href=\"\/wp-content\/uploads\/sites\/2\/2020\/10\/tDistribution.pdf\">student-<em>t<\/em> table<\/a>. The <em data-effect=\"italics\">t<\/em>-score for an area to the left equal to 0.05 and degrees of freedom 14 is -1.761. Since \u20131.761 &gt; \u20132.08 (which demonstrates that \u03b1 &gt; <em data-effect=\"italics\">p<\/em>-value), reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>. Traditionally, the decision<br \/>\nto reject or not reject was done in this way. Today, comparing the two probabilities <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value is very common. For this problem, the <em data-effect=\"italics\">p<\/em>-value, 0.0281 is considerably smaller than <em data-effect=\"italics\">\u03b1<\/em>, 0.05. You can be confident about your decision to reject. The graph shows <em data-effect=\"italics\">\u03b1<\/em>, the <em data-effect=\"italics\">p<\/em>-value, and the test statistic and the critical value.<\/p>\n<div id=\"eip-idm47467424\" class=\"os-figure\">\n<figure data-id=\"eip-idm47467424\"><span id=\"eip-idp126239824\" data-type=\"media\" data-alt=\"Distribution curve comparing the \u03b1 to the p-value. Values of -2.15 and -1.645 are on the x-axis. Vertical upward lines extend from both of these values to the curve. The p-value is equal to 0.0158 and points to the area to the left of -2.15. \u03b1 is equal to 0.05 and points to the area between the values of -2.15 and -1.645.\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-539 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/154ba94e88fa0aa70921f8530b5942c60111b128-300x122.png\" alt=\"Distribution curve comparing the \u03b1 to the p-value. Values of -2.15 and -1.645 are on the x-axis. Vertical upward lines extend from both of these values to the curve. The p-value is equal to 0.0158 and points to the area to the left of -2.15. \u03b1 is equal to 0.05 and points to the area between the values of -2.15 and -1.645.\" width=\"300\" height=\"122\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/154ba94e88fa0aa70921f8530b5942c60111b128-300x122.png 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/154ba94e88fa0aa70921f8530b5942c60111b128-65x26.png 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/154ba94e88fa0aa70921f8530b5942c60111b128-225x91.png 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/154ba94e88fa0aa70921f8530b5942c60111b128-350x142.png 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/154ba94e88fa0aa70921f8530b5942c60111b128.png 488w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><br \/>\n<\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.7<\/span><\/div>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-213\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.15<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"element-948\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id5291254\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-19\">A college football coach claims mean weight that his players can bench press is <strong>more than<\/strong> <strong>275 pounds<\/strong>. His players wanted to test that claim. They asked <strong>30<\/strong> of their teammates for their estimated maximum lift on the bench<br \/>\npress exercise. The data ranged from 205 pounds to 385 pounds. The actual reported weights are listed in the table below:<\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:205}\">205<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:225}\">225<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:265}\">265<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:341}\">341<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:205}\">205<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:241}\">241<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:275}\">275<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:345}\">345<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:205}\">205<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:241}\">241<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:275}\">275<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:345}\">345<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:215}\">215<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:252}\">252<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:313}\">313<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:368}\">368<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:215}\">215<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:252}\">252<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:313}\">313<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:338}\">338<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:368}\">368<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 20.1774%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:215}\">215<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:265}\">265<\/td>\n<td style=\"width: 19.7339%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:316}\">316<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:338}\">338<\/td>\n<td style=\"width: 19.9557%;\" data-sheets-value=\"{&quot;1&quot;:3,&quot;3&quot;:385}\">385<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">8.15<\/span><\/div>\n<p id=\"element-507\">Conduct a hypothesis test using a 2.5% level of significance to determine if the bench press mean is <strong>more than 275 pounds<\/strong>.<\/p>\n<\/div>\n<\/div>\n<div id=\"id5342777\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.15<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-932\">Set up the Hypothesis Test:<\/p>\n<p id=\"element-613\">Since the problem is about a mean weight, this is a <strong>test of a single population mean<\/strong>.<\/p>\n<p id=\"element-614\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 275<span data-type=\"newline\"><br \/>\n<\/span><em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &gt; 275<span data-type=\"newline\"><br \/>\n<\/span>This is a right-tailed test.<\/p>\n<p id=\"element-839\">Calculating the distribution needed:<\/p>\n<p id=\"element-975\">Random variable: $\\bar X$= the mean weight, in pounds, lifted by the football players.<\/p>\n<p id=\"element-154\"><strong>Distribution for the test:<\/strong> It is a <em>t<\/em> distribution with 29 degrees of freedom (the sample size is 30)<\/p>\n<p>$\\bar X \\sim t_{29}\\left( 275, \\frac{55}{\\sqrt{30}} \\right)$<\/p>\n<p>$\\bar x = 286.2$ pounds (from the data).<\/p>\n<p id=\"element-864\">The sample&#8217;s standard deviation is <em data-effect=\"italics\">s<\/em> = 55.898 pounds (Use a spreadsheet to calculate this after importing the weight data)<strong>.<\/strong> We assume <em data-effect=\"italics\">\u03bc<\/em> = 275 pounds unless our data shows us otherwise.<\/p>\n<p id=\"element-212\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the <em>t<\/em> distribution with <em>df<\/em>=29 for a mean and using the sample mean $\\bar x = 286.17$ as input<span id=\"MathJax-Element-14-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mtext&gt;-value&lt;\/mtext&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mi&gt;P&lt;\/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;\/mo&gt;&lt;mover accent=&quot;true&quot;&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mo&gt;&amp;#xAF;&lt;\/mo&gt;&lt;\/mover&gt;&lt;mo&gt;&amp;gt;&lt;\/mo&gt;&lt;mn&gt;286.2&lt;\/mn&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;\/mo&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mn&gt;0.1323&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mrow&gt;&lt;mi&gt;p&lt;\/mi&gt;&lt;mtext&gt;-value&lt;\/mtext&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mi&gt;P&lt;\/mi&gt;&lt;mo stretchy=&quot;false&quot;&gt;(&lt;\/mo&gt;&lt;mover accent=&quot;true&quot;&gt;&lt;mi&gt;x&lt;\/mi&gt;&lt;mo&gt;\u00af&lt;\/mo&gt;&lt;\/mover&gt;&lt;mo&gt;&amp;gt;&lt;\/mo&gt;&lt;mn&gt;286.2&lt;\/mn&gt;&lt;mo stretchy=&quot;false&quot;&gt;)&lt;\/mo&gt;&lt;mo&gt;=&lt;\/mo&gt;&lt;mn&gt;0.1323&lt;\/mn&gt;&lt;\/mrow&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\">.<\/span><\/p>\n<p>The test statistic is $t=\\frac{\\bar x -\\mu}{s\/\\sqrt{n}}=\\frac{286.17-275}{55.898\/\\sqrt{30}} = 1.095$<\/p>\n<p>p-value= $P(\\bar x &gt; 286.17) = P(t&gt;1.095) = 0.1413$<\/p>\n<p><strong>Interpretation of the <em data-effect=\"italics\">p<\/em>-value:<\/strong> If <em data-effect=\"italics\">H<sub>0<\/sub><\/em> is true, then there is a 0.1413 probability (14.13%) that the football players can lift a mean weight of 286.17 pounds or more. Because a 14.13% chance is large enough, a mean weight lift of 286.17 pounds or more is not a rare event.<\/p>\n<p id=\"element-804\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\n<p id=\"element-591\"><em data-effect=\"italics\">\u03b1<\/em> = 0.025 <em data-effect=\"italics\">p<\/em>-value = 0.1413<\/p>\n<p id=\"element-849\"><strong>Make a decision:<\/strong> Since <em data-effect=\"italics\">\u03b1<\/em> &lt;<em data-effect=\"italics\">p<\/em>-value, do not reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>.<\/p>\n<p id=\"element-898\"><strong>Conclusion:<\/strong> At the 2.5% level of significance, from the sample data, there is not sufficient evidence to conclude that the true mean weight lifted is more than 275 pounds.<\/p>\n<p id=\"element-625\">The <em data-effect=\"italics\">p<\/em>-value can easily be calculated.<\/p>\n<div id=\"fs-idm79549936\" class=\"textbox statistics spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">Using Google Sheets<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"element-233\">In a cell, type<\/p>\n<p><code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"default-formula-text-color\" dir=\"auto\">TDIST<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span> ABS( <span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">286.17<\/span><span class=\"default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">275<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">55.898<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">SQRT<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">30<\/span><span class=\"default-formula-text-color\" dir=\"auto\">) )<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><span class=\"default-formula-text-color\" dir=\"auto\">,<\/span> <span class=\"number\" dir=\"auto\">29<\/span><span class=\"default-formula-text-color\" dir=\"auto\">,<\/span> <span class=\"number\" dir=\"auto\">1<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code><\/p>\n<p>The first value give to the TDIST function is the positive version of our test statistic; the ABS function is unnecessary here because our test statistic is positive, but it is a good habit since the TDIST function will give an error if a negative test statistic is given.<\/p>\n<p>The second value is the degrees of freedom, and the third value is the number of tails.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<p>&nbsp;<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-207\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.16<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"element-1\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id4319892\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p>Statistics students believe that the mean score on the first statistics test is 65. A statistics instructor thinks the mean score is higher than 65. He samples ten statistics students and obtains the scores <span id=\"set-2\" data-type=\"list\" data-list-type=\"labeled-item\" data-display=\"inline\"><br \/>\n<\/span><\/p>\n<table style=\"border-collapse: collapse; width: 100%;\">\n<tbody>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;65&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">65<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;65&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">65<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;70&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">70<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;67&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">67<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;66&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">66<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;63&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">63<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;63&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">63<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;68&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">68<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;72&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">72<\/td>\n<\/tr>\n<tr>\n<td style=\"width: 99.5565%;\" data-sheets-value=\"{&quot;1&quot;:2,&quot;2&quot;:&quot;71&quot;}\" data-sheets-formula=\"=left(R[0]C[-1],2)\">71<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>He performs a hypothesis test using a 5% level of significance. The data are assumed to be from a normal distribution.<\/p>\n<\/div>\n<\/div>\n<div id=\"id5147242\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.16<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-594\">Set up the hypothesis test:<\/p>\n<p id=\"element-810\">A 5% level of significance means that <em data-effect=\"italics\">\u03b1<\/em> = 0.05. This is a test of a <strong>single population mean<\/strong>.<\/p>\n<p id=\"element-880\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> = 65\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &gt; 65<\/p>\n<p id=\"element-936\">Since the instructor thinks the average score is higher, use a &#8220;&gt;&#8221;. The &#8220;&gt;&#8221; means the test is right-tailed.<\/p>\n<p id=\"fs-idp165624976\">Determine the distribution needed:<\/p>\n<p id=\"element-40\"><strong>Random variable:<\/strong> <span class=\"os-math-in-para\"><span id=\"MathJax-Element-15-Frame\" class=\"MathJax\" style=\"position: relative;\" tabindex=\"0\" role=\"presentation\" data-mathml=\"&lt;\/p&gt; &lt;math xmlns=&quot;http:\/\/www.w3.org\/1998\/Math\/MathML&quot; display=&quot;inline&quot;&gt;&lt;semantics&gt;&lt;mrow&gt;&lt;mover accent=&quot;true&quot;&gt;&lt;mi&gt;X&lt;\/mi&gt;&lt;mo&gt;&amp;#xAF;&lt;\/mo&gt;&lt;\/mover&gt;&lt;\/mrow&gt;&lt;annotation-xml encoding=&quot;MathML-Content&quot;&gt;&lt;mover accent=&quot;true&quot;&gt;&lt;mi&gt;X&lt;\/mi&gt;&lt;mo&gt;\u00af&lt;\/mo&gt;&lt;\/mover&gt;&lt;\/annotation-xml&gt;&lt;\/semantics&gt;&lt;\/math&gt; &lt;p&gt;\"><span id=\"MathJax-Span-210\" class=\"math\" style=\"width: 1.153em; display: inline-block;\"><span style=\"display: inline-block; position: relative; width: 0.969em; font-size: 118%;\"><span style=\"position: absolute; clip: rect(1.299em, 1000.97em, 2.542em, -1000em); top: -2.361em; left: 0em;\"><span id=\"MathJax-Span-211\" class=\"mrow\"><span id=\"MathJax-Span-212\" class=\"semantics\"><span id=\"MathJax-Span-213\" class=\"mrow\"><span id=\"MathJax-Span-214\" class=\"mover\"><span style=\"display: inline-block; position: relative; width: 0.954em;\"><span style=\"position: absolute; clip: rect(3.131em, 1000.85em, 4.177em, -1000em); top: -3.995em; left: 0em;\"><span id=\"MathJax-Span-215\" class=\"mi\" style=\"font-family: MathJax_Math; font-style: italic;\">X<\/span><\/span><span style=\"position: absolute; clip: rect(3.224em, 1000.81em, 3.633em, -1000em); top: -4.285em; left: 0.146em;\"><span id=\"MathJax-Span-216\" class=\"mo\"><span style=\"display: inline-block; position: relative; width: 0.808em;\"><span style=\"position: absolute; font-family: MathJax_Main; top: -3.995em; left: -0.069em;\">\u00af<\/span><span style=\"position: absolute; font-family: MathJax_Main; top: -3.995em; left: 0.378em;\">\u00af<\/span><span style=\"font-family: MathJax_Main; position: absolute; top: -3.995em; left: 0.176em;\">\u00af<\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/span><\/p>\n<p>$\\bar X$= average score on the first statistics test.<\/p>\n<p id=\"element-941\"><strong> Distribution for the test:<\/strong> If you read the problem carefully, you will notice that there is <strong>no population standard deviation given<\/strong>. You are only given <em data-effect=\"italics\">n<\/em> = 10 sample data values. Notice also that the data come from a normal distribution. This means that the distribution for the test is a student&#8217;s <em data-effect=\"italics\">t<\/em>.<\/p>\n<p id=\"element-240\">Use <em data-effect=\"italics\">t<\/em><sub>df<\/sub>. Therefore, the distribution for the test is <em data-effect=\"italics\">t<\/em><sub>9<\/sub> where <em data-effect=\"italics\">n<\/em> = 10 and <em data-effect=\"italics\">df<\/em> = 10 &#8211; 1 = 9.<\/p>\n<p id=\"element-169\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the Student&#8217;s <em data-effect=\"italics\">t<\/em>-distribution:<\/p>\n<p id=\"element-334\"><em data-effect=\"italics\">p<\/em>-value = $P(\\bar x &gt;67) = 0.0396$ where the sample mean and sample standard deviation are calculated as 67 and 3.1972 from the data (using a spreadsheet).<\/p>\n<p id=\"element-850\"><strong>Interpretation of the <em data-effect=\"italics\">p<\/em>-value:<\/strong> If the null hypothesis is true, then there is a 0.0396 probability (3.96%) that the sample mean is 65 or more.<\/p>\n<div id=\"hyptest11_ex4\" class=\"os-figure\">\n<figure data-id=\"hyptest11_ex4\"><span id=\"id5241154\" data-type=\"media\" data-alt=\"Normal distribution curve of average scores on the first statistic tests with 65 and 67 values on the x-axis. A vertical upward line extends from 67 to the curve. The p-value points to the area to the right of 67.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-540 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/667df45532e95c617b317b1eddef292f3f28e724-300x135.jpg\" alt=\"Normal distribution curve of average scores on the first statistic tests with 65 and 67 values on the x-axis. A vertical upward line extends from 67 to the curve. The p-value points to the area to the right of 67.\" width=\"300\" height=\"135\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/667df45532e95c617b317b1eddef292f3f28e724-300x135.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/667df45532e95c617b317b1eddef292f3f28e724-65x29.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/667df45532e95c617b317b1eddef292f3f28e724-225x101.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/667df45532e95c617b317b1eddef292f3f28e724-350x157.jpg 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/667df45532e95c617b317b1eddef292f3f28e724.jpg 487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.9<\/span><\/div>\n<\/div>\n<p id=\"element-438\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\n<p id=\"element-596\">Since <em data-effect=\"italics\">\u03b1<\/em> = 0.05 and <em data-effect=\"italics\">p<\/em>-value = 0.0396. <em data-effect=\"italics\">\u03b1<\/em> &gt; <em data-effect=\"italics\">p<\/em>-value.<\/p>\n<p id=\"element-710\"><strong>Make a decision:<\/strong> Since <em data-effect=\"italics\">\u03b1<\/em> &gt; <em data-effect=\"italics\">p<\/em>-value, reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>.<\/p>\n<p id=\"fs-idm21057040\">This means you reject <em data-effect=\"italics\">\u03bc<\/em> = 65. In other words, you believe the average test score is more than 65.<\/p>\n<p id=\"element-573\"><strong>Conclusion:<\/strong> At a 5% level of significance, the sample data show sufficient evidence that the mean (average) test score is more than 65, just as the math instructor thinks.<\/p>\n<p id=\"element-676\">The <em data-effect=\"italics\">p<\/em>-value can easily be calculated.<\/p>\n<div id=\"fs-idm14472336\" class=\"textbox spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">Using Google Sheets<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p>In a cell, type<\/p>\n<p><code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\"><bdo dir=\"ltr\">=TDIST( ABS( (<span class=\"number\" dir=\"auto\">65<\/span><span class=\"default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">67<\/span>) <span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span> (<span class=\"number\" dir=\"auto\">3.1972<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span> SQRT(<span class=\"number\" dir=\"auto\">10<\/span>) ) ), <span class=\"number\" dir=\"auto\">9<\/span>, <span class=\"number\" dir=\"auto\">1<\/span> )<\/bdo><\/span><\/span><\/bdo><\/code><\/p>\n<p>The first value give to the TDIST function is the positive version of our test statistic; the ABS function is unnecessary here because our test statistic is positive, but it is a good habit since the TDIST function will give an error if a negative test statistic is given.<\/p>\n<p>The second value is the degrees of freedom, and the third value is the number of tails.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idm186895712\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.16<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-454\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-806\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idm59977568\">It is believed that a stock price for a particular company will grow at a rate of \\$5 per week with a standard deviation of \\$1. An investor believes the stock won\u2019t grow as quickly. The changes in stock price is recorded for ten weeks and are as follows: \\$4, \\$3, \\$2, \\$3, \\$1, \\$7, \\$2, \\$1, \\$1, \\$2. Perform a hypothesis test using a 5% level of significance. State the null and alternative hypotheses, find the <em data-effect=\"italics\">p<\/em>-value, state your conclusion, and identify the Type I and Type II errors.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-940\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.17<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"element-366\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id5304801\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-904\">Joon believes that 50% of first-time brides in the United States are younger than their grooms. She performs a hypothesis test to determine if the percentage is <strong>the same or different from 50%<\/strong>. Joon samples <strong>100 first-time brides<\/strong> and <strong>53<\/strong> reply that they are younger than their grooms. For the hypothesis test, she uses a 1% level of<br \/>\nsignificance.<\/p>\n<\/div>\n<\/div>\n<div id=\"id4150001\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.17<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-399\">Set up the hypothesis test:<\/p>\n<p id=\"element-228\">The 1% level of significance means that <em data-effect=\"italics\">\u03b1<\/em> = 0.01. This is a <strong>test of a single population proportion<\/strong>.<\/p>\n<p id=\"element-724\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.50\u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 0.50<\/p>\n<p id=\"element-2\">The words <strong>&#8220;is the same or different from&#8221;<\/strong> tell you this is a two-tailed test.<\/p>\n<p id=\"element-815\">Calculate the distribution needed:<\/p>\n<p id=\"element-783\"><strong>Random variable:<\/strong> $\\hat P$ = the percent of of first-time brides who are younger than their grooms.<\/p>\n<p id=\"element-581\"><strong>Distribution for the test:<\/strong> The problem contains no mention of a mean. The<br \/>\ninformation is given in terms of percentages. Use the distribution for $\\hat P$, the estimated proportion.<\/p>\n<p>$\\hat P \\sim N\\left( p, \\sqrt{\\frac{pq}{n}} \\right)$ Therefore, $\\hat P \\sim N\\left( 0.5, \\sqrt{\\frac{(0.5)(0.5)}{100}} \\right)$<\/p>\n<p id=\"fs-idm107085552\">where <em data-effect=\"italics\">p<\/em> = 0.50, <em data-effect=\"italics\">q<\/em> = 1\u2212<em data-effect=\"italics\">p<\/em> = 0.50, and <em data-effect=\"italics\">n<\/em> = 100<\/p>\n<p id=\"fs-idp14246672\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the normal distribution for proportions:<\/p>\n<p id=\"element-518\"><em data-effect=\"italics\">p<\/em>-value = <em data-effect=\"italics\">P<\/em> ($\\hat p$ &lt; 0.47 or $\\hat p$ &gt; 0.53) = 0.5485<\/p>\n<p id=\"fs-idp133040416\">where <em data-effect=\"italics\">x<\/em> = 53, $\\hat p =\\frac{x}{n} =\\frac{53}{100}=0.53$<\/p>\n<p><strong>Interpretation of the <em data-effect=\"italics\">p<\/em>-value:<\/strong> If the null hypothesis is true, there is 0.5485 probability<br \/>\n(54.85%) that the sample (estimated) proportion $\\hat p$ is 0.53 or more OR 0.47 or less (see<br \/>\nthe graph in <a class=\"autogenerated-content\" href=\"#hyptest11_ex5\">Figure 8.10<\/a>).<\/p>\n<div id=\"hyptest11_ex5\" class=\"os-figure\">\n<figure data-id=\"hyptest11_ex5\"><span id=\"id5140475\" data-type=\"media\" data-alt=\"Normal distribution curve of the percent of first time brides who are younger than the groom with values of 0.47, 0.50, and 0.53 on the x-axis. Vertical upward lines extend from 0.47 and 0.53 to the curve. 1\/2(p-values) are calculated for the areas on outsides of 0.47 and 0.53.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-541 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/f256b0598364b426502f2690f2d3b6f75ce41177-300x117.jpg\" alt=\"Normal distribution curve of the percent of first time brides who are younger than the groom with values of 0.47, 0.50, and 0.53 on the x-axis. Vertical upward lines extend from 0.47 and 0.53 to the curve. 1\/2(p-values) are calculated for the areas on outsides of 0.47 and 0.53.\" width=\"300\" height=\"117\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/f256b0598364b426502f2690f2d3b6f75ce41177-300x117.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/f256b0598364b426502f2690f2d3b6f75ce41177-65x25.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/f256b0598364b426502f2690f2d3b6f75ce41177-225x88.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/f256b0598364b426502f2690f2d3b6f75ce41177-350x137.jpg 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/f256b0598364b426502f2690f2d3b6f75ce41177.jpg 487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.10<\/span><\/div>\n<\/div>\n<p id=\"element-327\"><em data-effect=\"italics\">\u03bc<\/em> = <em data-effect=\"italics\">p<\/em> = 0.50 comes from <em data-effect=\"italics\">H<sub>0<\/sub><\/em>, the null hypothesis.<\/p>\n<p id=\"element-360\">$\\hat p$ = 0.53. Since the curve is symmetrical and the test is two-tailed, the $\\hat p$ for the left tail is equal to 0.50 \u2013 0.03 = 0.47 where <em data-effect=\"italics\">\u03bc<\/em> = <em data-effect=\"italics\">p<\/em> = 0.50. (0.03 is the difference between 0.53 and 0.50.)<\/p>\n<p id=\"element-140\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\n<p id=\"element-576\">Since <em data-effect=\"italics\">\u03b1<\/em> = 0.01 and <em data-effect=\"italics\">p<\/em>-value = 0.5485. <em data-effect=\"italics\">\u03b1<\/em> &lt; <em data-effect=\"italics\">p<\/em>-value.<\/p>\n<p id=\"element-293\"><strong>Make a decision:<\/strong> Since <em data-effect=\"italics\">\u03b1<\/em> &lt; <em data-effect=\"italics\">p<\/em>-value, you cannot reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em>.<\/p>\n<p id=\"element-962\"><strong>Conclusion:<\/strong> At the 1% level of significance, the sample data do not show sufficient evidence that the percentage of first-time brides who are younger than their grooms is different from 50%.<\/p>\n<p id=\"element-990\">The <em data-effect=\"italics\">p<\/em>-value can easily be calculated.<\/p>\n<div id=\"fs-idm35225600\" class=\"textbox spreadsheet ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span class=\"os-title-label\">Using Google Sheets<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"element-857\">In a cell, type<\/p>\n<p><code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"number\" dir=\"auto\">2<\/span><span class=\"default-formula-text-color\" dir=\"auto\">*<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">1<\/span><span class=\"default-formula-text-color\" dir=\"auto\">-<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">NORM.S.DIST<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">0.53<\/span><span class=\"default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">0.5<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"default-formula-text-color\" dir=\"auto\">SQRT<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">0.5<\/span><span class=\"default-formula-text-color\" dir=\"auto\">*<\/span><span class=\"number\" dir=\"auto\">0.5<\/span><span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"number\" dir=\"auto\">100<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">)<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code><\/p>\n<p>This function starts with &#8220;2*&#8221; since we are performing a two tail test, we need to double our p-value.<\/p>\n<p>Then, we have &#8220;1 &#8211; &#8221; because we want to are to the right of 0.53; even though this is a two tail test, we know to calculate the area into the <strong>right<\/strong> tail beyond 0.53 because 0.53 is further to the right than 0.50 from our null hypothesis.<\/p>\n<p>In our NORM.S.DIST function, we calculate our test statistic as $\\frac{\\bar x &#8211; \\mu }{\\sqrt{\\frac{pq}{n}}}=\\frac{0.53 &#8211; 0.5 }{\\sqrt{\\frac{(0.5)(0.5)}{100}}}$. The NORM.S.DIST function will give us the area to the left, but, as mentioned, we want the are to the right, which is why we subtract this from 1.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"element-699\">The Type I and Type II errors are as follows:<\/p>\n<p id=\"element-414\">The Type I error is to conclude that the proportion of first-time brides who are younger than their grooms is different from 50% when, in fact, the proportion is actually 50%. (Reject the null hypothesis when the null hypothesis is true).<\/p>\n<p id=\"fs-idp134008544\">The Type II error is there is not enough evidence to conclude that the proportion of first time brides who are younger than their grooms differs from 50% when, in fact, the proportion does differ from 50%. (Do not reject the null hypothesis when the null hypothesis is false.)<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"fs-idp8711616\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.17<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-466\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-697\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idp103490704\">A teacher believes that 85% of students in the class will want to go on a field trip to the local zoo. She performs a hypothesis test to determine if the percentage is the same or different from 85%. The teacher samples 50 students and 39 reply that they would want to go to the zoo. For the hypothesis test, use a 1% level of significance.<\/p>\n<p id=\"eip-idp10599024\">First, determine what type of test this is, set up the hypothesis test, find the <em data-effect=\"italics\">p<\/em>-value, sketch the graph, and state your conclusion.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"element-577\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.18<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"element-312\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id5318755\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"element-451\">Suppose a consumer group suspects that the proportion of households that have three cell phones is 30%. A cell phone company has reason to believe that the proportion is not 30%. Before they start a big advertising campaign, they conduct a hypothesis test. Their marketing people survey 150 households with the result that 43 of the households have three cell phones.<\/p>\n<\/div>\n<\/div>\n<div id=\"id4213559\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.18<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-434\">Set up the Hypothesis Test:<\/p>\n<p id=\"element-504\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.30 <em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 0.30<\/p>\n<p id=\"element-636\">Determine the distribution needed:<\/p>\n<p id=\"element-605\">The <strong>random variable<\/strong> is $\\hat P$ = proportion of households that have three cell phones.<\/p>\n<p id=\"element-754\">The <strong>distribution<\/strong> for the hypothesis test is $\\hat P \\sim N\\left( 0.3, \\sqrt{\\frac{(0.3)(0.7)}{150}} \\right)$<\/p>\n<\/div>\n<p>Now lets complete the following list:<\/p>\n<div class=\"os-solution-container\">\n<ol>\n<li>The value that helps determine the <em data-effect=\"italics\">p<\/em>-value is $\\hat p$. Calculate $\\hat p$.<\/li>\n<li id=\"element-574\" class=\"os-hasSolution unnumbered\" data-type=\"exercise\">\n<p id=\"element-946\">What is a <strong>success<\/strong> for this problem?<\/p>\n<\/li>\n<li>What is the level of significance?<\/li>\n<li>Draw the graph for this problem. Draw the horizontal axis. Label and shade appropriately.<span data-type=\"newline\"><br \/>\n<\/span>Calculate the <em data-effect=\"italics\">p<\/em>-value.<\/li>\n<li>Make a decision. _____________(Reject\/Do not reject) <em data-effect=\"italics\">H<sub>0<\/sub><\/em> because____________.<\/li>\n<\/ol>\n<p>Answers:<\/p>\n<ol>\n<li>$\\hat p = \\frac{x}{n}$ where <em data-effect=\"italics\">x<\/em> is the number of successes and <em data-effect=\"italics\">n<\/em> is the total number in the sample.<br \/>\n<em data-effect=\"italics\">x<\/em> = 43, <em data-effect=\"italics\">n<\/em> = 150<br \/>\n$\\hat p =\\frac{43}{150}$<\/li>\n<li>A success is having three cell phones in a household.<\/li>\n<li>The level of significance is the preset <em data-effect=\"italics\">\u03b1<\/em>. Since <em data-effect=\"italics\">\u03b1<\/em> is not given, assume that <em data-effect=\"italics\">\u03b1<\/em> = 0.05.<\/li>\n<li><em data-effect=\"italics\">p<\/em>-value = 0.7216<\/li>\n<li>Assuming that <em data-effect=\"italics\">\u03b1<\/em> = 0.05, <em data-effect=\"italics\">\u03b1<\/em> &lt; <em data-effect=\"italics\">p<\/em>-value. The decision is do not reject <em data-effect=\"italics\">H<sub>0<\/sub><\/em> because there is not sufficient evidence to conclude that the proportion of households that have three cell phones is not 30%.<\/li>\n<\/ol>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<div id=\"fs-idm14663600\" class=\"statistics try ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Try It <\/span><span class=\"os-number\">8.18<\/span><\/h3>\n<\/header>\n<section>\n<div id=\"eip-341\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-613\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idm17000432\">Marketers believe that 92% of adults in the United States own a cell phone. A cell phone manufacturer believes that number is actually lower. 200 American adults are surveyed, of which, 174 report having cell phones. Use a 5% level of significance. State the null and alternative hypothesis, find the <em data-effect=\"italics\">p<\/em>-value, state your conclusion, and identify the Type I and Type II errors.<\/p>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<p id=\"fs-idp32935184\">The next example is a poem written by a statistics student named Nicole Hart. The solution to the problem follows the poem. Notice that the hypothesis test is for a single population proportion. This means that the null and alternate hypotheses use the parameter <em data-effect=\"italics\">p<\/em>. The distribution for the test is normal. The estimated proportion $\\hat p$ is the proportion of fleas killed to the total fleas found on Fido. This is sample information. The problem gives a preconceived <em data-effect=\"italics\">\u03b1<\/em> = 0.01, for comparison, and a 95% confidence interval computation. The poem is clever and humorous, so please enjoy it!<\/p>\n<div id=\"element-837\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.19<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"fs-idp65427488\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"id5257658\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idm151173424\">My dog has so many fleas,<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nThey do not come off with ease.<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nAs for shampoo, I have tried many types<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nEven one called Bubble Hype,<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nWhich only killed 25% of the fleas,<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nUnfortunately I was not pleased.<\/p>\n<p>I&#8217;ve used all kinds of soap,<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nUntil I had given up hope<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nUntil one day I saw<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nAn ad that put me in awe.<\/p>\n<p>A shampoo used for dogs<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nCalled GOOD ENOUGH to Clean a Hog<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nGuaranteed to kill more fleas.<\/p>\n<p>I gave Fido a bath<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nAnd after doing the math<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nHis number of fleas<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nStarted dropping by 3&#8217;s!<\/p>\n<p>Before his shampoo<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nI counted 42.<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nAt the end of his bath,<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nI redid the math<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nAnd the new shampoo had killed 17 fleas.<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nSo now I was pleased.<\/p>\n<p>Now it is time for you to have some fun<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nWith the level of significance being .01,<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nYou must help me figure out<span data-type=\"newline\"><br \/>\n<\/span><br \/>\nUse the new shampoo or go without?<\/p>\n<\/div>\n<\/div>\n<div id=\"id5100583\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.19<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"element-167\">Set up the hypothesis test:<\/p>\n<p id=\"element-278\"><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2264 0.25 \u2003\u2003<em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> &gt; 0.25<\/p>\n<p id=\"element-283\">Determine the distribution needed:<\/p>\n<p id=\"element-784\">In words, CLEARLY state what your random variable $\\bar X$ or $\\hat P$ represents.<\/p>\n<p id=\"fs-idp88897968\">$\\hat P$ = The proportion of fleas that are killed by the new shampoo<\/p>\n<p id=\"element-12\">State the distribution to use for the test.<\/p>\n<p id=\"element-583\"><strong>Normal:<\/strong>$N\\left( 0.25, \\sqrt{\\frac{(0.25)(1-0.25)}{42}} \\right)$<\/p>\n<p><strong>Test Statistic:<\/strong> <em data-effect=\"italics\">z<\/em> = 2.3163<\/p>\n<p id=\"element-428\">Calculate the <em data-effect=\"italics\">p<\/em>-value using the normal distribution for proportions:<\/p>\n<p id=\"element-314\"><em data-effect=\"italics\">p<\/em>-value = 0.0103<\/p>\n<p id=\"element-9\">In one to two complete sentences, explain what the <em data-effect=\"italics\">p<\/em>-value means for this problem.<\/p>\n<p id=\"element-688\">If the null hypothesis is true (the proportion is 0.25), then there is a 0.0103 probability that the sample (estimated) proportion is $0.4048 \\left( \\frac{17}{42} \\right) $ or more.<\/p>\n<p id=\"element-698\">Use the previous information to sketch a picture of this situation. CLEARLY, label and scale the horizontal axis and<br \/>\nshade the region(s) corresponding to the <em data-effect=\"italics\">p<\/em>-value.<\/p>\n<div id=\"hyptest11_ex6\" class=\"os-figure\">\n<figure data-id=\"hyptest11_ex6\"><span id=\"id4295819\" data-type=\"media\" data-alt=\"Normal distribution graph of the proportion of fleas killed by the new shampoo with values of 0.25 and 0.4048 on the x-axis. A vertical upward line extends from 0.4048 to the curve and the area to the left of this is shaded in. The test statistic of the sample proportion is listed.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-542 size-medium\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/920bd332036701e642423b2862eba7c6d6e89f11-300x160.jpg\" alt=\"Normal distribution graph of the proportion of fleas killed by the new shampoo with values of 0.25 and 0.4048 on the x-axis. A vertical upward line extends from 0.4048 to the curve and the area to the left of this is shaded in. The test statistic of the sample proportion is listed.\" width=\"300\" height=\"160\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/920bd332036701e642423b2862eba7c6d6e89f11-300x160.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/920bd332036701e642423b2862eba7c6d6e89f11-65x35.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/920bd332036701e642423b2862eba7c6d6e89f11-225x120.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/920bd332036701e642423b2862eba7c6d6e89f11-350x187.jpg 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/920bd332036701e642423b2862eba7c6d6e89f11.jpg 487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.11<\/span><\/div>\n<\/div>\n<p id=\"element-372\">Compare <em data-effect=\"italics\">\u03b1<\/em> and the <em data-effect=\"italics\">p<\/em>-value:<\/p>\n<p id=\"element-227\">Indicate the correct decision (\u201creject\u201d or \u201cdo not reject\u201d the null hypothesis), the reason for it, and write an appropriate conclusion, using complete sentences.<\/p>\n<div id=\"element-152\" class=\"os-table\">\n<table summary=\"Table 8.3\" data-id=\"element-152\">\n<thead valign=\"middle\">\n<tr>\n<th scope=\"col\" data-align=\"center\">alpha<\/th>\n<th scope=\"col\" data-align=\"center\">decision<\/th>\n<th scope=\"col\" data-align=\"center\">reason for decision<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td data-align=\"center\">0.01<\/td>\n<td data-align=\"center\">Do not reject H<sub>0<\/sub><\/td>\n<td data-align=\"center\"><em data-effect=\"italics\">\u03b1<\/em> &lt; <em data-effect=\"italics\">p<\/em>-value<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Table <\/span><span class=\"os-number\">8.3<\/span><\/div>\n<\/div>\n<p id=\"element-188\"><strong>Conclusion:<\/strong> At the 1% level of significance, the sample data do not show sufficient evidence that the percentage of fleas that are killed by the new shampoo is more than 25%.<\/p>\n<p id=\"element-236\">Construct a 95% confidence interval for the true mean or proportion. Include a sketch of the graph of the situation.<br \/>\nLabel the point estimate and the lower and upper bounds of the confidence interval.<\/p>\n<div id=\"hyptest11_ex7\" class=\"os-figure\">\n<figure data-id=\"hyptest11_ex7\"><span id=\"id5244822\" data-type=\"media\" data-alt=\"Normal distribution graph of the proportion of fleas killed by the new shampoo with values of 0.26, 17\/42, and 0.55 on the x-axis. A vertical upward line extends from 0.26 and 0.55. The area between these two points is equal to 0.95.\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-medium wp-image-543\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/89ad5f356acc136071f6c8a2600d927d4bde2841-300x173.jpg\" alt=\"Normal distribution graph of the proportion of fleas killed by the new shampoo with values of 0.26, 17\/42, and 0.55 on the x-axis. A vertical upward line extends from 0.26 and 0.55. The area between these two points is equal to 0.95.\" width=\"300\" height=\"173\" srcset=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/89ad5f356acc136071f6c8a2600d927d4bde2841-300x173.jpg 300w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/89ad5f356acc136071f6c8a2600d927d4bde2841-65x38.jpg 65w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/89ad5f356acc136071f6c8a2600d927d4bde2841-225x130.jpg 225w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/89ad5f356acc136071f6c8a2600d927d4bde2841-350x202.jpg 350w, https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/89ad5f356acc136071f6c8a2600d927d4bde2841.jpg 487w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.12<\/span><\/div>\n<\/div>\n<p id=\"element-471\"><strong>Confidence Interval:<\/strong> (0.26,0.55) We are 95% confident that the true population proportion <em data-effect=\"italics\">p<\/em> of fleas that are killed by the new shampoo is between 26% and 55%.<\/p>\n<div id=\"id5328435\" class=\"ui-has-child-title\" data-type=\"note\" data-has-label=\"true\" data-label=\"\">\n<header>\n<h3 class=\"os-title\" data-type=\"title\"><span id=\"71\" class=\"os-title-label\" data-type=\"\">Note<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"os-note-body\">\n<p id=\"eip-idm81920704\">This test result is not very definitive since the <em data-effect=\"italics\">p<\/em>-value is very close to alpha. In reality, one would probably do more tests by giving the dog another bath after the fleas have had a chance to return.<\/p>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"eip-295\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.20<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"eip-997\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-361\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idm29000496\">The National Institute of Standards and Technology provides exact data on conductivity properties of materials. Following are conductivity measurements for 11 randomly selected pieces of a particular type of glass.<\/p>\n<p id=\"eip-idm46067920\">1.11; 1.07; 1.11; 1.07; 1.12; 1.08; .98; .98 1.02; .95; .95<br \/>\n<span data-type=\"newline\"><br \/>\n<\/span>Is there convincing evidence that the average conductivity of this type of glass is greater than one? Use a significance level of 0.05. Assume the population is normal.<\/p>\n<\/div>\n<\/div>\n<div id=\"eip-974\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.20<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"eip-idp69766080\">Let\u2019s follow a four-step process to answer this statistical question.<\/p>\n<ol id=\"eip-idp69766512\" type=\"1\">\n<li><strong>State the Question<\/strong>: We need to determine if, at a 0.05 significance level, the average conductivity of the selected glass is greater than one. Our hypotheses will be\n<ol id=\"eip-idp129554720\" type=\"a\">\n<li><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> \u2264 1<\/li>\n<li><em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">\u03bc<\/em> &gt; 1<\/li>\n<\/ol>\n<\/li>\n<li><strong>Plan<\/strong>: We are testing a sample mean without a known population standard deviation. Therefore, we need to use a Student&#8217;s t-distribution. Assume the underlying population is normal.<\/li>\n<li><strong>Do the calculations<\/strong>: We will input the sample data into Google Sheets column A and calculate the p-value as follows:\n<div id=\"eip-idp122053552\" class=\"os-figure\">\n<figure data-id=\"eip-idp122053552\"><span id=\"eip-idp167220912\" data-type=\"media\" data-alt=\"\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-612\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_20a.png\" alt=\"Google sheets with the data input into column A\" width=\"678\" height=\"569\" \/><br \/>\n<\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.13<\/span><\/div>\n<div>Now that the data is in column A, we&#8217;ll calculate the mean, standard deviation, sample size (n), then we can calculate the test statistic and p-value. First create labels in column B for each of these.<\/div>\n<\/div>\n<div id=\"eip-idp29927184\" class=\"os-figure\">\n<figure data-id=\"eip-idp29927184\"><span id=\"eip-idp29927312\" data-type=\"media\" data-alt=\"\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-611 size-full\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_20b.png\" alt=\"Google Sheets with data and labels for calculations.\" width=\"617\" height=\"535\" \/><br \/>\n<\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.14<\/span><\/div>\n<div>In column C, enter the formulas to calculate each of the values.<\/div>\n<div>In cell C1: <code><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"default-formula-text-color\" dir=\"auto\">AVERAGE<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">A:A<\/span><\/span>)<\/code> to calculate the mean of all the data in column A.<\/div>\n<div>In cell C2: <code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"default-formula-text-color\" dir=\"auto\">STDEV.S<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">A:A<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo> <\/code>to calculate the standard deviation of all the data in column A.<\/div>\n<div>In cell C3: <code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"default-formula-text-color\" dir=\"auto\">COUNT<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">A:A<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code> to count the number of data (sample size) in column A.<\/div>\n<div>In cell C4: <code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">C1<\/span><span class=\"default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"number\" dir=\"auto\">1<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><span class=\"default-formula-text-color\" dir=\"auto\"> \/ <\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">C2 <\/span><span class=\"default-formula-text-color\" dir=\"auto\">\/ <\/span><span class=\"default-formula-text-color\" dir=\"auto\">SQRT<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">C3<\/span><span class=\"default-formula-text-color\" dir=\"auto\">) <\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code> to calculate the test statistic $t=\\frac{\\bar x -\\mu}{s\/\\sqrt{n}}$ with $\\mu =1$<\/div>\n<div>In cell C5: <bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"default-formula-text-color\" dir=\"auto\">TDIST<\/span><span class=\"default-formula-text-color\" dir=\"auto\">( ABS(<\/span><span dir=\"auto\">C4)<\/span><span class=\"default-formula-text-color\" dir=\"auto\">, <\/span><span dir=\"auto\">C3<\/span><span class=\"default-formula-text-color\" dir=\"auto\">&#8211;<\/span><span class=\"number\" dir=\"auto\">1 <\/span><span class=\"default-formula-text-color\" dir=\"auto\">, <\/span><span class=\"number\" dir=\"auto\">1<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo> to calculate the p-value, which is the area to the right of the positive version of our test statistic (TDIST requires a positive test statistic, so we use the ABS function to force the ABSolute value of our test statistic). We also input C3-1 degrees of freedom, and finally 1 tail.<\/div>\n<\/div>\n<div id=\"eip-idp126675984\" class=\"os-figure\">\n<figure data-id=\"eip-idp126675984\"><span id=\"eip-idp156983600\" data-type=\"media\" data-alt=\"\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-610\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_20c.png\" alt=\"Google Sheets with data, and pvalue calcualtions.\" width=\"620\" height=\"532\" \/><br \/>\n<\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.15<\/span><\/div>\n<\/div>\n<\/li>\n<li><strong>State the Conclusions<\/strong>: Since the <em data-effect=\"italics\">p<\/em>-value (<em data-effect=\"italics\">p<\/em> = 0.036) is less than our alpha value (0.05), we will reject the null hypothesis. It is reasonable to state that the data supports the claim that the average conductivity level is greater than one.<\/li>\n<\/ol>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"eip-767\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.21<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"eip-178\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-474\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idp173526416\">In a study of 420,019 cell phone users, 172 of the subjects developed brain cancer. Test the claim that cell phone users developed brain cancer at a greater rate than that for non-cell phone users (the rate of brain cancer for non-cell phone users is 0.0340%). Since this is a critical issue, use a 0.005 significance level. Explain why the significance level should be so low in terms of a Type I error.<\/p>\n<\/div>\n<\/div>\n<div id=\"eip-749\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.21<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"eip-idp3953440\">We will follow the four-step process.<\/p>\n<ol id=\"eip-idp191218624\" type=\"1\">\n<li>We need to conduct a hypothesis test on the claimed cancer rate. Our hypotheses will be\n<ol id=\"eip-idp171226608\" type=\"a\">\n<li><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2264 0.00034<\/li>\n<li><em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> &gt; 0.00034<\/li>\n<\/ol>\n<p id=\"eip-idm39752176\" class=\"finger\">If we commit a Type I error, we are essentially accepting a false claim. Since the claim describes cancer-causing environments, we want to minimize the chances of incorrectly identifying causes of cancer.<\/p>\n<\/li>\n<li>We will be testing a sample proportion with <em data-effect=\"italics\">x<\/em> = 172 and <em data-effect=\"italics\">n<\/em> = 420,019. The sample is sufficiently large because we have <em data-effect=\"italics\">np<\/em> = 420,019(0.00034) = 142.8, <em data-effect=\"italics\">nq<\/em> = 420,019(0.99966) = 419,876.2, two independent outcomes, and a fixed probability of success <em data-effect=\"italics\">p<\/em> = 0.00034. Thus we will be able to generalize our results to the population.<\/li>\n<li>The associated Google Sheets results are<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-613\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_21.png\" alt=\"Google Sheets calculating p-hat as 0.0004095052843, the test statistic as 2.443355592 and the p-value as 0.007275695899\" width=\"423\" height=\"174\" \/><br \/>\nFor the $\\hat p$ (p-hat) calculation, use<br \/>\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"number\" dir=\"auto\">172<\/span><span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"number\" dir=\"auto\">420019<\/span><\/span><\/bdo><\/code>For the test statistic calculation, use<br \/>\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">B1<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">-<\/span> <span class=\"number\" dir=\"auto\">0.00034<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">SQRT<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span class=\"number\" dir=\"auto\">0.00034<\/span><span class=\"default-formula-text-color\" dir=\"auto\">*<\/span><span class=\"number\" dir=\"auto\">0.99966<\/span><span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"number\" dir=\"auto\">420019<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code>For the p-value, use<br \/>\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"number\" dir=\"auto\">1<\/span><span class=\"default-formula-text-color\" dir=\"auto\">-<\/span><span class=\"default-formula-text-color\" dir=\"auto\">NORM.S.DIST<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">B2<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code><br \/>\nWe subtract from 1 since this is a right tail test.<br \/>\n<span data-type=\"newline\"><br \/>\n<\/span><\/p>\n<div id=\"fs-idm80776672\" class=\"os-figure\"><\/div>\n<\/li>\n<li>Since the <em data-effect=\"italics\">p<\/em>-value = 0.0073 is greater than our alpha value = 0.005, we cannot reject the null. Therefore, we conclude that there is not enough evidence to support the claim of higher brain cancer rates for the cell phone users.<\/li>\n<\/ol>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n<div id=\"eip-829\" class=\"ui-has-child-title\" data-type=\"example\">\n<header>\n<h3 class=\"os-title\"><span class=\"os-title-label\">Example <\/span><span class=\"os-number\">8.22<\/span><\/h3>\n<\/header>\n<section>\n<div class=\"body\">\n<div id=\"eip-267\" class=\"unnumbered\" data-type=\"exercise\">\n<header><\/header>\n<section>\n<div id=\"eip-478\" data-type=\"problem\">\n<div class=\"os-problem-container\">\n<p id=\"eip-idp47042256\">According to the US Census there are approximately 268,608,618 residents aged 12 and older. Statistics from the Rape, Abuse, and Incest National Network indicate that, on average, 207,754 rapes occur each year (male and female) for persons aged 12 and older. This translates into a percentage of sexual assaults of 0.078%. In Daviess County, KY, there were reported 11 rapes for a population of 37,937. Conduct an appropriate hypothesis test to determine if there is a statistically significant difference between the local sexual assault percentage and the national sexual assault percentage. Use a significance level of 0.01.<\/p>\n<\/div>\n<\/div>\n<div id=\"eip-659\" data-type=\"solution\" aria-label=\"show solution\" aria-expanded=\"false\">\n<div class=\"ui-toggle-wrapper\"><\/div>\n<section class=\"ui-body\" style=\"display: block; overflow: hidden;\" role=\"alert\">\n<h4 data-type=\"solution-title\"><span class=\"os-title-label\">Solution <\/span><span class=\"os-number\">8.22<\/span><\/h4>\n<div class=\"os-solution-container\">\n<p id=\"eip-910\">We will follow the four-step plan.<\/p>\n<ol id=\"eip-idp113522624\" type=\"1\">\n<li>We need to test whether the proportion of sexual assaults in Daviess County, KY is significantly different from the national average.<\/li>\n<li>Since we are presented with proportions, we will use a one-proportion <em data-effect=\"italics\">z<\/em>-test. The hypotheses for the test will be\n<ol id=\"eip-idp17854992\" type=\"a\">\n<li><em data-effect=\"italics\">H<sub>0<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> = 0.00078<\/li>\n<li><em data-effect=\"italics\">H<sub>1<\/sub><\/em>: <em data-effect=\"italics\">p<\/em> \u2260 0.00078<\/li>\n<\/ol>\n<\/li>\n<li>The following screen shots display the summary statistics from the hypothesis test.\n<div id=\"fs-idm3544720\" class=\"os-figure\">\n<figure data-id=\"fs-idm3544720\"><span id=\"eip-idp26791072\" data-type=\"media\" data-alt=\"\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-615\" src=\"https:\/\/textbooks.jaykesler.net\/introstats\/wp-content\/uploads\/sites\/2\/2021\/01\/exercise_09_22.png\" alt=\"Google Sheets calculating p-hat as 0.0002899543981, the test statistic as -3.41892936 and the p-value as 0.0006286804529\" width=\"420\" height=\"176\" \/><\/span><\/figure>\n<div class=\"os-caption-container\"><span class=\"os-title-label\">Figure <\/span><span class=\"os-number\">8.19<\/span><\/div>\n<div><\/div>\n<\/div>\n<p>For the $\\hat p$ (p-hat) calculation, use<br \/>\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"number\" dir=\"auto\"><bdo dir=\"ltr\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span>11<span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span>37937<\/bdo><\/span><\/span><\/bdo><\/code><\/p>\n<p>For the test statistic calculation, use<br \/>\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"default-formula-text-color\" dir=\"auto\"><bdo dir=\"ltr\">(<span dir=\"auto\">B1<\/span> <span class=\"default-formula-text-color\" dir=\"auto\">-<\/span> <span class=\"number\" dir=\"auto\">0.00078<\/span>) <span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span> SQRT(<span class=\"number\" dir=\"auto\">0.00078<\/span><span class=\"default-formula-text-color\" dir=\"auto\">*<\/span><span class=\"number\" dir=\"auto\">0.99922<\/span><span class=\"default-formula-text-color\" dir=\"auto\">\/<\/span><span class=\"number\" dir=\"auto\">37937<\/span>)<\/bdo><\/span><\/span><\/bdo><\/code>For the p-value, use<br \/>\n<code><bdo dir=\"ltr\"><span class=\"formula-content\"><span class=\"default-formula-text-color\" dir=\"auto\">=<\/span><span class=\"number\" dir=\"auto\">2*<\/span><span class=\"default-formula-text-color\" dir=\"auto\">NORM.S.DIST<\/span><span class=\"default-formula-text-color\" dir=\"auto\">(<\/span><span dir=\"auto\">B2<\/span><span class=\"default-formula-text-color\" dir=\"auto\">)<\/span><\/span><\/bdo><\/code><br \/>\nWe multiply by 2 since this is a 2-tail test.<\/li>\n<li>Since the <em data-effect=\"italics\">p<\/em>-value, <em data-effect=\"italics\">p<\/em> = 0.00063, is less than the alpha level of 0.01, the sample data indicates that we should reject the null hypothesis. In conclusion, the sample data support the claim that the proportion of sexual assaults in Daviess County, Kentucky is different from the national average proportion.<\/li>\n<\/ol>\n<\/div>\n<\/section>\n<\/div>\n<\/section>\n<\/div>\n<\/div>\n<\/section>\n<\/div>\n","protected":false},"author":1,"menu_order":5,"template":"","meta":{"pb_show_title":"on","pb_short_title":"","pb_subtitle":"","pb_authors":[],"pb_section_license":""},"chapter-type":[],"contributor":[],"license":[],"class_list":["post-80","chapter","type-chapter","status-publish","hentry"],"part":70,"_links":{"self":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/80","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters"}],"about":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/types\/chapter"}],"author":[{"embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":7,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/80\/revisions"}],"predecessor-version":[{"id":544,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/80\/revisions\/544"}],"part":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/parts\/70"}],"metadata":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapters\/80\/metadata\/"}],"wp:attachment":[{"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/media?parent=80"}],"wp:term":[{"taxonomy":"chapter-type","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/pressbooks\/v2\/chapter-type?post=80"},{"taxonomy":"contributor","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/contributor?post=80"},{"taxonomy":"license","embeddable":true,"href":"https:\/\/textbooks.jaykesler.net\/introstats\/wp-json\/wp\/v2\/license?post=80"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}