> Is there anyone know if BUGS language allows the combination of 
> variables as response

> It seems doesn't work in my model. The problem is between two ######.

> >  modelCompile(numChains=1)
> multiple definitions of node bm[1]

>                  ###############
>                  bm[iter] <-  inprod(biomarker[iter,1:4], bta[1:4])
>                  bm[iter] ~ dnorm(bmu[iter], sdbm.precision);
>                  ###############

The problem seems to be that you've defined bm[iter] as a logical node 
(<-), then redefined it as a stochastic node (~).  If you need more help, 
try the BUGS mailing list.  (See 
http://www.mrc-bsu.cam.ac.uk/bugs/overview/list.shtml)

Regards,
Richie.

Mathematical Sciences Unit
HSL


------------------------------------------------------------------------
ATTENTION:

This message contains privileged and confidential inform...{{dropped:22}}

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to