Get prediction variance with given fit, tmb_data with the Monte Carlo sampling method.
tmb_data
h_get_prediction_variance(object, nsim, tmb_data)
object
(mmrm_tmb) the fitted MMRM.
mmrm_tmb
nsim
(count) number of samples.
count
(mmrm_tmb_data) object.
mmrm_tmb_data