plot.confint.bas {BAS} | R Documentation |
Function takes the the output of functions that return credible intervals from BAS objects, and creates a plot of the posterior mean with segments representing the credible interval. of what the function does. ~~
## S3 method for class 'confint.bas' plot(x, horizontal = FALSE, ...)
x |
the output from |
horizontal |
orientation of the plot |
... |
optional graphical arguments to pass on to plot |
This function takes the HPD intervals or credible intervals created by
confint.coef.bas
or confint.pred.bas
from BAS
objects, and creates a plot of the posterior mean with segments representing
the credible interval. BAS tries to return HPD intervals, and under model
averaging these may not be symmetric.
the description above ~~
A plot of the credible intervals.
Merlise A Clyde
confint.coef.bas
, confint.pred.bas
,
coef.bas
, predict.bas
, link{bas.lm}
Other CI methods: confint.coef.bas
,
confint.pred.bas
data(Hald) hald.ZS = bas.lm(Y ~ ., data=Hald, prior="ZS-null", modelprior=uniform()) hald.coef = confint(coef(hald.ZS), parm=2:5) plot(hald.coef) plot(hald.coef, horizontal=TRUE) plot(confint(predict(hald.ZS, se.fit=TRUE), parm="mean"))