rmse_calculate {gfoRmula} | R Documentation |
This internal function calculates root mean square error (RMSE) for the covariate (and the outcome and competing event, if applicable) models fit on the observed data.
rmse_calculate(i, fits, covnames, covtypes)
i |
Integer specifying the index of |
fits |
List of fitted models. |
covnames |
Vector of character strings specifying the names of the time-varying covariates in |
covtypes |
Vector of character strings specifying the "type" of each time-varying covariate included in |
The RMSE for the model.