{"id":90004,"date":"2026-11-08T05:33:59","date_gmt":"2026-11-08T05:33:59","guid":{"rendered":"https:\/\/freestatisticaltools.com\/blog\/?p=fst-new-4"},"modified":"2026-11-08T05:33:59","modified_gmt":"2026-11-08T05:33:59","slug":"friedman-test","status":"publish","type":"post","link":"https:\/\/freestatisticaltools.com\/blog\/friedman-test\/","title":{"rendered":"Friedman Test: When to Use It, Example, Post Hoc Tests and APA Report"},"content":{"rendered":"<div class=\"fst-tool\"><span class=\"ico\"><svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"1.8\" stroke-linecap=\"round\" stroke-linejoin=\"round\" aria-hidden=\"true\"><path d=\"M3 17h4l3-10 4 14 3-8h4\"\/><\/svg><\/span><span><span class=\"t-eyebrow\">Free tool \u00b7 runs in your browser<\/span><a class=\"t-name\" href=\"https:\/\/freestatisticaltools.com\/friedman-test-calculator\/\" style=\"text-decoration:none;color:inherit\">Friedman Test Calculator<\/a><span class=\"t-desc\">Free Friedman test calculator for three or more related measurements: chi-square, mean ranks, Kendall\u2019s W and Bonferroni post-hoc Wilcoxon tests.<\/span><\/span><a class=\"btn accent\" href=\"https:\/\/freestatisticaltools.com\/friedman-test-calculator\/\" data-tool=\"friedman-test-calculator\">Open the tool \u2192<\/a><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Friedman test<\/strong> compares three or more <strong>related<\/strong> measurements, such as the same people tested under three conditions or at four time points, without assuming the data are normally distributed. It is the nonparametric alternative to <a href=\"https:\/\/freestatisticaltools.com\/blog\/repeated-measures-anova\/\">repeated measures ANOVA<\/a>, and it is the natural choice for ordinal outcomes such as Likert ratings or pain scores.<\/p>\n\n\n<div class=\"fst-takeaways\"><b>Key takeaways<\/b><ul>\n<li>Use it for one group measured three or more times (or matched sets of subjects).<\/li>\n<li>It ranks the scores <strong>within each person<\/strong>, then checks whether the average ranks differ.<\/li>\n<li>Report \u03c7\u00b2<sub>F<\/sub>(df) = value, p, and Kendall&#8217;s W as the effect size.<\/li>\n<li>If significant, follow up with pairwise Wilcoxon signed-rank tests and a Bonferroni or Holm correction.<\/li>\n<\/ul><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">When to use the Friedman test<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Choose the Friedman test when:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The <strong>same participants<\/strong> (or matched blocks) give a score under every condition.<\/li>\n\n\n<li>You have <strong>three or more<\/strong> conditions or time points. With only two, use the <a href=\"https:\/\/freestatisticaltools.com\/blog\/wilcoxon-signed-rank-test\/\">Wilcoxon signed-rank test<\/a>.<\/li>\n\n\n<li>The outcome is <strong>ordinal<\/strong> (ratings, ranks) or continuous but clearly non-normal, or there are outliers that would distort a repeated measures ANOVA.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If your groups are <strong>independent<\/strong> (different people in each group), use the <a href=\"https:\/\/freestatisticaltools.com\/blog\/kruskal-wallis-test\/\">Kruskal-Wallis test<\/a> instead. Not sure which test you need? See <a href=\"https:\/\/freestatisticaltools.com\/blog\/which-statistical-test-to-use\/\">which statistical test to use<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Hypotheses<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>H\u2080<\/strong>: the distributions of scores are the same under every condition (the mean ranks are equal).<\/li>\n\n\n<li><strong>H\u2081<\/strong>: at least one condition tends to give higher or lower scores than the others.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How the Friedman test works<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>For each participant, rank their scores across the conditions from 1 (lowest) to k (highest). Ties get the average rank.<\/li>\n\n\n<li>Add up the ranks for each condition (R\u2081, R\u2082, \u2026 R<sub>k<\/sub>).<\/li>\n\n\n<li>Calculate the test statistic:<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u03c7\u00b2<sub>F<\/sub> = [12 \/ (n k (k + 1))] \u00d7 \u03a3R<sub>j<\/sub>\u00b2 \u2212 3 n (k + 1)<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">where n is the number of participants and k the number of conditions. It follows a chi-square distribution with <strong>k \u2212 1 degrees of freedom<\/strong> (software applies a small correction for ties).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because ranking happens within each person, stable differences between people (some always rate everything high) are removed automatically, just as in repeated measures ANOVA.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Assumptions<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>One group measured on three or more occasions, or matched blocks.<\/li>\n\n\n<li>The participants are a random sample and independent of each other.<\/li>\n\n\n<li>The outcome is at least ordinal.<\/li>\n\n\n<li>No assumption of normality or sphericity.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Worked example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A clinic tests two pain-relief treatments against a placebo. Ten patients each try all three, in random order, and rate their pain from 0 to 10.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Patient<\/th>\n<th>Placebo<\/th>\n<th>Treatment A<\/th>\n<th>Treatment B<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>6<\/td>\n<td>4<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>7<\/td>\n<td>5<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>5<\/td>\n<td>5<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>8<\/td>\n<td>6<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>6<\/td>\n<td>3<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td>6<\/td>\n<td>7<\/td>\n<td>6<\/td>\n<td>5<\/td>\n<\/tr>\n<tr>\n<td>7<\/td>\n<td>5<\/td>\n<td>4<\/td>\n<td>2<\/td>\n<\/tr>\n<tr>\n<td>8<\/td>\n<td>6<\/td>\n<td>5<\/td>\n<td>3<\/td>\n<\/tr>\n<tr>\n<td>9<\/td>\n<td>8<\/td>\n<td>5<\/td>\n<td>6<\/td>\n<\/tr>\n<tr>\n<td>10<\/td>\n<td>7<\/td>\n<td>4<\/td>\n<td>4<\/td>\n<\/tr>\n<tr>\n<td><strong>Median<\/strong><\/td>\n<td><strong>6.5<\/strong><\/td>\n<td><strong>5.0<\/strong><\/td>\n<td><strong>4.0<\/strong><\/td>\n<\/tr>\n<tr>\n<td><strong>Mean rank<\/strong><\/td>\n<td><strong>2.95<\/strong><\/td>\n<td><strong>1.75<\/strong><\/td>\n<td><strong>1.30<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The test gives <strong>\u03c7\u00b2<sub>F<\/sub>(2) = 15.73, p &lt; .001<\/strong>. Pain ratings differ across the three conditions; placebo has the highest mean rank (most pain).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Effect size: Kendall&#8217;s W<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Kendall&#8217;s coefficient of concordance is the usual effect size for the Friedman test:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>W = \u03c7\u00b2<sub>F<\/sub> \/ (n (k \u2212 1)) = 15.73 \/ (10 \u00d7 2) = 0.79<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">W runs from 0 (no consistent pattern across people) to 1 (everyone ranks the conditions in the same order). Common guidelines are .10 small, .30 moderate and .50 large, so W = .79 is a large effect: most patients ranked the conditions in the same way.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Post hoc tests<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">A significant Friedman test tells you that the conditions are not all the same, not which ones differ. Run pairwise <strong>Wilcoxon signed-rank tests<\/strong> and correct for multiple comparisons. With three conditions there are three comparisons, so the Bonferroni correction multiplies each p by 3.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th>Comparison<\/th>\n<th>p<\/th>\n<th>p (Bonferroni)<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Placebo vs Treatment A<\/td>\n<td>.004<\/td>\n<td>.012<\/td>\n<\/tr>\n<tr>\n<td>Placebo vs Treatment B<\/td>\n<td>.002<\/td>\n<td>.006<\/td>\n<\/tr>\n<tr>\n<td>Treatment A vs Treatment B<\/td>\n<td>.086<\/td>\n<td>.258<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Both treatments reduced pain compared with placebo, but they did not differ significantly from each other. The Holm correction is a slightly more powerful alternative that leads to the same conclusion here. The Friedman calculator runs these comparisons for you with a Bonferroni correction.<\/p>\n\n\n<div class=\"fst-note warning\"><b>Friedman is not a test of medians<\/b><p>Like other rank tests, the Friedman test compares the overall distribution of ranks. Report medians and IQRs to describe the data, but phrase the conclusion in terms of &#8220;higher&#8221; or &#8220;lower&#8221; scores rather than claiming the medians differ.<\/p>\n<\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Friedman test vs repeated measures ANOVA<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table>\n<thead>\n<tr>\n<th><\/th>\n<th>Repeated measures ANOVA<\/th>\n<th>Friedman test<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Outcome<\/td>\n<td>Continuous, approx. normal<\/td>\n<td>Ordinal or non-normal<\/td>\n<\/tr>\n<tr>\n<td>Compares<\/td>\n<td>Means<\/td>\n<td>Mean ranks<\/td>\n<\/tr>\n<tr>\n<td>Extra assumption<\/td>\n<td>Sphericity<\/td>\n<td>None<\/td>\n<\/tr>\n<tr>\n<td>Effect size<\/td>\n<td>Partial \u03b7\u00b2<\/td>\n<td>Kendall&#8217;s W<\/td>\n<\/tr>\n<tr>\n<td>Post hoc<\/td>\n<td>Paired t-tests (corrected)<\/td>\n<td>Wilcoxon tests (corrected)<\/td>\n<\/tr>\n<\/tbody>\n<\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If your data meet the ANOVA assumptions, repeated measures ANOVA has more power. If they clearly do not, or your outcome is a single Likert item, the Friedman test is the safer choice. Check normality with the <a href=\"https:\/\/freestatisticaltools.com\/blog\/normality-test-shapiro-wilk\/\">Shapiro-Wilk test<\/a> on the differences.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">How to report it in APA 7<\/h2>\n\n\n<div class=\"fst-report\"><b>How to report it (APA 7)<button type=\"button\" data-copy-report>Copy<\/button><\/b><div><\/div><\/div>A Friedman test showed that pain ratings differed significantly across the three conditions, \u03c7\u00b2F(2) = 15.73, p < .001, Kendall's W = .79. Post hoc Wilcoxon signed-rank tests with a Bonferroni correction showed lower pain with Treatment A (Mdn = 5.0, p = .012) and Treatment B (Mdn = 4.0, p = .006) than with placebo (Mdn = 6.5). Treatments A and B did not differ significantly (p = .258).[\/fst_report]\n\n\n[fst_faq]<br \/>\n<details><summary>What is the Friedman test used for?<\/summary><div class=\"a\"><p>It compares three or more related measurements, such as the same people measured at several time points or under several conditions, when the data are ordinal or not normally distributed.<\/p>\n<\/div><\/details><br \/>\n<details><summary>What is the difference between the Friedman test and Kruskal-Wallis?<\/summary><div class=\"a\"><p>Friedman is for related (repeated or matched) measurements; Kruskal-Wallis is for independent groups with different people in each group.<\/p>\n<\/div><\/details><br \/>\n<details><summary>What post hoc test should I use after a Friedman test?<\/summary><div class=\"a\"><p>Pairwise Wilcoxon signed-rank tests with a Bonferroni or Holm correction are the most common choice. The Nemenyi and Conover tests are alternatives available in some software.<\/p>\n<\/div><\/details><br \/>\n<details><summary>How many participants do I need?<\/summary><div class=\"a\"><p>There is no strict minimum, but with fewer than about 10 participants the test has little power. A power analysis for repeated measures ANOVA, with a 10 to 15% increase, gives a rough sample size.<\/p>\n<\/div><\/details><br \/>\n<details><summary>Can I use the Friedman test for Likert scale data?<\/summary><div class=\"a\"><p>Yes. It is a good choice for a single Likert item measured several times. For multi-item scale scores that are roughly normal, repeated measures ANOVA is also acceptable. See our guide to analysing Likert scale data.<\/p>\n<\/div><\/details><br \/>\n[\/fst_faq]\n\n\n<aside class=\"fst-cta\"><span class=\"eyebrow\">Free \u00b7 No sign-up \u00b7 Private<\/span><h3>Run a Friedman test with post hoc tests<\/h3><p>Paste one column per condition and get \u03c7\u00b2, Kendall&#039;s W, mean ranks, Bonferroni-corrected Wilcoxon comparisons and an APA sentence.<\/p><a class=\"btn\" href=\"https:\/\/freestatisticaltools.com\/friedman-test-calculator\/\">Open the Friedman calculator \u2192<\/a><\/aside>\n","protected":false},"excerpt":{"rendered":"<p>The Friedman test is the nonparametric alternative to repeated measures ANOVA. This guide shows when to use it, how it works, a worked example with post hoc tests and Kendall&#8217;s W, and how to report the result in APA style.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_fst_seo_title":"Friedman Test: Example, Post Hoc, Kendall's W & APA Report","_fst_meta_desc":"The Friedman test compares three or more related measurements without assuming normality. Worked example, post hoc Wilcoxon tests, Kendall's W and APA.","_fst_primary_tool":"friedman-test-calculator","_fst_canonical":"","_fst_noindex":false,"_fst_no_toc":false,"_fst_no_autolink":false,"footnotes":""},"categories":[4],"tags":[],"class_list":["post-90004","post","type-post","status-publish","format-standard","hentry","category-nonparametric-tests"],"_links":{"self":[{"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/posts\/90004","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/comments?post=90004"}],"version-history":[{"count":1,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/posts\/90004\/revisions"}],"predecessor-version":[{"id":90014,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/posts\/90004\/revisions\/90014"}],"wp:attachment":[{"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/media?parent=90004"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/categories?post=90004"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/freestatisticaltools.com\/blog\/wp-json\/wp\/v2\/tags?post=90004"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}