BUGSers:
If I define a parameter vector, say
beta[1] ~ dnorm(0, 0.01)
beta[2] ~ dnorm(0, 0.01)
beta[3] ~ dnorm(0, 0.01)
beta[4] <- 0
so I restrict the fourth element to zero. How can I give initial values
to this? I have tried something like 'c(0,0,0,0)' and 'c(0,0,0,NA)' but
no success. Is there a solution to this?
--
Tommi Härkänen
statistician
KTL/TTO (National Public Health Institute)
Mannerheimintie 166
FIN-00300 Helsinki
Finland
E-mail: [log in to unmask]
Tel: +358 9 4744 8719
Fax: +358 9 4744 8924
-------------------------------------------------------------------
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
|