BAS version 1.4.1 is now on CRAN - major updates include automatic handling of NA’s in data frames and the addition of the subset option as with lm. Other additions include test based Bayes factors for bas.glm. DOI for the stable package release is <DOI:10.5281/zenodo.154457>. Updates from NEWS for

BAS 1.4.1 September 17, 2016

Features

  • added subset argument to bas.lm and bas.glm
  • DOI for the stable package release is <DOI:10.5281/zenodo.154457>

Bug Fixes

  • the modification in 1.4.0 to automatically handle NA’s led to errors if the response was transformed as part of the forumula; this is fixed

BAS 1.4.0 August 25, 2016

New features

  • added na.action for bas.lm and bas.glm to omit missing data.
  • new function to plot credible intervals created by confint.pred.bas or confint.coef.bas. See the help files for an example or the vignette.
  • added se.fit option in predict.basglm.
  • Added testBF as a betaprior option for bas.glm to implement Bayes Fatcors based on the likelihood ratio statistic’s distribution for GLMs.
  • DOI for this version is http://dx.doi.org/10.5281/zenodo.60948
data(Hald)
hald.ZS = bas.lm(Y ~ ., data=Hald, prior="ZS-null", modelprior=uniform())
plot(confint(coef(hald.ZS),parm=2:5))
plot(confint(predict(hald.ZS, se.fit=TRUE), parm="mean"))