Dear Bug users,
I have a strange problem with bugs (possibly because of my ignorance of it).
The following program runs fine in every aspect (as far as I can tell),
except that only when I click the "density" button for the variable sigma,
will I get a message of failure that I do not understand. I guess that this
might be caused by Winbugs inability to plot too big or too small numbers.
Any comments would be much appreciated.
I would be most grateful if you could email me directly. I will summarize
the answers for all of you, if they are of sufficient interest.
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 t0:t0+a0) {
for (sex in 1:Nsex) {
ENumber[sex,a0,t] <- R0*SexR[sex];
sigma[sex,a0,t] <- alphaN*ENumber[sex,a0,t]*alphaN*ENumber[sex,a0,t];
}
}
# prior distribution of alphaN: log-normal with a mean of 0.1E+00 and a
se of mean/10
alphaN ~ dlnorm(-2.30756025842063,100.499170807131);
# prior distribution of R0: log-normal with a mean of ? and a se of
mean/10
R0 ~ dlnorm(11.9950248345734,100.499170807131);
}
list(a0=1, t0=1, Nsex=2, SexR=c(0.5, 0.5));
-------------------------------------------------------------------
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]
|