summary.smoothbp_ss_fit: Summarise a smoothbp_ss_fit

View source: R/postprocess_ss.R

summary.smoothbp_ss_fitR Documentation

Summarise a smoothbp_ss_fit

Description

Returns a data frame of posterior summaries for selected parameters.

Usage

## S3 method for class 'smoothbp_ss_fit'
summary(object, effects = "all", digits = 3, ...)

Arguments

object

A smoothbp_ss_fit object.

effects

Character vector controlling which parameters are included. Accepted values:

"fixed"

Population-level regression coefficients (b0, b1, b2, \omega, \rho), residual SD, and spike-and-slab indicator variables (\gamma).

"ran_pars"

Random-effect variance parameter \sigma_u.

"ran_vals"

Individual group-level deviations u_j.

"all"

All of the above (default).

digits

Number of decimal places. Default 3.

...

Unused.

Value

A data frame with one row per selected parameter and columns variable, mean, sd, Q2.5, Q97.5, rhat, ess_bulk, ess_tail. For gamma (spike-and-slab) parameters, the mean column contains the posterior inclusion probability (PIP).


smoothbp documentation built on June 14, 2026, 9:06 a.m.