Dynamic risk prediction is a powerful tool to estimate the future risk of study subjects with data involves time-dependent information, including repeatedly measured covariates, intermediate events, and time-varying covariate effects. The quantity of interest for dynamic risk prediction is the probability of failure at the prediction horizon time conditional on the status at the prediction base...