I designed a factorial experiment involving 2 explanatory variables (A and B, qualitative). Because I couldn’t achieve the assumptions of a parametric model, I used kruskal.test on the variable to explain (VAR) for A and B like: kruskal.test(VAR ~ A, data = data) and kruskal.test(X ~ B, data = data).

But, I was also interested in the effect of “A and B interaction” on VAR. So, does anybody know if it is right to perform a kruskal-Wallis test on interactions? Here, what I did it with R:

interAB

Similar questions and discussions