Hey all:
Does anyone know if the following is possible in BUGS:
for(i in 1:(n+1)){
PUT IN SOME CODE HERE
}
n~dpois(lambda)
That is, can the index of a loop be a random variable?
Any help would be appreciated.
Eric
***********************************************************
Eric T. Bradlow
Associate Professor of Marketing and Statistics
Academic Director, Wharton Small Bus. Development Center
The Wharton School of the University of Pennsylvania
3730 Walnut Street, 761 JMHH
Philadelphia, PA 19104-6340
[log in to unmask]
215-898-8255 (ph)
215-898-2534 (fax)
**************************************************************
-------------------------------------------------------------------
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
|