% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/methods.R
\name{params}
\alias{params}
\title{Extract posterior mean parameters in natural shape}
\usage{
params(object, ...)
}
\arguments{
\item{object}{A fitted object of class \code{"mixgpd_fit"}.}

\item{...}{Unused.}
}
\value{
An object of class \code{"mixgpd_params"} (a named list). For
causal fits, \code{params()} returns a treated/control pair and includes
a \code{ps} block when a propensity-score model was fitted.
}
\description{
\code{params()} reshapes posterior mean summaries back into the parameter
layout implied by the fitted model specification.
}
\details{
This extractor is intended for structural inspection of the fitted model.
Scalar quantities remain scalar, component-specific parameters are returned as
vectors, and linked regression blocks are returned as matrices with covariate
names as columns when available. If propensity-score adjustment is active for
a linked bulk parameter, its coefficient is folded into the returned beta
matrix as a leading \code{"PropScore"} column.

For a spliced model, the extractor returns posterior means of the bulk
mixture parameters together with component-level threshold, tail-scale, and
tail-shape terms. When tail terms are link-mode, the corresponding
component-by-covariate beta blocks are returned.
}
\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)
params(fit)
p <- params(fit)
}
}
\seealso{
\code{\link{summary.mixgpd_fit}}, \code{\link{predict.mixgpd_fit}},
\code{\link{ess_summary}}.
}
