Calculate MSE for Bandwidth Selection using Cross-Validation
mse_cv(
bw,
landpred_obj,
t0,
tau,
transform = identity,
reps = 50,
train_prop = 0.66
)The Mean Squared Error.
The bandwidth to test.
The landpred object.
The landmark time.
The prediction window.
Transformation function for short-term event.
Number of repetitions.
Proportion of data to use for training.