Summarize posterior draws from a one-arm fitted model
summary.mixgpd_fit.Rdsummary.mixgpd_fit() computes posterior summaries for monitored model
parameters.
Details
The returned table is a parameter-level summary of the posterior draws, not a
predictive summary. Use predict.mixgpd_fit for posterior
predictive quantities such as densities, survival probabilities, quantiles,
and means.
The summary respects the stored truncation metadata and reports WAIC if it was requested during MCMC.
Examples
if (FALSE) { # \dontrun{
y <- abs(stats::rnorm(50)) + 0.1
bundle <- build_nimble_bundle(y = y, backend = "sb", kernel = "normal",
GPD = TRUE, components = 6,
mcmc = list(niter = 200, nburnin = 50, thin = 1, nchains = 1))
fit <- run_mcmc_bundle_manual(bundle)
summary(fit, pars = c("alpha", "threshold"))
} # }