User Activity

  • Modified a comment on discussion Help on JAGS: Just Another Gibbs Sampler

    [DELETE POST}

  • Modified a comment on discussion Help on JAGS: Just Another Gibbs Sampler

    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...

  • Modified a comment on discussion Help on JAGS: Just Another Gibbs Sampler

    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...

  • Posted a comment on discussion Help on JAGS: Just Another Gibbs Sampler

    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...

  • Posted a comment on discussion Help on JAGS: Just Another Gibbs Sampler

    Any update on this?

  • Modified a comment on discussion Help on JAGS: Just Another Gibbs Sampler

    I'm trying to replicate the Scottish Lip Cancer example from the GeoBUGS manual in...

  • Posted a comment on discussion Help on JAGS: Just Another Gibbs Sampler

    I'm trying to replicate the Scottish Lip Cancer example from the GeoBUGS manual in...

  • Posted a comment on discussion Help on JAGS: Just Another Gibbs Sampler

    Relaxing the prior on the variance did it, must of been a numerical overflow issue....

View All

Personal Data

Username:
fishpopdy
Joined:
2011-07-05 22:13:04

Projects

  • No projects to display.

Personal Tools