R, Bayestats and Jags newbie here. I'm working on modeling some count data, right censored. Poisson seems to be my best guess. I wanna do a hierarchical model, as it leaves me with more possibilities to fine tune the parameterss. Can I simply write something like this:
A[i,j] <- dpois(a[i,j])
a[i,j]) <- b[i,]*x[i,j] +c[i] for all j,
where x[i,j] are my variables, or should I separate the censored time interval from the previous ones or something?
b[,] and c have a prior.
Thank you!
xis a matrix of covariates andAare your observations. I think you should not have ajindex in your observations. Can you explain in more details the structure of your variables ? - Sébastien Rochette