summary.bh: Numerically Summarizing Bayesian Model Fits

summary.bhR Documentation

Numerically Summarizing Bayesian Model Fits

Description

This function is to numerically summarize the results of the function bglm or bcoxph or bpolr.

Usage

summary.bh(object, digits = 3)  

Arguments

object

an object from bglm, bpolr, or bcoxph.

digits

integer indicating the number of decimal places and significant digits to be used.

Value

This function returns:

coef

coefficient estimates;

se(coef)

standard errors of coefficient estimates;

pvalue

p values for testing coefficients;

For logistic regression and Cox model, this function also returns:

exp(coef)

exponential coefficient estimates, i.e., odds ratio or hazards ratio;

lower.95, upper.95

exp(coef - 2 * se(coef)), exp(coef + 2 * se(coef));

Author(s)

Nengjun Yi, nyi@uab.edu


nyiuab/BhGLM documentation built on June 12, 2024, 9:28 p.m.