Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

print.rmsb

Basic Print for Bayesian Parameter Summary


Description

For a Bayesian regression fit prints the posterior mean, median, SE, highest posterior density interval, and symmetry coefficient from the posterior draws. For a given parameter, the symmetry measure is computed using the distSym function.

Usage

## S3 method for class 'rmsb'
print(x, prob = 0.95, dec = 4, intercepts = TRUE, pr = TRUE, ...)

Arguments

x

an object created by an rms Bayesian fitting function

prob

HPD interval coverage probability (default is 0.95)

dec

amount of rounding (digits to the right of the decimal)

intercepts

set to FALSE to not print intercepts

pr

set to FALSE to return an unrounded matrix and not print

...

ignored

Value

matrix (rounded if pr=TRUE)

Author(s)

Frank Harrell

Examples

## Not run: 
  f <- blrm(...)
  print.rmsb(f)

## End(Not run)

rmsb

Bayesian Regression Modeling Strategies

v0.0.2
GPL (>= 3)
Authors
Frank Harrell [aut, cre] (<https://orcid.org/0000-0002-8271-5493>), Ben Goodrich [ctb] (contributed Stan code), Ben Bolker [ctb] (wrote original code that is folded into the pdensityContour function), Doug Bates [ctb] (write original code for highest posterior density interval that is folded into the HPDint function)
Initial release
2021-02-27

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.