ks | R Documentation |
ks
returns a list containing the value of the test statistic, the
approximate .05 critical value, and the exact significance level if sig=T.
ks(x, y, w = FALSE, sig = TRUE, alpha = 0.05)
x, y |
Two vectors. Missing values are automatically removed. |
w |
TRUE or FALSE. Set w to FALSE to use the standard version. Set w to TRUE to use a weighted version, which is more sensitive to differences occuring in the tails of the distributions. |
sig |
TRUE to use the exact significance level. If there are ties, the reported significance level is exact when using the unweighted test, but for the weighted test the reported level is too high. |
From Rallfun-v32.txt - see https://github.com/nicebread/WRS/
This function uses the functions ecdf, kstiesig, kssig and kswsig
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.