gtsummary
gtsummary copied to clipboard
Feature request: Kolmogorov-Smirnov's test
Is your feature request related to a problem? Please describe. I'd like to be able to use kolmogorov-smirnov's test which is implemented in baseR as ks.test as an alternative to wilcoxon/mannwhitneyU.
Describe the solution you'd like Being able to specify in the add_p function to use "ks.test"
Additional context Wilcoxon makes a strong assumption that the populations tested have the same distribution, it is essentially blind to spread but powerful to test differences in location. Kolmogorov-Smirnovs test is a better test to determine if distributions are equal.
https://stats.stackexchange.com/questions/415889/kolmogorov-smirnov-test-vs-wilcoxon-signed-rank-test-for-two-samples