Learn R Programming

BayesVarSel (version 2.4.5)

summary.Bvs: Summary of an object of class Bvs

Description

Summary of an object of class Bvs, providing inclusion probabilities and a representation of the Median Probability Model and the Highest Posterior probability Model.

Usage

# S3 method for Bvs
summary(object, ...)

Arguments

object

An object of class Bvs

...

Additional parameters to be passed

Author

Gonzalo Garcia-Donato and Anabel Forte

Maintainer: <anabel.forte@uv.es>

See Also

See Bvs, GibbsBvs for creating objects of the class Bvs.

Examples

Run this code

if (FALSE) {
#Analysis of Crime Data
#load data
data(UScrime)

#Default arguments are Robust prior for the regression parameters
#and constant prior over the model space
#Here we keep the 1000 most probable models a posteriori:
crime.Bvs<- Bvs(formula= y ~ ., data=UScrime, n.keep=1000)

#A look at the results:
summary(crime.Bvs)
}

Run the code above in your browser using DataLab