postProb {mombf} | R Documentation |
Obtain posterior model probabilities
Description
Obtain posterior model probabilities after running Bayesian model selection
Usage
postProb(object, nmax, method='norm')
Arguments
object |
Object of class msfit returned by |
nmax |
Maximum number of models to report (defaults to no max) |
method |
Only when |
Value
A data.frame
with posterior model probabilities in column pp.
Column modelid indicates the indexes of the selected covariates (empty
for the null model with no covariates)
For mixturebf
objects, posterior probabilities for the
specified number of components
For localtest
objects, posterior probabilities of a local covariate
effect at various regions
Author(s)
David Rossell
See Also
modelSelection
to perform model selection
Examples
#See help(modelSelection)