如何在rstanarm中为固定系数指定 "严格 "的前导?

问题描述 投票:0回答:1

如何为平均数在1e-05范围内、标准差(sd)在1e-06范围内的系数提供一个先验分布?

在rstanarm中,对于这样高精度(sd <=1e-06)的参数,应该选择什么样的分布?

1)学生t族

2)分层收缩族。

3)拉普拉斯家族

4)Dirichlet家族

5)其他

我曾试过使用 prior = normal(location = 1e-05, scale = 1e-06, autoscale = FALSE)但它需要大量的抽样时间。

r regression bayesian rstanarm
1个回答
0
投票

我想 prior = normal(location = 1e-05, scale = 1e-06, autoscale = FALSE) 是你最好的选择。事实上,它需要大量的时间进行抽样,并不表明它产生的抽签有什么问题。但我会将结果乘以100万,或者将预测器除以100万,这样就可以使 prior = normal(location = .1, scale = 1, autoscale = FALSE) 是合理的。

© www.soinside.com 2019 - 2024. All rights reserved.