Print

Print


Dear Winbugs/Bugs users.
I am faced with the following problem:
I have been using Winbugs with the following code (for generating bernoulli variables adding to one ) without any problem
N1=7
x[1]~dunif(0,1) old[1] <- 1-x[1]
for (i in 2:N1-1)    {x[i]~dunif(0,old[i-1])   old[i]<-old[i-1]-x[i]  }
total <- 1-sum(x[])
for (i in 1:N1-1) {y[i]<-x[i]} y[N1]<-fin

I have then tried to copy the same code in Bugs. However, each time I compiled it, I got the following message error.: "invalid parameter value must be fixed"

Does anybody know what it means? Besides, does anybody aware of some compilation differences between Bugs and WinBugs. ?

Sincerely yours
      Tregouet David


Tregouet David
INSERM U525
Epidemiologic and Molecular Genetics of Cardiovascular Diseases
6ème étage
91 bd de l'hôpital
75634 Paris Cedex 13
France
Tél: 33-1-40-77-96-93
Fax: 33-1-40-77-97-28