karoliskoncevicius / matrixTests

R package for computing multiple hypothesis tests on rows/columns of a matrix or a data.frame
https://cran.r-project.org/web/packages/matrixTests/index.html
36 stars 5 forks source link

Add Kolmogorov-Smirnov test #33

Closed karoliskoncevicius closed 1 year ago

karoliskoncevicius commented 1 year ago

Add a KS test to compare distribution of two samples (ks.test() in base R stats package).

For now focus on two sample variant and name it row_kolmogorovsmirnov_twosample().

Later, if necessary, a version that compares a single sample against a named distribution can be added.

karoliskoncevicius commented 1 year ago

Implemented in current dev branch: https://github.com/karoliskoncevicius/matrixTests/commit/b9dadd6114b4c2fe9999269ea65a615b204770bf