getParamCoef: Get a Bayesian Parameter Vector Summary

View source: R/stanMisc.r

getParamCoefR Documentation

Get a Bayesian Parameter Vector Summary

Description

Retrieves posterior mean, median, or mode (if available)

Usage

getParamCoef(
  fit,
  posterior.summary = c("mean", "median", "mode"),
  what = c("both", "betas", "taus")
)

Arguments

fit

a Bayesian model fit from rmsb

posterior.summary

which summary statistic (Bayesian point estimate) to fetch

what

specifies which coefficients to include. Default is all. Specify what="betas" to include only intercepts and betas if the model is a partial proportional odds model (i.e.,, exclude the tau parameters). Specify what="taus" to include only the tau parameters.

Value

vector of regression coefficients

Author(s)

Frank Harrell


rmsb documentation built on Sept. 26, 2023, 5:11 p.m.