Description Usage Arguments Value Note Author(s)
Calculates the two-sample Kolmogorov-Smirnov statistic comparing the treated and control distributions y
. The result is intended to be used as a test statistic in a permutation test.
1 |
y |
Response variable (vector) |
tr |
Treatment variable (vector) |
tl |
The level of treatment variable (e.g., "treated" or 1) that indicates treated observations |
... |
Additional arguments (included for compatibility but ignored) |
A scalar test statistic
Returns NA if there are any missing values in y or tr.
Devin Caughey <devin.caughey@gmail.com>
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.