Usage of the Friedman test I have done an experiment in which I have measured the energy required to chew three different food samples on 10 subjects with 3 repetitions per sample. I am interested therefore in finding out whether there is a difference between samples according to the energy consumed.
I have performed a Friedman test by ranks followed by multiple comparison procedure (Tukey's honestly significat difference for ranks) as Friedman test was significant.
However someone told me that for using that test I should make sure that the error for order effect was not significant, ans I don't fully understand this.
I provided my samples in the same order for all subjects. That is A,B,C -A1 B1 C1 and A3 B3 C3 for each subject.
I will be very grateful if you can tell me


*

*whether the test I used (Friedman) is the correct for my purpose?

*whether the sequence in which I gave the samples affects my result from Friedman test?

*if what I have done is incorrect, what to do instead?

 A: *

*Given your data, the Friedman test sounds like the right approach.  I am not aware of there being any agreement regarding the post hoc testing.  One of the commenters refers to the Nemenyi test, but it has pretty low power.  Using Tukey HSD on the ranks (which I assume is what you have done), is probably OK but I doubt you will find much academic literature to support that approach.

*The sequence can have an impact.  Imagine that the subject was tired after the first sample.  Then, by the time they got to the second sample, it may take longer.  Or, even if fatigue was not at issue, something else could occur (e.g., people got bored towards the end of the experiment).  Your experiment in its current form confounds the order with which the samples were test with the three different food samples and there is no statistical way of disentangling these and working out whether order did or did not have an impact.

*The standard approach when conducting sensory research is to randomize the order with people are given the samples (or, use an experimental design and allocate people into different blocks with different pre-determined orders).  Then, you can estimate a general linear model or ANOVA which takes into account the order as well as the food samples, permitting you to disentangle the different effects.

