Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: function to calculate factorial


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: function to calculate factorial
Date   Wed, 26 Oct 2005 18:43:20 +0100

exp(lnfactorial()) 

The apparent lack of a dedicated function is really 
a feature, as often -lnfactorial()- is much more practical. 

The manual does have a reference! And -search- points
to this. 

Nick 
[email protected] 

David Winter
 
> Simple question really -  what (if at all) is the function in 
> Stata 9 to calculate the factorial of a number(n), i.e the 
> equivalent of FACT(n) in Excel. I cannot seem to find it in 
> the FAQ ('calculate factorial') or Stata help ('help factorial').
> 

*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index