I wanted to run a TWO-way ANOVA but unfortunately, my variables are non-parametric. I have tried transforming the data but that did not work. I was wondering what the next step was? I was thinking of conducting two separate tests, a Friedman's test as a non-parametric alternative to examine within-group effects and a Kruskal-Wallis test to examine between-group effects. I imagine this increases my chances of error but i cannot think/find another solution. Any help would be extremely appreciated. Thank you in advance,

Brett