{"id":16215,"date":"2023-08-28T14:04:59","date_gmt":"2023-08-28T14:04:59","guid":{"rendered":"https:\/\/officetuts.net\/excel\/?p=16215"},"modified":"2024-02-19T14:52:05","modified_gmt":"2024-02-19T14:52:05","slug":"moods-median-test-in-excel","status":"publish","type":"post","link":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/","title":{"rendered":"Mood’s Median Test in Excel\u00a0"},"content":{"rendered":"\n
Moods-Median-Test-in-Excel<\/a>Download File<\/a><\/div>\n\n\n\n

Although Excel has many built-in formulas that fall under many categories: statistical, mathematical, logical, and many more, there are some things that cannot be automatically calculated, but we have to do things manually.<\/p>\n\n\n\n

Such is the case with Mood\u2019s Median Test<\/strong>. This test is a non-parametric statistical test<\/strong> that is used to compare the medians of two or more independent samples. It is used mainly when the data that we have does not meet the assumptions of parametric tests<\/strong>, such as the t-test or ANOVA.<\/p>\n\n\n\n

In the example below, we will show how this test can be performed in Excel.<\/p>\n\n\n\n

Mood\u2019s Median Test in Excel<\/h2>\n\n\n\n

For our example, we will use two separate data sets, that will be located in columns A and B<\/strong>. They will show the grades of students from class A and class B<\/strong>:<\/p>\n\n\n\n

\"\"<\/figure>\n\n\n\n

Now we will take several steps for Mood\u2019s Median test.<\/p>\n\n\n\n

    \n
  1. Calculate MEDIAN<\/strong><\/li>\n<\/ol>\n\n\n\n

    The first thing that we need to do is to calculate the medians for both classes<\/strong>. We will insert the data in columns C and D<\/strong>. In cell C2<\/strong>, our formula will be:<\/p>\n\n\n\n

    =MEDIAN(A3:A12)<\/code><\/pre>\n\n\n\n

    And we will calculate the median for column B numbers in cell D2<\/strong>. This is what we will end up with:<\/p>\n\n\n\n

    \"\"<\/figure>\n\n\n\n
      \n
    1. Calculate Deviation<\/strong><\/li>\n<\/ol>\n\n\n\n

      For the second step, we calculate the absolute difference between the two medians<\/strong> by using the following formula (located in cell E2<\/strong>):<\/p>\n\n\n\n

      =ABS(C2-D2)<\/code><\/pre>\n\n\n\n

      And will get number 5<\/strong>:<\/p>\n\n\n\n

      \"\"<\/figure>\n\n\n\n
        \n
      1. Rank the data<\/strong><\/li>\n<\/ol>\n\n\n\n

        We need to rank our data, and the best way to do so is by using RANK.EQ formula<\/strong>. We will list all of our data in column F<\/strong>, and then will insert the formula:<\/p>\n\n\n\n

        =RANK.EQ(F2,$F$2:$F$21)<\/code><\/pre>\n\n\n\n

        In cell G2<\/strong>, and will drag this formula till the end of the list:<\/p>\n\n\n\n

        \"\"<\/figure>\n\n\n\n
          \n
        1. Sum of Ranks<\/strong><\/li>\n<\/ol>\n\n\n\n

          For the next thing, we need to sum ranks for both classes<\/strong>. As we are aware that the ranks for class A are located in range G2:G11<\/strong>, we will sum these cells and input them in cell H2<\/strong>. We will do the same thing for class B<\/strong>, and we will include the range G12:G21<\/strong>. The results will be 115 for class A<\/strong>, and 89 for class B<\/strong>, respectfully:<\/p>\n\n\n\n

          \"\"<\/figure>\n\n\n\n
            \n
          1. Calculating Test Statistics<\/strong><\/li>\n<\/ol>\n\n\n\n

            In another cell, cell J2<\/strong>, we will calculate the test statistic using the following formula:<\/p>\n\n\n\n

            =((H2-I2)^2)\/(H2+I2)<\/code><\/pre>\n\n\n\n

            Which will look at the sum of ranks for class A (cell H2)<\/strong>, and the sum of ranks for class B (cell I2)<\/strong>. The result that we will get will be 3.31<\/strong>:<\/p>\n\n\n\n

            \"\"<\/figure>\n\n\n\n
              \n
            1. Compare to Critical Value<\/strong><\/li>\n<\/ol>\n\n\n\n

              We must look at the critical value from a Chi-Squre distribution table<\/strong> with 1 degree of freedom<\/strong> and your chosen significance level (for example, 0.05)<\/strong>. The critical importance might be around 3.841<\/strong>.<\/p>\n\n\n\n

                \n
              1. Interpretation of Results<\/strong><\/li>\n<\/ol>\n\n\n\n

                The result obtained from the Mood’s Median Test helps us determine whether there is a statistically significant difference between the medians of the two groups. In our case, the groups are Class A and Class B, and we are comparing their student grades. Here’s what the result could indicate based on the test statistic and the critical value:<\/p>\n\n\n\n

                  \n
                • Null Hypothesis (H0):<\/strong> There is no significant difference<\/strong> between the medians of the two groups (Class A and Class B).<\/li>\n\n\n\n
                • Alternative Hypothesis (H1):<\/strong> There is a significant difference<\/strong> between the medians of the two groups.<\/li>\n<\/ul>\n\n\n\n

                  In our example, the calculated test statistic (3.31)<\/strong> is smaller than the critical value (3.841)<\/strong>. What this means to us is that we do not have enough evidence<\/strong> to reject the null hypothesis<\/strong>. Therefore, the final result based on the data that we have collected, is that we cannot conclude a significant difference<\/strong> in medians between Class A and Class B at the chosen significance level<\/strong>.<\/p>\n\n\n\n

                  The example shown here is simplified, and any real-world analysis would mean that we will probably have to reconsider assumptions, data quality, and the context in which we are working. Excel might not be the best tool for Mood\u2019s Median Test<\/strong>, and some other statistical tools can probably help us more.<\/p>\n","protected":false},"excerpt":{"rendered":"

                  Although Excel has many built-in formulas that fall under many categories: statistical, mathematical, logical, and many more, there are some things that cannot…<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[170],"yoast_head":"\nMood's Median Test in Excel\u00a0<\/title>\n<meta name=\"description\" content=\"Learn how to perform Mood\u2019s Median Test in Excel and compare the medians of two or more independent samples. Download the file here.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Mood's Median Test in Excel\u00a0\" \/>\n<meta property=\"og:description\" content=\"Learn how to perform Mood\u2019s Median Test in Excel and compare the medians of two or more independent samples. Download the file here.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-08-28T14:04:59+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-02-19T14:52:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png\" \/>\n<meta name=\"author\" content=\"Harun Spahic\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Harun Spahic\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/\"},\"author\":{\"name\":\"Harun Spahic\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2\"},\"headline\":\"Mood’s Median Test in Excel\u00a0\",\"datePublished\":\"2023-08-28T14:04:59+00:00\",\"dateModified\":\"2024-02-19T14:52:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/\"},\"wordCount\":662,\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png\",\"keywords\":[\"file\"],\"articleSection\":[\"formulas\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/\",\"url\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/\",\"name\":\"Mood's Median Test in Excel\u00a0\",\"isPartOf\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png\",\"datePublished\":\"2023-08-28T14:04:59+00:00\",\"dateModified\":\"2024-02-19T14:52:05+00:00\",\"description\":\"Learn how to perform Mood\u2019s Median Test in Excel and compare the medians of two or more independent samples. Download the file here.\",\"breadcrumb\":{\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#primaryimage\",\"url\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png\",\"contentUrl\":\"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png\",\"width\":194,\"height\":341},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/officetuts.net\/excel\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Mood’s Median Test in Excel\u00a0\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/officetuts.net\/excel\/#website\",\"url\":\"https:\/\/officetuts.net\/excel\/\",\"name\":\"\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/officetuts.net\/excel\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42\",\"name\":\"Tomasz Decker\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g\",\"caption\":\"Tomasz Decker\"},\"logo\":{\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\"},\"description\":\"Spreadsheet and Python enthusiast.\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2\",\"name\":\"Harun Spahic\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g\",\"caption\":\"Harun Spahic\"},\"sameAs\":[\"http:\/\/human.bsru.ac.th\/\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Mood's Median Test in Excel\u00a0","description":"Learn how to perform Mood\u2019s Median Test in Excel and compare the medians of two or more independent samples. Download the file here.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/","og_locale":"en_US","og_type":"article","og_title":"Mood's Median Test in Excel\u00a0","og_description":"Learn how to perform Mood\u2019s Median Test in Excel and compare the medians of two or more independent samples. Download the file here.","og_url":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/","article_published_time":"2023-08-28T14:04:59+00:00","article_modified_time":"2024-02-19T14:52:05+00:00","og_image":[{"url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png"}],"author":"Harun Spahic","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Harun Spahic","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#article","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/"},"author":{"name":"Harun Spahic","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2"},"headline":"Mood’s Median Test in Excel\u00a0","datePublished":"2023-08-28T14:04:59+00:00","dateModified":"2024-02-19T14:52:05+00:00","mainEntityOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/"},"wordCount":662,"publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png","keywords":["file"],"articleSection":["formulas"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/","url":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/","name":"Mood's Median Test in Excel\u00a0","isPartOf":{"@id":"https:\/\/officetuts.net\/excel\/#website"},"primaryImageOfPage":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#primaryimage"},"image":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#primaryimage"},"thumbnailUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png","datePublished":"2023-08-28T14:04:59+00:00","dateModified":"2024-02-19T14:52:05+00:00","description":"Learn how to perform Mood\u2019s Median Test in Excel and compare the medians of two or more independent samples. Download the file here.","breadcrumb":{"@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#primaryimage","url":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png","contentUrl":"https:\/\/officetuts.net\/excel\/wp-content\/uploads\/sites\/2\/2023\/08\/word-image-16215-1.png","width":194,"height":341},{"@type":"BreadcrumbList","@id":"https:\/\/officetuts.net\/excel\/formulas\/moods-median-test-in-excel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/officetuts.net\/excel\/"},{"@type":"ListItem","position":2,"name":"Mood’s Median Test in Excel\u00a0"}]},{"@type":"WebSite","@id":"https:\/\/officetuts.net\/excel\/#website","url":"https:\/\/officetuts.net\/excel\/","name":"","description":"","publisher":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/officetuts.net\/excel\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/41b0b6996aaa4c4127f86f3d24452d42","name":"Tomasz Decker","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/18cbe22837193574870ae40ba56bf712?s=96&d=mm&r=g","caption":"Tomasz Decker"},"logo":{"@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/"},"description":"Spreadsheet and Python enthusiast."},{"@type":"Person","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/694491c70f776081acdac4ae41f222a2","name":"Harun Spahic","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/officetuts.net\/excel\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b7b887a2249679182be5550a4421a7a9?s=96&d=mm&r=g","caption":"Harun Spahic"},"sameAs":["http:\/\/human.bsru.ac.th\/"]}]}},"_links":{"self":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/16215"}],"collection":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/comments?post=16215"}],"version-history":[{"count":2,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/16215\/revisions"}],"predecessor-version":[{"id":16224,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/posts\/16215\/revisions\/16224"}],"wp:attachment":[{"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/media?parent=16215"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/categories?post=16215"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/officetuts.net\/excel\/wp-json\/wp\/v2\/tags?post=16215"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}