Closed aagaardk closed 3 years ago
For MPM, predict
extracts the median probability model and runs bas a second time to create a new bas object. Currently predict code calls bas.lm
, rather than bas.glm
.
Fix: add a switch to check class of object before calling bas.lm
or bas.glm
When
estimator = 'MPM'
predict.basglm produces an error regarding the prior values.Reproducible example:
Desktop (please complete the following information):