| .ks_statistic | R Documentation |
The largest absolute difference between the two weighted empirical
distribution functions, evaluated at every observed value. Tied values are
summed into one step, so ties need no special treatment; with unit weights
this is the statistic of stats::ks.test(). Balance is described by
the statistic alone, without a p-value.
.ks_statistic(x, y, wx = rep(1, length(x)), wy = rep(1, length(y)))
The statistic, or NA when either sample is empty.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.