Hi All,
The order of updating variabels in WINBUGS should be crucial. I tried to
make the following codes not work, by giving values to Number first and by
arranging the order of the two inner loops. But, they always work.
I would be most grateful if anybody could make suggestions on how to make
the codes not work by arranging order of variables and by assigning values
to variables. I just need to understand how WINBUGS updates variables.
Many thanks
Best wishes
Yongshun Xiao
SARDI Aquatic Sciences Centre
2 Hamra Avenue, West Beach
Adelaide, SA, Australia 5024
Email [log in to unmask]
Phone + 61 8 8200 2434
Fax + 61 8 8200 2481
model adp;
{
for (t in 1:10) {
for (sex in 1:2) {
Number[sex,t] <- R0;
}
for (sex in 1:2) {
Biomass[sex,t] <- Number[sex,t];
}
}
R0 ~ dlnorm(11.9950248345734,100.499170807131);
}
-------------------------------------------------------------------
To mail the BUGS list, mail to [log in to unmask]
You can search old messages at www.jiscmail.ac.uk/lists/bugs.html
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
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]
|