Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: RE: Hypergeometric Distribution


From   Marcello Pagano <pagano@hsph.harvard.edu>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: RE: Hypergeometric Distribution
Date   Wed, 22 Aug 2007 10:43:43 -0400

I looked at --ssizebi-- but it seems to be focused on power and sample sizes.

Newson, Roger B wrote:

Thanks to Marcello for telling us all about this recently-published
algorithm, which looks very useful. A search on

findit hypergeometric

in Stata finds a single reference (to a SSC package), which was
distributed as long ago as 1999. This suggests that the new algorithm
might be a good candidate for implementation in Mata by Marcello, or by
anybody else with the time and inclination to do so.

Roger


Roger Newson
Lecturer in Medical Statistics
Respiratory Epidemiology and Public Health Group
National Heart and Lung Institute
Imperial College London
Royal Brompton campus
Room 33, Emmanuel Kaye Building
1B Manresa Road
London SW3 6LR
UNITED KINGDOM
Tel: +44 (0)20 7352 8121 ext 3381
Fax: +44 (0)20 7351 8322
Email: r.newson@imperial.ac.uk Web page: www.imperial.ac.uk/nhli/r.newson/
Departmental Web page:
http://www1.imperial.ac.uk/medicine/about/divisions/nhli/respiration/pop
genetics/reph/

Opinions expressed are those of the author, not of the institution.

-----Original Message-----
From: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] On Behalf Of Marcello
Pagano
Sent: 22 August 2007 14:31
To: statalist@hsphsun2.harvard.edu
Subject: st: Hypergeometric Distribution

Does anyone have or know of Stata code to calculate the Hypergeometric Distribution accurately?

See Journal of Discrete Algorithms , Volume 5 , Issue 2 (June 2007) Pages: 341-347 for an article by Berkopec, HyperQuick algorithm for discrete hypergeometric distribution <http://portal.acm.org/citation.cfm?id=1240586&coll=GUIDE&dl=GUIDE&CFID=
27443384&CFTOKEN=80678482>.

Thanks,

m.p. *
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/

*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index