See the archive for my code using a categorical distribution:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=bugs;fd75ef52.01
I've not seen any other way.
Best wishes
Andrew
--
Dr. Andrew Millard [log in to unmask]
Durham University
Senior Lecturer in Archaeology Tel: +44 191 334 1147
Archaeology: http://www.dur.ac.uk/archaeology/
Personal webpage: http://community.dur.ac.uk/a.r.millard/
> -----Original Message-----
> From: (The BUGS software mailing list) [mailto:[log in to unmask]]
> On Behalf Of Cory Atwood
> Sent: 21 June 2012 14:53
> To: [log in to unmask]
> Subject: [BUGS] hypergeometric?
>
> I want to use a hypergeometric distribution. The only way I see to
> do it is to use a categorical distribution, with the probabilities
> p calculated from the hypergeometric formulas. Does anyone know an
> easier way?
> Cory
>
> Cory Atwood
> Statwood Consulting
> 2905 Covington Rd.
> Silver Spring, MD 20910
> 301-589-7158
> -------------------------------------------------------------------
> 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 bugs-
> [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
|