Johannes Reichl
2006-Mar-13 09:53 UTC
[R] can I use R functions in BRUGS to define a complex likelihood?
Hello I need to define complex likelihoods in BRUGS-> mixed multinomial probit & random coefficient tobit for panel data can I use the likelihood that i`ve written in R in the BRUGS model? if not, how can I deal with complex likelihoods in BRUGS, there is no integrate function in BRUGS? is there any possibility to this without writing my own sampler in R? Thanx, Johannes [[alternative HTML version deleted]]
Uwe Ligges
2006-Mar-13 10:27 UTC
[R] can I use R functions in BRUGS to define a complex likelihood?
Johannes Reichl wrote:> Hello > > I need to define complex likelihoods in BRUGS-> mixed multinomial > probit & random coefficient tobit for panel data > can I use the likelihood that i`ve written in R in the BRUGS model? >This is a (Win/Open)BUGS question which is not related to R (except that there is an interface package). Please ask on the BUGS mailing list. Uwe Ligges> if not, how can I deal with complex likelihoods in BRUGS, there is no > integrate function in BRUGS? > is there any possibility to this without writing my own sampler in R? > > Thanx, Johannes > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html