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

st: Re: function to calculate factorial

From   "Michael Blasnik" <>
To   <>
Subject   st: Re: function to calculate factorial
Date   Wed, 26 Oct 2005 13:53:49 -0400

Stata has the log of the factorial. type help lnfact(). In Stata 9, MATA also has factorial functions. You could have found this out on your own using search.

Michael Blasnik

----- Original Message ----- From: "David Winter" <>
To: <>
Sent: Wednesday, October 26, 2005 1:34 PM
Subject: st: function to calculate factorial

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.


Mr David L. Winter, HNC
*   For searches and help try:

© Copyright 1996–2017 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index