How to use this calculator
Compare three or more paired conditions by ranking each subject’s repeated measurements internally.
- Enter Rows are subjects, columns are conditions, Conditions per subject. Match the units shown beside each field and review the result together with the assumptions below.
- Read the worked example below to check the expected input format and result.
- Compare another scenario by changing one input at a time. Use Reset to return to the starting values.
Friedman repeated measures rank test explained
Use Rows are subjects, columns are conditions with Conditions per subject to reproduce the sample calculation, then review the stated limits before carrying the result into another scenario.
How the calculation works
Within-subject ranks and tie-corrected chi-square
Complete subject rows only; chi-square p-value is an approximation and can be poor for small subject counts..
Set up the calculation
x— Rows are subjects, columns are conditions- Rows are subjects, columns are conditions. Use comma-separated values in the stated order.
k— Conditions per subject- Conditions per subject. Enter a whole number.
Limits of this model
Complete subject rows only; chi-square p-value is an approximation and can be poor for small subject counts.
Check this example
Rows are subjects, columns are conditions = 1, 2, 3, 2, 3, 1, 1, 3, 2, 2, 4, 3; Conditions per subject = 3.
- Friedman chi-square: 4.5
- Degrees of freedom: 2
- Approximate p-value: 0.10539922
Displayed values are rounded only after calculation.
Frequently asked questions
How should I arrange values?
Finish all conditions for subject one, then subject two, and so on.
Can observations be missing?
No, use complete matched rows.
Is this for independent groups?
No.
How do I use the Friedman repeated measures rank test calculator?
Enter Rows are subjects, columns are conditions, Conditions per subject. Match the units shown beside each field and review the result together with the assumptions below.
What is a worked example of Friedman repeated measures rank test?
Rows are subjects, columns are conditions = 1, 2, 3, 2, 3, 1, 1, 3, 2, 2, 4, 3; Conditions per subject = 3. Friedman chi-square: 4.5 Degrees of freedom: 2 Approximate p-value: 0.10539922 Displayed values are rounded only after calculation.
Method reference: SciPy friedmanchisquare definition.
Read our calculation methodology.