We repeatedly faced a problem when analyzing data in behavioral studies. In more sophisticated experimental designs, we need to handle more factors (e.g., a pharmacological treatment and a physiological condition) together in the statistical design. It is not rare in behavioral tests that the data is not normally distributed, thus, we need to use non-parametric tests. However, Kruskal-Wallis and Friedman tests are designed only for one between- / within-subject factor (at least in softwares and in sources I read).
Does anyone know a good solution for these situations?