Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: large numbers in comb(n,k) function: no success


From   Inna Becher <inna.becher@uni-konstanz.de>
To   statalist@hsphsun2.harvard.edu
Subject   st: large numbers in comb(n,k) function: no success
Date   Thu, 05 Feb 2009 10:01:25 +0100

Dear Statalisters,

I would like to implement a comb(n,k) function. But my Stata does not allow it because of large n, k-numbers. N=180000 and k=2000. Is there any other way to do it? I wasn't successful by using exp(lnfactorial(n)) in mata as well.

Thank you.

Inna Becher
*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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