View source: R/SurrogateBMA_functions.R
cv.np | R Documentation |
Function to calculate prodiction MSE for nonparametric method.
cv.np(Y, S, A, Ytest, Stest, Atest)
Y |
|
S |
|
A |
|
Ytest |
|
Stest |
|
Atest |
a numeric value; MSE in cross-validation.
Yunshan Duan
Duan, Y. and Parast, L., 2023. Flexible evaluation of surrogate markers with Bayesian model averaging. Statistics in Medicine.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.