arviz.plot_ppc: “posterior predictive mean”

两盒软妹~` 提交于 2021-01-28 19:13:27

问题


Hello!

After running a model for a simple linear regression model in pymc3, I'm trying to do a plot. As you can see both plots show the "posterior predictive mean score", but I was wondering whether can I plot this distribution around the "posterior predictive mean score" (not around "observed score"), in arviz, similar to what is shown in the first figure?

Both figures were made using the same data:

Score <- c(78.93,58.2,67.47,37.47,45.65,32.92,29.97)
Drugs <- c(1.17,2.97,3.26,4.69,5.83,6,6.41)

EDIT: Bayesplot with bounds:

来源:https://stackoverflow.com/questions/61283063/arviz-plot-ppc-posterior-predictive-mean

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!