summary.Bayes.PrevMap: Summarizing Bayesian model fits

Description Usage Arguments Value Author(s)

View source: R/foo.R

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

1
2
## S3 method for class '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.

Author(s)

Emanuele Giorgi e.giorgi@lancaster.ac.uk

Peter J. Diggle p.diggle@lancaster.ac.uk


PrevMap documentation built on Oct. 7, 2021, 5:07 p.m.