do_ks: Compute Kolmogorov-Smirnov Test for most extreme conditions
Description
This test is used for survival analysis between the most extreme conditions,
so the ones with the most different rates of dropout.
This function automatically prepares your data and runs stats::ks.test() on it.
Usage
do_ks(do_stats, question)
Value
Returns result of Kolmogorov-Smirnoff test including which conditions have the most different dropout rates.
Arguments
do_stats
A data frame made from compute_stats(), containing information on the percent remaining per question per condition
question
Index of question to be included in analysis, commonly the last question of the survey.