Hi,

Is there a way to specify a mixture of normal and point distribution in WinBUGS? Can someone give me a sample code?

Thanks!

Philip

On 5/23/06, Bahoo <[log in to unmask]> wrote:
Hi,

Is it possible to specify a mixture of one normal and
one uniform distribution in WINBUGS?  The data is
generated by these two type of sources, and I want to
use a mixture model to identify the hidden indicator
of which source corresponds to which point.

Actually, I think if I use a very flat Normal to
approximate the uniform distribution, the result
should still be good.  But I don't know how to force a
Normal to be very flat, except by setting its prior
distribution to have low precision.  Is there a more
direct way to force a Normal to be very flat?

Thanks!


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

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

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