Learn R Programming

PrevMap (version 1.5.4)

summary.Bayes.PrevMap: Summarizing Bayesian model fits

Description

summary method for the class "Bayes.PrevMap" that computes the posterior mean, median, mode and high posterior density intervals using samples from Bayesian fits.

Usage

# S3 method for Bayes.PrevMap
summary(object, hpd.coverage = 0.95, ...)

Arguments

object

an object of class "Bayes.PrevMap" obatained as result of a call to binomial.logistic.Bayes or linear.model.Bayes.

hpd.coverage

value of the coverage of the high posterior density intervals; default is 0.95.

...

further arguments passed to or from other methods.

Value

A list with the following values

linear: logical value that is TRUE if a linear model was fitted and FALSE otherwise.

binary: logical value that is TRUE if a binary model was fitted and FALSE otherwise.

probit: logical value that is TRUE if a binary model with probit link function was fitted and FALSE if with logistic link function.

ck: logical value that is TRUE if a low-rank approximation was fitted and FALSE otherwise.

beta: matrix of the posterior summaries for the regression coefficients.

sigma2: vector of the posterior summaries for sigma2.

phi: vector of the posterior summaries for phi.

tau2: vector of the posterior summaries for tau2.

call: matched call.

kappa: fixed value of the shape paramter of the Matern covariance function.