我的程序是
mode{
for (i in 1:n)
{y~dnorm(0,p)
p<-exp(-theta)
}
theta[1]~dnorm(mu,itau2)
for(j in 2:n)
{theta[j]~dnorm(theta2[j],itau2)
theta2[j]<-mu+phi*(thata[j-1]-mu)}
phi<-2*phi1-1
mu~dnorm(0,0.01)
itau2~dgamma(2.5,0.025)
phi1~dbeta(20,1.5)
}
需要数据支持的是那些变量??又没人能介绍一本学习WINBUGS软件的书啊


雷达卡


京公网安备 11010802022788号







