{"id":113,"date":"2018-03-27T23:50:00","date_gmt":"2018-03-27T21:50:00","guid":{"rendered":"https:\/\/kindsonthegenius.com\/blog\/2018\/03\/27\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure\/"},"modified":"2020-08-22T20:33:48","modified_gmt":"2020-08-22T18:33:48","slug":"hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure","status":"publish","type":"post","link":"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure\/","title":{"rendered":"Hypothesis Testing Question 21 &#8211; Wald-Wolfowitz Run Test for Large Sample (Step by Step Procedure)"},"content":{"rendered":"<div style=\"clear: both; text-align: center;\">This is how to Perform Wald-Wolfowitz Run Test<\/div>\n<p><span style=\"color: #cc0000;\"><span style=\"font-size: large;\"><span style=\"color: red;\"><span style=\"color: #274e13;\"><b>Question 21<\/b><\/span><\/span><\/span><\/span><br \/>\nThe following arrangement of men, M, and women, W, lined up to purchase tickets for a rock concert:<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/4.bp.blogspot.com\/-XNxxmAfCbVo\/WrZBZofD0bI\/AAAAAAAABgw\/I84hsm-uaasKRDgbUt32fFgVynNX4Ov7wCLcBGAs\/s1600\/MenWomen.JPG\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/4.bp.blogspot.com\/-XNxxmAfCbVo\/WrZBZofD0bI\/AAAAAAAABgw\/I84hsm-uaasKRDgbUt32fFgVynNX4Ov7wCLcBGAs\/s320\/MenWomen.JPG\" width=\"320\" height=\"117\" border=\"0\" data-original-height=\"130\" data-original-width=\"355\" \/><\/a><\/div>\n<p>Test for randomness at the <b>\u03b1<\/b> = 0.05 significance level<\/p>\n<p><span style=\"color: #274e13;\"><br \/>\n<\/span><span style=\"font-size: large;\"><b><span style=\"color: #274e13;\">Solution Steps <\/span><\/b><\/span><br \/>\nIn this case, we see that the sample size is fairly large, so we are going to use a slightly different method in this case. We are going to calculate the mean runs and the standard deviation.<\/p>\n<p>Then we go ahead to find the z-statistic. We would use the following 7 steps to disolve this problem.<\/p>\n<p><a href=\"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure#s1\">Step 1: State the null and alternate hypothesis<\/a><br \/>\n<a href=\"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure#s2\">Step 2: Determine the number of runs<\/a><br \/>\n<a href=\"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure#s3\">Step 3: Calculate the mean runs<\/a><br \/>\n<a href=\"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure#s4\">Step 4: Calculate the Standard deviation<\/a><br \/>\n<a href=\"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure#s5\">Step 5: Calculate the z-Statistic<\/a><br \/>\n<a href=\"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure#s6\">Step 6: Determine the Critical value<\/a><br \/>\n<a href=\"https:\/\/kindsonthegenius.com\/blog\/hypothesis-testing-question-21-walf-wolfowitz-run-test-for-large-sample-step-by-step-procedure#s7\">Step 7: Draw a conclusion<\/a><\/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=\"8227894917\"><\/ins><br \/>\n<b><\/b><\/p>\n<h3 id=\"s1\">Step 1: State the null and alternate hypothesis<\/h3>\n<p>H<sub>0<\/sub>: Arrangement is random<br \/>\nH<sub>1<\/sub>: Arrangment is not random<\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"s2\">Step 2: Determine the Number of Runs<\/h3>\n<p>This means that you need to mark each of the categories so you can easily count them<br \/>\nHere I mark each run alternatively with red for M and black wor W. The outcome is given below.<\/p>\n<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/1.bp.blogspot.com\/-eCqDr4sNNOk\/WrZE63_qceI\/AAAAAAAABg8\/Ug-vRCn_oPcdoPLTcqQaasLI-30JjnzrQCLcBGAs\/s1600\/MenWomen2.JPG\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/1.bp.blogspot.com\/-eCqDr4sNNOk\/WrZE63_qceI\/AAAAAAAABg8\/Ug-vRCn_oPcdoPLTcqQaasLI-30JjnzrQCLcBGAs\/s320\/MenWomen2.JPG\" width=\"320\" height=\"117\" border=\"0\" data-original-height=\"129\" data-original-width=\"351\" \/><\/a><\/div>\n<p>The number of runs is given by R = 27<br \/>\nThe number of Men, n<sub>1<\/sub> = 30<br \/>\nThe number of Women, n<sub>2<\/sub> = 18<\/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=\"8227894917\"><\/ins><br \/>\n<b><\/b><\/p>\n<h3 id=\"s3\">Step 3: Calculate the Mean runs<\/h3>\n<p>The mean is given by the formula<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/1.bp.blogspot.com\/-k9RTvuS_kME\/WrrHXgFa3xI\/AAAAAAAABpU\/S3kbVWbec4M1RpP5TloATL_cI1tCJ9ywwCLcBGAs\/s1600\/Run%2BTest%2BMean%2BFormula.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/1.bp.blogspot.com\/-k9RTvuS_kME\/WrrHXgFa3xI\/AAAAAAAABpU\/S3kbVWbec4M1RpP5TloATL_cI1tCJ9ywwCLcBGAs\/s200\/Run%2BTest%2BMean%2BFormula.jpg\" width=\"200\" height=\"65\" border=\"0\" data-original-height=\"98\" data-original-width=\"301\" \/><\/a><\/div>\n<div style=\"clear: both; text-align: center;\"><\/div>\n<p>We can go ahead to substitute the value of n1 = 30 and n2 = 18<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/1.bp.blogspot.com\/-Sxu7cx48BBs\/WrrIaCVvoYI\/AAAAAAAABpc\/XG50D2VUjlUfC62fivUlrvX3_8YoXeStQCEwYBhgL\/s1600\/Run%2BTest%2BMean%2BCalculation.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"\" src=\"https:\/\/1.bp.blogspot.com\/-Sxu7cx48BBs\/WrrIaCVvoYI\/AAAAAAAABpc\/XG50D2VUjlUfC62fivUlrvX3_8YoXeStQCEwYBhgL\/s320\/Run%2BTest%2BMean%2BCalculation.jpg\" width=\"225\" height=\"255\" border=\"0\" data-original-height=\"411\" data-original-width=\"362\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<h3 id=\"s4\">Step 4: Calculate the Standard Deviation<\/h3>\n<p>You can\u00a0 find the standard deviation for a runs test using the formula<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/1.bp.blogspot.com\/-8ys1VgHvxws\/WrrLVVHY9UI\/AAAAAAAABpo\/D7Ev_3bonlQczGFoFBDVKVWYHyshuXVrgCLcBGAs\/s1600\/Run%2BTest%2BSD%2BFormula.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/1.bp.blogspot.com\/-8ys1VgHvxws\/WrrLVVHY9UI\/AAAAAAAABpo\/D7Ev_3bonlQczGFoFBDVKVWYHyshuXVrgCLcBGAs\/s320\/Run%2BTest%2BSD%2BFormula.jpg\" width=\"320\" height=\"56\" border=\"0\" data-original-height=\"113\" data-original-width=\"635\" \/><\/a><\/div>\n<p>We can go ahead to substitute the value of n<sub>1<\/sub> = 30 and n<sub>2<\/sub> = 18<\/p>\n<p>&nbsp;<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/2.bp.blogspot.com\/-vkkiDcv8F5I\/WrrO57r6BZI\/AAAAAAAABp0\/PfsV-y56GjQ4ThjfGtUwhkix7AwWFwk5wCLcBGAs\/s1600\/Run%2BTest%2BSD%2BCalculation.jpg\"><img decoding=\"async\" loading=\"lazy\" class=\"\" src=\"https:\/\/2.bp.blogspot.com\/-vkkiDcv8F5I\/WrrO57r6BZI\/AAAAAAAABp0\/PfsV-y56GjQ4ThjfGtUwhkix7AwWFwk5wCLcBGAs\/s640\/Run%2BTest%2BSD%2BCalculation.jpg\" width=\"375\" height=\"573\" border=\"0\" data-original-height=\"1023\" data-original-width=\"670\" \/><\/a><\/div>\n<p>&nbsp;<\/p>\n<h3 id=\"s5\">Step 5: Calculate the z-Statistic<\/h3>\n<p>The z-Statistic can be calculated using the formula<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/2.bp.blogspot.com\/-5njFy_zXhZM\/WrrRL35XjrI\/AAAAAAAABqA\/XQOuR0WC4_U6a_-7vwVYvaFlLv7-t4YOQCLcBGAs\/s1600\/Run%2BTest%2Bz-Statistic%2Bformula.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/2.bp.blogspot.com\/-5njFy_zXhZM\/WrrRL35XjrI\/AAAAAAAABqA\/XQOuR0WC4_U6a_-7vwVYvaFlLv7-t4YOQCLcBGAs\/s200\/Run%2BTest%2Bz-Statistic%2Bformula.jpg\" width=\"200\" height=\"68\" border=\"0\" data-original-height=\"97\" data-original-width=\"280\" \/><\/a><\/div>\n<p>Then we can substitute the value of<br \/>\nR = 27<br \/>\n\u03bc<sub>R<\/sub> = 23.5<br \/>\n\u03c3<sub>R<\/sub> = 3.2083<\/p>\n<div style=\"clear: both; text-align: center;\"><a style=\"margin-left: 1em; margin-right: 1em;\" href=\"https:\/\/4.bp.blogspot.com\/-Zc-NxdoTldE\/WrrSr4rU11I\/AAAAAAAABqM\/E6VQYVJkfvo26cIXhnPMa8hOTuJSlYi1QCLcBGAs\/s1600\/Run%2BTest%2Bz-Statistic%2Bcalculation.jpg\"><img decoding=\"async\" loading=\"lazy\" src=\"https:\/\/4.bp.blogspot.com\/-Zc-NxdoTldE\/WrrSr4rU11I\/AAAAAAAABqM\/E6VQYVJkfvo26cIXhnPMa8hOTuJSlYi1QCLcBGAs\/s200\/Run%2BTest%2Bz-Statistic%2Bcalculation.jpg\" width=\"196\" height=\"200\" border=\"0\" data-original-height=\"317\" data-original-width=\"313\" \/><\/a><\/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=\"8227894917\"><\/ins><br \/>\n<b><\/b><\/p>\n<h3 id=\"s6\">Step 6: Determine the Critical Value<\/h3>\n<p>Look up the value of the critical value from statistical table of normal distribution<br \/>\nWe get a critical value for of<b> 1.96<\/b><\/p>\n<p>&nbsp;<\/p>\n<h3 id=\"s7\">Step 7: State the Decision<\/h3>\n<p>Since the calculated value of z = 1.0909 is within the accept region(less than the critical value of 1.96), we therefore accept (fail to reject) the null hypothesis and conclude that there is not real evidence that the arrangement is not random<\/p>\n<p>&nbsp;<\/p>\n<p>Leave a comment if you have any observation or difficulty following this lesson<br \/>\nThank you for solving.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This is how to Perform Wald-Wolfowitz Run Test Question 21 The following arrangement of men, M, and women, W, lined up to purchase tickets for &hellip; <\/p>\n","protected":false},"author":2,"featured_media":690,"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\/113"}],"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=113"}],"version-history":[{"count":10,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":1238,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/posts\/113\/revisions\/1238"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media\/690"}],"wp:attachment":[{"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/media?parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/categories?post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kindsonthegenius.com\/blog\/wp-json\/wp\/v2\/tags?post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}