Returns posterior equal-tailed quantile-based credible intervals
(not highest-posterior-density, HPD). Built directly from
quantile(object$BETA, c(alpha/2, 1-alpha/2)) and
quantile(object$VC, ...). These are Bayesian credible intervals, not
frequentist confidence intervals.
Arguments
- object
fitted AME / LAME model.
- parm
character vector of parameter names, or numeric indices. When
parmis character, both BETA names (e.g."intercept","x1_dyad"; on a fit with coefficient paths a name selects that coefficient in every period,"x1_dyad[t2]"one period) and variance-component names ("va","vb","cab","rho","ve") are accepted; on a unipartite binary panel carrying fewer than one event per actor-period the"va","vb"and"cab"intervals areNA, because the panel carries too few events per actor-period to estimate those variances (the draws stay inobject$VC), unless the effects prior was supplied, when they are the intervals under that prior.NULL(default) returns intervals for the regression coefficients only, the parameterscoef()reports; name variance components inparmto include them. In adynamic_betafit with AR(1) coefficient paths,"mu_beta"selects the long-run mean of every such path and"mu_beta[x1_dyad]"that of one coefficient. Numeric indices select coefficient rows.- level
credible level (default 0.95).
- ...
additional arguments (ignored).
Note on interval type
These are equal-tailed quantile intervals, not HPD. For an HPD interval use
e.g. coda::HPDinterval on the columns of object$BETA and
object$VC directly.