Subject: Error Using Elements of D[i] Inside a For Loop
I’m encountering an issue when trying to use the elements of the matrix D[i] inside a for loop in my JAGS model. The matrix D[i] is derived from a Wishart distribution, and when I try to use it within the loop, I get an error related to the sampler.Here’s the relevant portion of my code:
Subject: Error Using Elements of D[i] Inside a For Loop in JAGS
I’m encountering an issue when trying to use the elements of the matrix D[i] inside a for loop in my JAGS model. The matrix D[i] is derived from a Wishart distribution, and when I try to use it within the loop, I get an error related to the sampler.Here’s the relevant portion of my code:
Subject: Error Using Elements of D[i] Inside a For Loop in JAGS
I’m encountering an issue when trying to use the elements of the matrix D[i] inside a for loop in my JAGS model. The matrix D[i] is derived from a Wishart distribution, and when I try to use it within the loop, I get an error related to the sampler.Here’s the relevant portion of my code: