mprior-class | R Documentation |
An object pertaining to a BMA model prior
An mprior
object holds descriptions
and subfunctions pertaining to model priors. The BMA functions
bms
and post-processing functions rely on this class.
There are currently five model prior structures built into the BMS package,
generated by the following functions (cf. the appendix of
vignette(BMS)
):
mprior.uniform.init
: creates a uniform
model prior object.
mprior.fixedt.init
: creates the popular
binomial model prior object with common inclusion probabilities.
mprior.randomt.init
: creates a beta-binomial model prior object.
mprior.pip.init
: creates a binomial model prior object that allows
for defining individual prior inclusion probabilities.
mprior.customk.init
: creates a model prior object that allows for
defining a custom prior for each model parameter size.
The following
describes the necessary slots:
Martin Feldkircher and Stefan Zeugner
bms
for creating bma
objects.
Check the
appendix of vignette(BMS)
for a more detailed description of built-in
priors.
Check http://bms.zeugner.eu/custompriors.php for examples.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.