作者热门文章
- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
是否有可能在 rstanarm 中提取用于 MCMC 采样的 stan 代码?
我想将我自己的模型参数化和先前选择与 rstanarm 中使用的参数化进行比较。
最佳答案
你可以执行
library(rstanarm)
example(example_model)
rstan::get_stanmodel(example_model$stanfit)
#include
而不是特别可读。语句和支持的大量选项。
关于r - 如何从 rstanarm 对象中提取 stan 代码,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/53481697/
我是一名优秀的程序员,十分优秀!