- formula
Formula defining the most complex regression model in the
analysis. See details.
- data
data frame containing the data.
- null.model
A formula defining which is the simplest (null) model.
It should be nested in the full model. By default, the null model is defined
to be the one with just the intercept.
- prior.betas
Prior distribution for regression parameters within each
model (to be literally specified). Possible choices include "Robust", "Robust.G", "Liangetal", "gZellner",
"ZellnerSiow", "FLS", "intrinsic.MGC" and "IHG" (see details).
- prior.models
Prior distribution over the model space (to be literally specified). Possible
choices are "Constant", "ScottBerger" and "User" (see details).
- n.iter
The total number of iterations performed after the burn in
process.
- init.model
The model at which the simulation process starts. Options
include "Null" (the model only with the covariates specified in
fixed.cov
), "Full" (the model defined by formula
), "Random" (a
randomly selected model) and a vector with p (the number of covariates to
select from) zeros and ones defining a model. When p>n the dimension of the
init.model must be smaller than n. Otherwise the function produces
an error.
- n.burnin
Length of burn in, i.e. number of iterations to discard at
the beginning.
- n.thin
Thinning rate. Must be a positive integer. Set 'n.thin' > 1
to save memory and computation time if 'n.iter' is large. Default is 1. This
parameter jointly with n.iter
sets the number of simulations kept and
used to construct the estimates so is important to keep in mind that a large
value for 'n.thin' can reduce the precision of the results
- time.test
If TRUE and the number of variables is large (>=21) a
preliminary test to estimate computational time is performed.
- priorprobs
A p+1 dimensional vector defining the prior probabilities
Pr(M_i) (should be used in the case where prior.models
="User"; see
the details in Bvs
.)
- seed
A seed to initialize the random number generator