summary.bma {BAS}R Documentation

Summaries of Bayesian Model Averaging objects

Description

summary and print methods for Bayesian model averaging objects created by bas Bayesian Adaptive Sampling

Usage

## S3 method for class 'bma':
summary(object, n.models = 5, ...)
## S3 method for class 'bma':
print(x, digits = max(3, getOption("digits") - 3), ...)

Arguments

object object of class 'bma'
x object of class 'bma'
n.models optional number specifying the number of best models to display in summary
digits optional number specifying the number of digits to display
... other parameters to be passed to print.default

Details

The print methods display a view similar to print.lm . The summary methods display a view specific to Bayesian model averaging giving the top highest probability models.

Author(s)

Merlise Clyde clyde@stat.duke.edu

See Also

coefficients.bma

Examples

## Not run: 
library(MASS)
data(UScrime)
UScrime[,-2] = log(UScrime[,-2])
crime.bic =  bas.lm(y ~ ., data=UScrime, n.models=2^15, prior="BIC",initprobs= "eplogp")
print(crime.bic)
summary(crime.bic)
## End(Not run)

[Package BAS version 0.1 Index]