Summary Method for Hierarchical Models
summary.rhierMnlRwMixture.RdComputes model diagnostics including acceptance rates, posterior mean betas, BART variable importance, and Bayesian R².
Usage
# S3 method for class 'rhierMnlRwMixture'
summary(object, Z = NULL, burn = 0, coefs = NULL, r_verbose = FALSE, ...)
# S3 method for class 'rhierLinearMixture'
summary(object, Z = NULL, burn = 0, coefs = NULL, r_verbose = FALSE, ...)
# S3 method for class 'rhierNegbinRw'
summary(object, Z = NULL, burn = 0, coefs = NULL, r_verbose = FALSE, ...)Arguments
- object
A fitted hierarchical model object.
- Z
Optional matrix of unit-level characteristics for R² computation. If
NULLand cached DeltaZ draws exist, in-sample R² is still computed.- burn
Number of initial draws to discard (thinned units).
- coefs
Integer vector of coefficient indices for R². Default: all.
- r_verbose
Print progress? Default FALSE.
- ...
Ignored.