jags bayesian linear regression, how can i set priors when the priors are dependent each other?

后端 未结 0 1060
心在旅途
心在旅途 2020-12-23 22:29
library(rjags)
jags_code = "model{
for (i in 1:n){
Y[i] ~ dnorm(mu[i], tau)
mu[i] <- beta0 + beta1*x[i]}

beta0 ~ dnorm(0,0.001)
beta1 ~ dnorm(0,0.001)
eta &         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题