[DELETE POST}
I'm trying to fit a simple space-time model in JAGS and just have a question on implementation. I'd like the model to read as follows, data{ for(i in 1:s){ zeros_spatial[i] <- 0 } }model{ ## likelihood y ~ dpois(lambda) log(lambda) <- log(area) + beta0 + st ## precision matrix for CAR spatial random effects invC_spatial = tau2_spatial * (D - phi * W) ## CAR spatial random effects that evolve over time as an AR(1) process st[1] ~ dmnorm(zeros_spatial, invC_spatial) for (i in 2:t){ st[i] ~ dmnorm(rho...
I'm trying to fit a simple space-time model in JAGS and just have a question on implementation. I'd like the model to read as follows, data{ for(i in 1:s){ zeros_spatial[i] <- 0 } }model{ ## likelihood y ~ dpois(lambda) log(lambda) <- log(area) + beta0 + st ## precision matrix for CAR spatial random effects invC_spatial = tau_spatial * (D - phi * W) ## CAR spatial random effects that evolve over time as an AR(1) process st[1] ~ dmnorm(zeros_spatial, invC_spatial) for (i in 2:t){ st[i] ~ dmnorm(rho...
I'm trying to fit a simple space-time model in JAGS and just have a question on implementation. I'd like the model to read as follows, data{ for(i in 1:s){ zeros_spatial[i] <- 0 } }model{ ## likelihood y ~ dpois(lambda) log(lambda) <- log(area) + beta0 + st ## precision matrix for CAR spatial random effects invC_spatial = tau_spatial * (D - phi * W) ## CAR spatial random effects that evolve over time as an AR(1) process st[1] ~ dmnorm(zeros_spatial, invC_spatial) for (i in 2:t){ st[i] ~ dmnorm(rho...
Any update on this?
I'm trying to replicate the Scottish Lip Cancer example from the GeoBUGS manual in...
I'm trying to replicate the Scottish Lip Cancer example from the GeoBUGS manual in...
Relaxing the prior on the variance did it, must of been a numerical overflow issue....