param_estimates_compare | R Documentation |
Summarizes the parameter estimates from tibble like what's returned from
param_estimates_batch()
, showing you the quantiles passed to probs
,
likely interpreted as confidence intervals for your parameter estimates.
Optionally takes an "original model" to compare these quantiles against.
Originally conceived for comparing a model to multiple runs of the "same"
model, for example in a bootstrap or simulation.
param_estimates_compare(
.param_df,
.orig_mod = NULL,
.compare_cols = starts_with(c("THETA", "SIGMA", "OMEGA")),
probs = c(0.5, 0.025, 0.975),
na.rm = FALSE
)
.param_df |
A tibble with columns for each parameter and rows for each
model (like what's returned from |
.orig_mod |
|
.compare_cols |
An expression that can be passed to |
probs |
Numeric vector with values between 0 and 1 to be passed through to
|
na.rm |
Logical scalar, passed through to |
A tibble with the first column containing the parameter names (that
were column names in .param_df
), the second column optionally containing
original parameter estimates (if .orig_mod
is passed), and subsequent
columns containing the quantiles specified in probs
. You can think of
this as essentially .param_df
, summarized by quantiles across all rows,
and then pivoted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.