Correct. I withdrew this routine in a purge of
several packages of mine on SSC that I could no
longer justify.
In this case the reason is that a single -generate-
command in terms of calls to -comb()-
can be used to produce hypergeometric
probabilities. A dedicated function is
thus hardly required. You just need to go one
level down, as it were.
The cumulative is also a matter of -sum()-.
Nick
[email protected]
MA V
> Apparently it's not available anymore...I get the following message...
> "404 Not Found
> The requested URL
> http://econpapers.hhs.se/software/bocbocode/s377402.htm
> was not found in EconPapers"
>
Joseph Coveney
> > MA V Wrote:
> >
> >Does anyone know how to calculate hypergeometric
> probabilities (P(X=a)) in
> >Stata? And what about cumulative probabilities (i.e. P(X<a)).
> >
> >Nick Cox has written an accessory program called -_ghyper-, which is
> >available
> >from SSC. -help ssc- to find out how to install it.
*
* 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/