Multcompare for friedman structure

16 views (last 30 days)
Agamemnon Krasoulis
Agamemnon Krasoulis on 26 Sep 2014
Hi there,
Does anyone know what kind of pairwise test the multcompare function perform, when the input stats structure comes from a friedman test? On the description, only the t-test is mentioned, however this is not relevant to friedman tests which are usually employed under non-normality assumptions.
Multiple-comparison results also look a bit funny for friedman tests. For example, although a significant factor is discovered during the friedman test (p<1e-24) no significant differences come across during the multiple comparisons, -when it is obvious from the data that there are some-.
I've had a look at the multcompare.m source code, but couldn't figure what pairwise test is performed, although it seems to me that this is the same regardless of the stats.source.
Any help would be appreciated.
Agamemnon
  1 Comment
Ernesto Soares
Ernesto Soares on 22 Mar 2017
I have the exact same problem. Have you fixed it? How? Thanks! Ernesto

Sign in to comment.

Answers (1)

Jeremy Kemmerer
Jeremy Kemmerer on 1 Oct 2014
Hi Agamemnon,
The function ‘multcompare’ should accept a ‘stats’ structure from the function ‘friedman’ without any problems. While it seems strange that you would see such a low p-value from the ‘friedman’ test but see no significant differences pair-wise, I believe this does happen in practice. Does the graph produced by ‘multcompare’ show groups that are far apart?
Also, by default, MATLAB uses a ‘tukey-kramer’ critical value for data sets generated from ‘friedman.’ This critical value can be changed by changing the ‘ctype’ parameter, although other values may be more conservative.
  3 Comments
gbernardi
gbernardi on 31 Mar 2017
I'm in the same situation described here. Has there been any update?
Christian Tieber
Christian Tieber on 4 Aug 2022
Same problem here. No updates yet?

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!