Print

Print


Hi,

This is a follow-up on my message earlier about the dgamma in JAGS. It
was a documentation error which got fixed in the latest version of the
JAGS manual. "dgamma(r,mu)" is used in JAGS the same way as in
WinBUGS.

Thanks to Martyn Plummer,
Reza





---------- Forwarded message ----------
From: Martyn Plummer <[log in to unmask]>
Date: Mon, Jun 30, 2008 at 12:45 AM
Subject: Re: dgamma in WinBUGS and JAGS (rjags)
To: Seyed Reza Jafarzadeh <[log in to unmask]>
Cc: [log in to unmask]


It's just a typo.  There are no hidden incompatibilities between JAGS
and WinBUGS.  If a model runs it should produce the same answer.

Martyn

On Wed, 2008-06-25 at 12:04 -0700, Seyed Reza Jafarzadeh wrote:
> Hello,
>
> In WinBUGS 1.4 manual
> (http://www.mrc-bsu.cam.ac.uk/bugs/winbugs/manual14.pdf), the gamma
> density is presented as dgamma(r,mu) where r and mu are the shape and
> rate parameters, respectively. In JAGS (rjags) manual version 1.0.2,
> May 9, 2008 (http://www-fis.iarc.fr/~martyn/software/jags/jags_user_manual.pdf),
> on page 26 the gamma density is presented as dgamma(mu,r) instead of
> dgamma(r,mu). Since JAGS uses the BUGS language, I was wondering if
> this is a typo or it is in fact different from WinBUGS.
>
>
> Thanks,
> Reza


-----------------------------------------------------------------------
This message and its attachments are strictly confidential. If you are
not the intended recipient of this message, please immediately notify
the sender and delete it. Since its integrity cannot be guaranteed,
its content cannot involve the sender's responsibility. Any misuse,
any disclosure or publication of its content, either whole or partial,
is prohibited, exception made of formally approved use
-----------------------------------------------------------------------

-------------------------------------------------------------------
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