假设我有一个表格模型,我想y=a_{i} + b_{i,1}*x_{1} + b_{2}*x_{2}在哪里估计这个模型。i=1,2,...,12rstanarm
是否可以为每个截距设置不同的先验a_{i}(比如说前 4 个 have normal(location = 0, scale = 1, autoscale = TRUE),下一个 4 havenormal(location = 1, scale = 2, autoscale = TRUE)和最后一个 4 student_t(df = 1, location = 0, scale = NULL, autoscale = TRUE))。我还想为b_{i,1}and last设置相同的先验b_{2}~normal(location = 3, scale = 1, autoscale = TRUE)。
可以用 rstanarm 做到这一点吗?