cv.np: Calculate prodiction MSE for nonparametric method
Description
Function to calculate prodiction MSE for nonparametric method.
Usage
cv.np(Y, S, A, Ytest, Stest, Atest)
Value
a numeric value; MSE in cross-validation.
Arguments
- Y
-
- S
-
- A
-
- Ytest
-
- Stest
-
- Atest
-
References
Duan, Y. and Parast, L., 2023. Flexible evaluation of surrogate markers with Bayesian model averaging. Statistics in Medicine.