Point estimates of the regression coefficients for an object of class lmBayes
Source: R/point_estimates.R
point.estimates.RdCompute point estimates of the regression coefficients for an object of class
lmBayes.
Arguments
- object
An object of class 'lmBayes'.
- type
A character string denoting which algorithm should be used to recover the point estimates. The options are: (i)
"sn"for the scaled neighborhood criterion from Li and Lin (2010), (ii)"cred.int"which excludes a predictor if the 50% credible interval contains zero, (iii)"post.mode"for the posterior mode, or (iv)"post.mean"for the posterior mean. Default is"sn".- retain
A character string denoting which posterior summary should be retained if
type = "sn"ortype = "cred.int". The options are: (i)"mode"to retain the posterior mode or (ii)"mean"to retain the posterior mean.