Friedman Test Calculator with Nemenyi Post-Hoc Test and Kendall's W
The Friedman test compares three or more related conditions when the data are ranks, scores or clearly non-normal: the same panellists tasting several products, the same patients under several treatments, or treatments within blocks. Paste one row per subject (or block) and one column per condition to get the Friedman χ², Kendall’s W, Nemenyi and Conover post-hoc tests with compact letters, and box plots.
- PriceFree, no login or sign-up needed
- Your dataProcessed in your browser, never uploaded
- Works onPhone, tablet or computer, any modern browser
- Made byDr. Muhammad Aammar Tufail, Codanics
- Published17 November 2026
- Last updated16 November 2026
📚 How to cite this tool
This tool is free. If it helped your thesis, paper, report or assignment, please cite it. It keeps the tools free and helps other students find them.
Tufail, M. A. (2026). Friedman test calculator [Online tool]. Codanics. Retrieved 16 November 2026, from https://codanics.com/tools/friedman-test-calculator/
In-text citation: (Tufail, 2026) · Narrative: Tufail (2026)
The access date is today’s date, filled in automatically. Author: Muhammad Aammar Tufail. Published 17 November 2026.
How to use the Friedman Test Calculator
- Paste your data with one row per subject (panellist, patient or block) and one column per condition, with the condition names in the first row. Long format (subject, condition, value) is converted automatically.
- Choose the post-hoc test. Nemenyi is the classic choice and controls the error rate over all pairs; Conover is more powerful and lets you pick the p-value adjustment.
- Click Run Friedman test. Read χ², the p-value and Kendall’s W, then the post-hoc table and the letters.
- Copy the APA sentence and tables, and download the box plot with letters for your thesis.
When to use the Friedman test
The Friedman test is the non-parametric alternative to the one-way repeated-measures ANOVA (and to a randomised complete block design analysed by ANOVA). It ranks the values within each subject or block and tests whether some conditions tend to get higher ranks than others. Use it when:
- the same subjects are measured under three or more conditions, or treatments are applied within blocks;
- the outcome is ordinal (taste scores, Likert ratings, disease severity) or clearly non-normal with a small sample.
| Design | Parametric | Non-parametric |
|---|---|---|
| 2 related conditions | Paired t-test | Wilcoxon signed-rank |
| 3+ related conditions | Repeated-measures ANOVA | Friedman |
| 3+ independent groups | One-way ANOVA | Kruskal–Wallis |
| Yes/no outcome, 3+ related conditions | Cochran’s Q | |
Formulas
The Friedman χ² matches R’s friedman.test (with tie correction), and the Nemenyi and Conover post-hoc tests match frdAllPairsNemenyiTest and frdAllPairsConoverTest from the PMCMRplus package.
Worked example
Twelve panellists scored four recipes on a 1–9 scale. The Friedman test gives χ²(3, N = 12) = 27.00, p < .001, with Kendall’s W = .75, a strong and consistent preference. The Nemenyi test shows that recipe A (highest mean rank, letter a) was ranked higher than recipes B and D, and recipe C higher than recipe D.
Assumptions
- The blocks (subjects) are independent of each other and every block has a value for every condition.
- Values can be ranked within each block. No normality or equal-variance assumption is needed.
Frequently asked questions
What post-hoc test should I use after a Friedman test?
The Nemenyi test is the classic choice; it compares all pairs and controls the family-wise error rate, but it is conservative. The Conover test is more powerful and lets you choose an adjustment such as Holm. Pairwise Wilcoxon signed-rank tests with a Holm correction are another common option.
How do I report the effect size for a Friedman test?
Report Kendall’s W = χ² / (n(k − 1)). It ranges from 0 (no agreement among subjects on the order of conditions) to 1 (complete agreement). Rough guidelines: .1 small, .3 moderate, .5 large.
What is the Iman–Davenport correction?
Iman and Davenport (1980) showed that the Friedman χ² is conservative and proposed an F version of it. It gives smaller p-values and is often reported in machine-learning comparisons of algorithms. The tool shows both.
Can I use the Friedman test with missing values?
The standard test needs complete blocks, so rows with a missing value are left out and the number left out is reported. If many values are missing, consider a mixed-effects model instead.
Is the Friedman test the same as a two-way ANOVA on ranks?
Not exactly, but it is closely related: it is equivalent to ranking within blocks and testing the treatment effect. That is why it is used for randomised complete block designs with non-normal or ordinal data.
Is my data uploaded?
No. Everything runs in your browser.
Do I need to log in or create an account to use the Friedman Test Calculator?
No. There is no login, no sign-up and no email required. Open the page and start using it straight away, for free, on any device.
How do I cite this tool in my thesis or paper?
Use the citation box on this page. In APA 7th edition: Tufail, M. A. (2026). Friedman test calculator [Online tool]. Codanics. Retrieved [date you used it], from https://codanics.com/tools/friedman-test-calculator/. BibTeX, RIS (EndNote, Mendeley, Zotero), MLA, Harvard, Chicago and Vancouver formats are also available.
Free guides and courses from Codanics
More free tools
See all free Codanics tools → · Codanics on YouTube · WhatsApp channel