As part of a bigger model, I want
logit(C/N) ~ N(mu,tau)
where C is an observation while N is a stochastic node.
I try to write this model by
N ~ dnorm(muN,tauN);
LogitC <- logit(C/N);
LogitC ~ dnorm(mu,tau);
but then I get an error message when compiling:
multiple definitions of node LogitC
In the manual I see that transformations of data are allowed, i.e
N ~ dnorm(muN,tauN)
LogitC <- logit(C)
Logit(C) ~ N(mu,tau)
works, so the problem seems to be that I am not allowed to use
transformations of
both data and stochastic nodes.
Any ideas on how I can solve this?
Geir
--
Geir Storvik Tlf: (+47) 22855894
Professor Fax: (+47) 22854349
Department of Mathematics email: [log in to unmask]
Statistics Division
University of Oslo
P.O.Box 1053 Blindern
N-0316 Oslo
Norway
-------------------------------------------------------------------
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
|