I read online that kruskal-wallis test (KS test) is popularly used for checking if the medians of different samples are equal, although it was initially developed to check i