I am also interested in whether this can be done in JAGS, if anyone has
insight on that.
Krzysztof
On 10/01/2010 09:35 AM, Richard Chandler wrote:
> Hi,
>
> Is it possible to integrate over intervals of pdfs using the new integral function in OpenBUGS? I thought I would be able to do something like:
>
> model {
>
> rate ~ dunif(0, 1)
>
> z <- integral(dexp(rate), 0, 1, 0.001)
>
> }
>
> But I get the error message: "Sorry something went wrong in procedure Node.Parents in module GraphFunctional"
>
> Any help would be greatly appreciated.
>
> I'm using OpenBUGS 3.1.1 rev 524 on Windows.
>
>
> Thanks,
> Richard
>
> -------------------------------------------------------------------
> 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
>
--
-----------------------------------------------
Krzysztof Sakrejda-Leavitt
Organismic and Evolutionary Biology
University of Massachusetts, Amherst
319 Morrill Science Center South
611 N. Pleasant Street
Amherst, MA 01003
work #: 413-325-6555
email: [log in to unmask]
-----------------------------------------------
-------------------------------------------------------------------
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
|