I would like to compare task time to completion distributions (measured in minutes) across two groups. The distributions are highly skewed (the means are 300 to 400 times larger than the medians) and multimodal. I have a few thousand observations per group.
In particular, I am interested in testing whether the test group is completing the task faster.
Examining the distributions visually and comparing their quantiles, the test group appears to show faster task completion times.
I've tried using the Whitney Mann U test and Kolmogorov Smirnov test (like below) testing for whether the test group time to completions are faster, conducting one-sided tests. The KS test gives a smaller p-value.
Which test is more appropriate in this use case? I've read that the KS test has more power when testing continuous variables. Is this correct? And would that explain why it's giving smaller p-values?
wilcox.test(test, control, alternative = "l")
ks.test(test, control, alternative = "g")