summary.Bvs {BayesVarSel} | R Documentation |
Bvs
Summary of an object of class Bvs
, providing inclusion probabilities and a representation of
the Median Probability Model and the Highest Posterior probability Model.
## S3 method for class 'Bvs' summary(object, ...)
object |
An object of class |
... |
Additional parameters to be passed |
Gonzalo Garcia-Donato and Anabel Forte
Maintainer: <anabel.forte@uv.es>
See Bvs
,
GibbsBvs
for creating objects of the class
Bvs
.
## Not run: #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) ## End(Not run)