Given a sample of parameter vectors, simulate the condensed state simulation history for each ... TODO
simulate_ensemble(
model,
sim_params_matrix = NULL,
covmat = NULL,
qvec = c(value = 0.5, lwr = 0.025, upr = 0.975),
use_progress_bar = TRUE,
...
)flexmodel object, preferably a
flexmodel_calibrated object that was fitted with
bbmle_flexmodel or calibrate_flexmodel
numberic matrix with rows giving simulation iterations and columns giving model parameters
not used
named numeric vector giving quantiles to compute
should a progress bar be printed?
arguments to pass on the pop_pred_samp, which
is actually doing the sampling from the distribution of parameters.
useful parameters here include the sample size, n (default 1000),
and PDify = TRUE that can solve issues with non-positive definite
matrices.
Other simulation:
deprecated_simulation_functions,
simulation_history()