Hi all,
I have 2 questions that I need help:
-----------------------
1) how to use lognorm?
# prior on item slopes
for(itm in 1:T) {
slope[itm] ~ dlnorm(0.1, 5.0) # not work?
}
2) on using dgamma to choose r, mu to get slopes with mean=0.1, and var=0.05:
# prior on item slopes
for(itm in 1:15) {
# slope[itm] ~ dgamma(r, mu) # approx lognorm
slope[itm] ~ dgamma(0.2, 2) # ???
}
compiler said the same for the above 2 cases:
Error in file: 25allskleta.bug
for node: slope[1]
-- error --
Unable to choose update method for node
-----------------------
Can you give me suggestions? Thanks!
Duanli Yan
Educational Testing Services
E-Mail/Internet: [log in to unmask]
Phone:(609)734-5764
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|