Flow posterior mean and Bayesian credible interval.

bam_qpred(fit, chain = "all", conf.level = 0.95)

Arguments

fit

A stanfit object, as returned from bam_estimate()

chain

Either an integer specifying which chain(s) to extract statistics from, or "all" (the default), in which case they are extracted from all chains.

conf.level

A numeric value on (0, 1) specifying the size of the Bayesian credible interval. Default is 0.95.