{"id":115,"date":"2018-03-27T20:36:00","date_gmt":"2018-03-27T18:36:00","guid":{"rendered":"https:\/\/kindsonthegenius.com\/blog\/2018\/03\/27\/hypothesis-testing-question-20-run-test-suppose-we-flib-a-coin\/"},"modified":"2020-08-22T20:33:36","modified_gmt":"2020-08-22T18:33:36","slug":"hypothesis-testing-question-20-run-test-suppose-we-flib-a-coin","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-20-run-test-suppose-we-flib-a-coin\/","title":{"rendered":"Hypothesis Testing Question 20 &#8211; Run Test( Suppose we flip a coin&#8230;)"},"content":{"rendered":"<p><span style=\"color: #cc0000;\"><b>Question 20<\/b><\/span><br \/>\nSuppose we flip a coin n = 15 times and come up with the following arrangements<\/p>\n<p>H T T T H H T T T T H H T H H<\/p>\n<p>(H = head, T = tail)<\/p>\n<p>Test at the alpha = 0.05 significance level whether this arrangement may be regarded as random.<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"color: #274e13;\"><b>Solution Steps<\/b><\/span><br \/>\n<b>Step 1:<\/b> State the null and alternate hypothesis<br \/>\nH<sub>0<\/sub>: Arrangement is random<br \/>\nH<sub>1<\/sub>: Arrangement is not random<\/p>\n<p>&nbsp;<\/p>\n<p><b>Step 2<\/b>: Calculate the Test Statistic (Number of Runs)<br \/>\nNormally you separate each of the runs so that you would be able to count them.<\/p>\n<p>H\u00a0 <span style=\"color: #cc0000;\">TTT\u00a0 <\/span>HH\u00a0 <span style=\"color: #cc0000;\">TTTT\u00a0 <\/span>HH\u00a0 <span style=\"color: #cc0000;\">T\u00a0<\/span> HH<\/p>\n<p>Number of runs is given by r = 7<br \/>\nNumber of H, n<sub>1<\/sub> = 7<br \/>\nNumber of T, n<sub>2<\/sub> =8<\/p>\n<p>Test Statistic = 7 (number of runs)<\/p>\n<p>&nbsp;<\/p>\n<p><b>Step 3: <\/b>Lookup Critical values in table of runs tests<br \/>\nAt\u00a0 <img decoding=\"async\" loading=\"lazy\" class=\"mwe-math-fallback-image-inline\" style=\"-webkit-text-stroke-width: 0px; background-color: white; border: 0px; color: #222222; display: inline-block; font-family: sans-serif; font-size: 14px; font-style: normal; font-variant-caps: normal; font-variant-ligatures: normal; font-weight: 400; height: 1.676ex; letter-spacing: normal; margin: 0px -0.299ex 0px 0px; orphans: 2; text-align: start; text-decoration-color: initial; text-decoration-style: initial; text-indent: 0px; text-transform: none; vertical-align: -0.338ex; white-space: normal; widows: 2; width: 0.995ex; word-spacing: 0px;\" src=\"https:\/\/wikimedia.org\/api\/rest_v1\/media\/math\/render\/svg\/f4bd2f8c9241ab34af72babb5f87c90a2521338e\" alt=\"varepsilon !\" width=\"373\" height=\"640\" \/>\u00a0 = 0.05 significance, n<sub>1<\/sub> = 7, n<sub>2<\/sub> =8<br \/>\nUpper critical value =\u00a0 4<br \/>\nLower critical value = 13<\/p>\n<p>&nbsp;<\/p>\n<p><b>Step 4: <\/b>Make Your Decision<br \/>\nSince r = 10 which is between 4 and 13, we accept the null hypothesis (we fail to reject it)<\/p>\n<p>&nbsp;<\/p>\n<p><b>Step 5:<\/b> Draw a Conclusion<br \/>\nThere are not enough evidence to reject the claim hat the pattern of occurrence of heads and tails is determined by a random process<\/p>\n<p><ins style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"4209786523\"><\/ins><br \/>\n<ins style=\"display: block; text-align: center;\" data-ad-layout=\"in-article\" data-ad-format=\"fluid\" data-ad-client=\"ca-pub-7041870931346451\" data-ad-slot=\"4209786523\"><\/ins><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Question 20 Suppose we flip a coin n = 15 times and come up with the following arrangements H T T T H H T &hellip; <\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_mi_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0},"categories":[223],"tags":[],"_links":{"self":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/115"}],"collection":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/comments?post=115"}],"version-history":[{"count":2,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/115\/revisions"}],"predecessor-version":[{"id":694,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/115\/revisions\/694"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media?parent=115"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/categories?post=115"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/tags?post=115"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}