Fits a linear model with Bayesian model selection with significance criteria: PIP and posterior probability of nonzero coefficients being on one side of zero.
bma_wrapper(y, x, args = list())
A list of vectors whose values are between 0 and 1
The smaller posterior probability of the coefficients being to one side of zero: min(Pr(beta >0), Pr(beta<0)).
PIP of the effect not being zero.
elapsed time to fit the model.
A vector of outcome
A matrix of predictors
A list of arguments see R function `BMA::bic.glm()`.
Raftery A, Hoeting J, Volinsky C, Painter I, Yeung KY (2021).BMA: Bayesian model averaging. R package version 3.18.15.