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

st: function to calculate factorial


From   "David Winter" <d.l.winter@bham.ac.uk>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: function to calculate factorial
Date   Wed, 26 Oct 2005 18:34:15 +0100

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').

Sorry to appear so dim.

Dave

***********************************************************
Mr David L. Winter, HNC
IT Manager (BCCSS Study)
Department of Public Health & Epidemiology
University of Birmingham
Edgbaston
Birmingham
B15 2TT
UK
tel: +44 (0)121 4146766
fax: +44 (0)121 4147923
***********************************************************


*
*   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