首页 > 解决方案 > rstan 包中有函数 check_rhat() 吗?

问题描述

在下一页中,我找到了一个函数check_rhat()。但是在 R 控制台中,即使使用rstan:::.

所以,我在我的包中做了一个类似的函数来诊断 rhats,但是,如果存在一些函数来评估我想使用它的 rhat(如果它存在)。

https://betanalpha.github.io/assets/case_studies/divergences_and_bias.html

在此处输入图像描述

标签: stanrstan

解决方案


该函数通过 进入 R 会话并在此处source("stan-utility.R")定义。它不在rstan包中。


推荐阅读