Hello all,
I'm working on a model that incorporates multiple levels of state uncertainty in multistate models. In our case, we collect multiple samples from individuals and perform multiple diagnostic runs on each sample to detect a pathogen. I use the pathogen loads -- estimated from the positive diagnostic runs, from positive samples, from positive individuals only -- to estimate individual pathogen loads to form a predictor on survival. I'm willing to share code, but I think the question I have is more general.
Because of the nature of that data, the vast majority of my 4-D array (individual, survey, sample, diagnostic run) is NA. As I've always understood it, MCMC will just sample from the posteriors to impute these NAs. However, I notice that the MCMC really struggles to converge on parameters to estimate the overall, individual, and sample pathogen loads. I'm modeling as follows:
Pathogen load on individual i, survey t, sample k, and diagnostic run l gets modeled as:
y[i,t,k,l] ~ dnorm(sample[i,t,k], sigma1)
Then the sample as:
sample[i,t,k] ~ dnorm(individual[i,t], sigma2)
and the individual as
individual[i,t] ~ dnorm(overall, sigma3)
Is there any fundamental reason why it's difficult for the MCMC to converge when there are many NAs?
Also, a somewhat related question: when I don't include individual[i,t] and sample[i,t,k] as predictors, individual[i,t] and sample[i,t,k] get assigned conjugate samplers. When I do include them as predictors in other functions, they get assigned an RW. When I manually try to assign a conjugate, it gives me an error. Is there any reason why those two can't be conjugate samplers when they're used in another function?
Happy to share code off-list. :)
Kind regards,
Matt