
Tidy a beezdiscounting_tmb model into a coefficient tibble
Source:R/dd-tmb-methods.R
tidy.beezdiscounting_tmb.RdReturns fixed-effect rows (the log-k coefficients) and/or variance-component rows, following the broom coefficient-table contract.
Arguments
- x
A
beezdiscounting_tmbobject.- effects
Character vector:
"fixed"(log-k fixed-effect rows),"ran_pars"(the RE SD and the auxiliary precision/scale parameter), or both (default).- report_space
"natural","log10","internal", or"log"- reporting scale for fixed-effectestimate/std.error("internal"and"log"coincide for the log-kbeta_krows). Default is"natural".- ...
Unused.
Value
A tibble with exactly 8 columns in this order: term, estimate,
std.error, statistic, p.value, component, estimate_scale,
term_display. Fixed-effect rows carry component == "fixed"; the
shape-parameter row (2-parameter equations only) carries
component == "shape"; variance rows carry component == "variance".
Details
estimate and std.error are reported on the report_space scale for the
fixed-effect (beta_k) rows. statistic and p.value are always computed
on the estimation (log-k) scale - Wald statistics are not recomputed after
back-transforming (broom convention; see the summary() note for details).
Variance-component rows carry NA for statistic and p.value and are not
affected by report_space.