> Is it possible to place a prior distribution on the looping indicator variable?
It's hard for me to see where this would be useful, but I think the
OpenBugs way to write this would be:
for (k in 1:numSubj) {
for (q in 1:maxNumPoints) {
normVar ~ dnorm(0,0.25);
a[k,q] <- normVar*(q <= G);
}
}
G~dpois(1);
Can you be more explicit about the problem you are trying to solve?
Opher
-------------------------------------------------------------------
This list is for discussion of modelling issues and the BUGS software.
For help with crashes and error messages, first mail [log in to unmask]
To mail the BUGS list, mail to [log in to unmask]
Before mailing, please check the archive at www.jiscmail.ac.uk/lists/bugs.html
Please do not mail attachments to the list.
To leave the BUGS list, send LEAVE BUGS to [log in to unmask]
If this fails, mail [log in to unmask], NOT the whole list
|