The Friedman test is a non-parametric statistical test that is used as an alternative to repeated measures ANOVA when the data is ordinal or not normally distributed. It compares the median values across three or more related groups or time points. Unlike ANOVA, it does not assume normal distribution of the data or equal intervals between ranks. The Friedman test determines if there are statistically significant differences in the distributions of a dependent variable among multiple groups or time points. It is appropriate to use when the underlying data is on an ordinal scale or highly skewed.