When to use it
You measured the same subjects/blocks under three or more conditions (e.g. three time points or three treatments) and the data are not normal, are ordinal, or contain outliers.
When not to: Exactly two related conditions are being compared (use the Wilcoxon signed-rank test instead), the groups are independent rather than related (use Kruskal-Wallis), the data are roughly normal and sphericity is plausible (repeated-measures ANOVA is more powerful in that case), or every subject shows an identical value across every condition (the statistic is mathematically undefined, not zero, and the card reports this honestly).
Step by step
Open it from the menu
Click Analyze in the menu bar; under Nonparametric choose Friedman Test.
Fill in the form
Choose the columns: Measurements (one column per condition). The form lists only columns whose type fits each field.
Check the options
The options start at their defaults: Alpha, Post-hoc test. Change one only when your question needs it.
Run the analysis
Press Run analysis. The Result Card opens on its Results tab.
What to choose in the form
| Measurements (one column per condition) Measurements required | One numeric or ordered categorical column. Three or more related condition columns (wide format). |
|---|---|
| Alpha | Significance threshold. Default: 0.05. |
| Post-hoc test | Pairwise comparison method when the test is significant. Default: Wilcoxon (Bonferroni). |
How to read the card
The Results tab starts with what to know first (rows left out, checks that did not pass), then the interpretation in words and the Key Results; charts and assumption checks follow further down. Learn More explains the method in plain words. Read a Result Card covers all four tabs.
What it assumes
- Independence of observations
If it does not hold: Friedman's test assumes the SAME subjects/blocks appear in every condition (a within-subject design); comparing unrelated groups instead would need Kruskal-Wallis, not Friedman.
How to check: Not checked by KernelStats as a statistical test: assumed from the design; the card states this directly, and separately drops any row missing a condition so every remaining block is complete, as the ranking procedure requires.
A worked example
Reaction times measured on the same 20 participants under three drug conditions (placebo, low dose, high dose).
Result: chi2_F(2) = 14.3, p < .001, Kendall's W = 0.36 (moderate agreement); post-hoc Bonferroni-corrected Wilcoxon shows placebo vs. high dose significant (p = .003), placebo vs. low dose not significant (p = .21).
Reaction times differ meaningfully across at least some of the three conditions, with moderate agreement among participants about the ordering; the post-hoc comparisons pin down that the high dose specifically differs from placebo, while the low dose does not yet show a reliable difference from placebo at this sample size.
From the Statistics Library.
The code tabs
Code gives this analysis as Python, R and MATLAB code (and SAS where the tab offers it), reading the data the way KernelStats did. Export sends the card to a report or to slides. See The Code tab.
Understand the statistics
Ask Oobi
Type one of these into Ask Oobi beside your data:
- Do reaction times differ across three drug conditions measured on the same participants?
- Explain the Friedman test in plain words.
- What does independence of observations mean?
Last reviewed November 16, 2026.
