For objects produced by hbam()
, this function is a wrapper for rstan::summary()
. For objects produced by fbam()
it offers a way to extract point estimates.
get_est(
object,
par = "theta",
format_orig = FALSE,
probs = c(0.025, 0.5, 0.975),
simplify = TRUE,
...
)
A tibble containing summaries of marginal posterior distributions. For objects produced by fbam()
, only maximum a posteriori estimates are returned.
An instance of class stanfit
produced by hbam()
, or a list produced by fbam()
.
Character: Name of the parameter type to be extracted. Typically "theta"
(stimuli positions) or "chi"
(respondent positions).
Logical: Should individual-level parameters be mapped to the original dataset by returning rows of NAs for respondents who were not included in the analysis? Defaults to FALSE
.
A numeric vector of quantiles of interest for summarizing stanfit
objects.
Logical: Should the returned object be simplified by dropping the Monte Carlo standard error and the posterior standard deviation? Defaults to TRUE
.
Other arguments are passed on to rstan::summary()
when summarizing stanfit
objects.