{"id":117,"date":"2018-03-27T13:39:00","date_gmt":"2018-03-27T11:39:00","guid":{"rendered":"https:\/\/kindsonthegenius.com\/blog\/2018\/03\/27\/hypothesis-testing-question-19-run-test-trees-were-planted\/"},"modified":"2020-08-22T20:33:25","modified_gmt":"2020-08-22T18:33:25","slug":"hypothesis-testing-question-19-run-test-trees-were-planted","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-19-run-test-trees-were-planted\/","title":{"rendered":"Hypothesis Testing Question 19 &#8211; Run Test ( Trees were planted&#8230;)"},"content":{"rendered":"<div style=\"color: #555555; font-size: 18px; line-height: 30px; text-align: justify;\">\n<div style=\"font-family: 'segoe ui';\">\n<p><strong><span style=\"color: #cc0000;\">Question 19<\/span><\/strong><br \/>\nTrees planted along the road were checked for which ones are healthy(H) or deseased (D) and the following arrangement of the trees were obtained:<\/p>\n<p>H H H H D D D H H H H H H H D D H H D D D<\/p>\n<p>Test at the\u00a0 <span style=\"background-color: white; clip: rect(1px , 1px , 1px , 1px); color: #222222; display: none; font-family: sans-serif; font-size: 16.52px; font-style: normal; font-weight: 400; height: 1px; letter-spacing: normal; opacity: 0; overflow: hidden; position: absolute; text-indent: 0px; text-transform: none; white-space: normal; width: 1px; word-spacing: 0px;\">{displaystyle varepsilon !}<\/span><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 signnificance wether this arrangeemnt may be regarded as random<\/p>\n<p>&nbsp;<\/p>\n<p><strong><span style=\"color: #38761d;\">Solution Steps<\/span><\/strong><br \/>\n<strong>Stetp 1:<\/strong> State the null and alternate hypothesis<br \/>\nH0: Arrangement is random<br \/>\nH1: Arrangement is not random<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 2<\/strong>: Calculate the number of runs, H and D<\/p>\n<p><span style=\"color: #274e13;\">H H H H<\/span> <span style=\"color: red;\">D D D<\/span> <span style=\"color: #274e13;\">H H H H H H H <\/span><span style=\"color: #cc0000;\">D D <\/span><span style=\"color: #274e13;\">H H <\/span><span style=\"color: #cc0000;\">D D D D<\/span><\/p>\n<p>Number of runs is given by R = 6<br \/>\nNumber of H,  n<sub>1<\/sub>  = 13<br \/>\nNumber of D, n<sub>2<\/sub> = 9<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 3: <\/strong>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 signnificance, n<sub>1<\/> = 13, n<sub>2<\/sub> = 9<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 4: <\/strong>State your Conclusion<br \/>\nIn this case , since the absolute value calculated is less than the critical value, we reject the null hypothesis and conclude that the arrangement is not random<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Note about the Run Test<\/strong><br \/>\nThe Run Test (which is also the Wald-Wolfowitz runs test) is a non-parametric statistical test that tests the randomness of a hypothesis for a 2-valued sequence of data.<br \/>\nIt is used to test the hypothesis that the elements of the sequence are mutually independent<\/p>\n<\/div>\n<\/div>\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 19 Trees planted along the road were checked for which ones are healthy(H) or deseased (D) and the following arrangement of the trees were &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\/117"}],"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=117"}],"version-history":[{"count":3,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/117\/revisions"}],"predecessor-version":[{"id":702,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/117\/revisions\/702"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media?parent=117"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/categories?post=117"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/tags?post=117"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}