getParamCoef: Get a Bayesian Parameter Vector Summary

Description Usage Arguments Value Author(s)

View source: R/stanMisc.r

Description

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

Usage

1
2
3
4
5
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 Feb. 28, 2021, 1:06 a.m.