Information on Computations Performed Duration Model Fitting
Source:R/bage_mod-methods.R
computations.Rd
Get information on computations performed by function fit()
.
The information includes the total time used for fitting, and
the time used for two particular tasks that can be slow:
running the optimizer stats::nlminb()
,
and drawing from the multivariate normal returned
by the TMB. It also includes values returned by the optimizer:
the number of iterations needed, and messages about convergence.
Value
A tibble with the following variables:
time_total
Total duration, in seconds, of the fitting process.time_optim
Time used by optimizer (stats::nlminb()
)time_draws
Time used drawing drawing from multivariate normaliter
Number of iterations required bystats::nlminb()
message
Message about convergence returned bystats::nlminb()
.
See also
mod_pois()
,mod_binom()
,mod_norm()
Specify a modelfit()
Fit a modeltidy()
Summarise a modelset_n_draw()
Specify number of posterior draws