I have a likelihood model and a dataset all working nicely, but when it comes to trying to predict an estimate of the posterior predictive distribution for a certain output, I have no idea what is wrong. I am predicting scores in relation to a set of covariates.
I have specific values for these covariates and would like to calculate the output variable using these. I was told that in my data I had to add n+1 to the N observations, and NA to my output list, as well as add my covariates. I was told not to touch the model. The data loads, the model loads but when I hit compile it tells me 'multiple defintions of node Y[n+1}'. I don't understand how this could happen if I haven't touched the model? Does anyone know how to solve this? Thank you