0

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

4

1 回答 1

0

没有代码很难说,但是您不会将 NA 添加到输入列表中以观察 Y[n+1] 吗?(对不起,我没有添加评论 - 我没有足够的声誉)

于 2017-05-09T01:55:40.483 回答