-
|
Hi, does the .plot() function for piecewise ITS also plot the 94% highest density intervals for the observed vs. fitted vs. counterfactual plot? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
|
Thanks for this question. This should be a simple matter of looking it up in the api docs but it isn't there... so I put this quick issue together #886 |
Beta Was this translation helpful? Give feedback.
-
Yes — for the Bayesian
|
Beta Was this translation helpful? Give feedback.

@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,…