Is it possible to calculate Eta-squared from Kruskal-Wallis test results? I know how to do it by hand for the ANOVA or Mann-Whitney using the Z-statistics, but i must use the KW test for my current data. The KW test using the "kruskal.test" function gives a "Chi-squared" value instead of Z-statistics, so i am not sure how to do it by hand.
I need to make conclusions that "factor (X) explains ___ of the variance in Y". So producing Eta-squared (or similar) is necessary.