cv.np {SurrogateBMA} | R Documentation |
Calculate prodiction MSE for nonparametric method
Description
Function to calculate prodiction MSE for nonparametric method.
Usage
cv.np(Y, S, A, Ytest, Stest, Atest)
Arguments
Y |
|
S |
|
A |
|
Ytest |
|
Stest |
|
Atest |
Value
a numeric value; MSE in cross-validation.
Author(s)
Yunshan Duan
References
Duan, Y. and Parast, L., 2023. Flexible evaluation of surrogate markers with Bayesian model averaging. Statistics in Medicine.
[Package SurrogateBMA version 1.0 Index]