% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods.R
\name{summary.mixgpd_fit}
\alias{summary.mixgpd_fit}
\title{Summarize posterior draws from a one-arm fitted model}
\usage{
\method{summary}{mixgpd_fit}(object, pars = NULL, probs = c(0.025, 0.5, 0.975), ...)
}
\arguments{
\item{object}{A fitted object of class \code{"mixgpd_fit"}.}

\item{pars}{Optional character vector of parameters to summarize. If NULL, summarize all (excluding v's).}

\item{probs}{Numeric vector of quantiles to report.}

\item{...}{Unused.}
}
\value{
An object of class \code{"mixgpd_summary"}.
}
\description{
\code{summary.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 \code{\link{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{
\donttest{
y <- abs(stats::rnorm(25)) + 0.1
bundle <- build_nimble_bundle(y = y, backend = "sb", kernel = "normal",
                             GPD = TRUE, components = 3,
                             mcmc = list(niter = 100, nburnin = 50, thin = 1, nchains = 1))
fit <- run_mcmc_bundle_manual(bundle)
summary(fit, pars = c("alpha", "threshold"))
}
}
\seealso{
\code{\link{print.mixgpd_fit}}, \code{\link{params}},
\code{\link{predict.mixgpd_fit}}, \code{\link{ess_summary}}.
}
