[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: RE: large numbers in comb(n,k) function: no success
In addition to Maarten's comments: This is why lnfactorial() is
supplied. Often you can only work with the logarithms of large numbers
that arise in combinatorial problems.
Nick
[email protected]
Inna Becher
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.
*
* 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/