rmse_calculate {gfoRmula} | R Documentation |
Calculate RMSE for Covariate, Outcome, and Competing Risk Models
Description
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.
Usage
rmse_calculate(i, fits, covnames, covtypes)
Arguments
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 |
Value
The RMSE for the model.
[Package gfoRmula version 1.1.1 Index]