Hi, all: I met "Non-conforming parameters for function %*%" problem, when I run the Jags model in R. My model is like this: model{ for(i in 1:n){ for(j in 1:t[i]){ et[i,j]<-yt[i,j]-beta0+betax*xt[i,j]+betat*t[i,j] } for(a in 1:t[i]){ for(b in 1:t[i]){ sigma[i,a,b]<-pow(rho0,abs(t[a]-t[b])) } }
phi[i]<- -log(exp(-(et[i,1:t[i]])%*%inverse(sigma[i, 1:t[i],1:t[i]])%*%t(et[i,1:t[i]])))+10000 zeros[i]~dpois(phi[i]) } beta0~dnorm(0,1) betat~dnorm(0,1) betax~dnorm(4,1) rho0~dunif(0,1) } Does anybody know what the problem is? Thank you. Sophie [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.