{"id":19145,"date":"2016-12-17T20:19:58","date_gmt":"2016-12-17T20:19:58","guid":{"rendered":"http:\/\/www.oracletutoring.ca\/blog\/?p=19145"},"modified":"2016-12-17T20:19:58","modified_gmt":"2016-12-17T20:19:58","slug":"statistics-1-%ce%b2-type-ii-error-and-the-power-of-a-test","status":"publish","type":"post","link":"https:\/\/www.oracletutoring.ca\/blog\/statistics-1-%ce%b2-type-ii-error-and-the-power-of-a-test\/","title":{"rendered":"Statistics:  1-\u03b2 : type II error and the power of a test"},"content":{"rendered":"<h1>The tutor continues about hypothesis testing and type II errors.<\/h1>\n<p>In <a href=\"?p=19131\">yesterday&#8217;s post<\/a> I began about hypothesis testing, type I, and type II errors.  Specifically, a type II error would be continuing to believe the mean loaf mass is 454g, when in fact it&#8217;s drifted to 470g.<\/p>\n<p>Let&#8217;s imagine that, indeed, the mean loaf mass is 470g.  Furthermore, let&#8217;s imagine the standard deviation is calculated, from the sample, as 25g.<\/p>\n<p>Imagine a sample size of 31 loaves, so the degrees of freedom is 30.  Since the standard deviation is calculated from the sample, we use a t statistic.  With null hypothesis H<sub>0<\/sub>=454g, at significance level of 5%, and with a two-sided test, the rejection region is <span style=\"text-decoration:overline\">x<\/span>&#62;454+2.042*25\/(31)<sup>1\/2<\/sup> or <span style=\"text-decoration:overline\">x<\/span>&#60;454-2.042*25\/(31)<sup>1\/2<\/sup>.<\/p>\n<p>Rejection region:<\/p>\n<p><span style=\"text-decoration:overline\">x<\/span> &#62; 463g, or <span style=\"text-decoration:overline\">x<\/span> &#60; 445g <\/p>\n<p>If the mean mass truly is 470g, the probability that <span style=\"text-decoration:overline\">x<\/span> &#62; 463g is 93.5%, while the probability it&#8217;s less than 445g is virtually 0.  Therefore, the probability of realizing that the mean loaf mass is no longer 454g (the power of the test in this context) is 93.5%.    Conversely, the probability of continuing to believe the mean loaf mass is 454g (a type II error), is 6.5%.<\/p>\n<p>In stats texts, &#946; is sometimes used to refer to the probability of a type II error, while 1-&#946; is used to refer to the power of the test, aka its ability to determine the falsity of H<sub>0<\/sub>.  In this case, &#946;=6.5%, while 1-&#946;=93.5%.<\/p>\n<p>Source:<\/p>\n<p>Harnett, Donald L. and James L. Murphy.  <u>Statistical Analysis for Business and Economics<\/u>.  Don Mills:  Addison-Wesley, 1986.<\/p>\n<p>Jack of <a href=\"https:\/\/www.oracletutoring.ca\">Oracle Tutoring by Jack and Diane,<\/a> Campbell River, BC.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The tutor continues about hypothesis testing and type II errors. In yesterday&#8217;s post I began about hypothesis testing, type I, and type II errors. Specifically, a type II error would be continuing to believe the mean loaf mass is 454g, &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"more-link\" href=\"https:\/\/www.oracletutoring.ca\/blog\/statistics-1-%ce%b2-type-ii-error-and-the-power-of-a-test\/\"> <span class=\"screen-reader-text\">Statistics:  1-\u03b2 : type II error and the power of a test<\/span> Read More &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[1885,2071,2070],"class_list":["post-19145","post","type-post","status-publish","format-standard","hentry","category-statistics","tag-hypothesis-testing","tag-power-of-a-test","tag-type-ii-error"],"_links":{"self":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/19145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/comments?post=19145"}],"version-history":[{"count":28,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/19145\/revisions"}],"predecessor-version":[{"id":19173,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/posts\/19145\/revisions\/19173"}],"wp:attachment":[{"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/media?parent=19145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/categories?post=19145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.oracletutoring.ca\/blog\/wp-json\/wp\/v2\/tags?post=19145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}