Skip to content
Discussion options

You must be logged in to vote

@glow-27 — quick follow-up on credible intervals vs posterior predictive:

In the current Bayesian plot, the HDI bands for Fitted and Counterfactual are built from mu only (posterior_predictive["mu"]), and plot_xY computes HDIs over those draws. The same objects feed get_plot_data_bayesian (HDI via az.hdi on those mu series).

So in practice these ribbons summarize posterior uncertainty about the mean trajectory (μ) for the fitted vs counterfactual structural predictions — credible bands on μ, not full posterior predictive intervals for observations y that would also fold in observation noise from the likelihood. If you need uncertainty for counterfactual observations as they’d be realized,…

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
4 replies
@drbenvincent
Comment options

@glow-27
Comment options

@glow-27
Comment options

@drbenvincent
Comment options

Comment options

You must be logged in to vote
3 replies
@glow-27
Comment options

@Abdeltoto
Comment options

Answer selected by glow-27
@glow-27
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants