Description Usage Arguments Details Value References See Also Examples
This function is used to calculate the Kolmogorov-Smirnov statistic: D(F_1, F_2) = \sup_{x}|F_1(x) - F_2(x)| .
1 | test_stat (F1, F2)
|
F1 |
vector of one distribution function value. |
F2 |
vector of the other distribution function value. |
It is necessary to point out that F1
and F2
are based on common grids. Other technical details can be found in Wang et al. (2015).
This function returns a list of prediction values for classes,
out |
value of Kolmogorov-Smirnov statistics. |
Wang, Y., Liang, B., Tong, X., Marder, K., Bressman, S., Orr-Urtreger, A., Giladi, N. & Zeng, D. (2015). Efficient estimation of nonparametric genetic risk function with censored data. Biometrika, 102(3), 515-532.
1 2 3 4 5 6 7 8 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.