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

st: unexpected result of calculation

From   david schriger <>
Subject   st: unexpected result of calculation
Date   Wed, 03 Mar 2004 01:14:18 +0000

Dear Statalisters,

Would someone be kind enough to explain to me why the following calculation produces a number when I use "15" but produces a missing for values > 18. This occurs whether I am doing a 'display' or 'generating' a variable.

. di 9^140*(15^139)*exp(-9*15)/exp(lnfact(139))

. di 9^140*(19^139)*exp(-9*19)/exp(lnfact(139))
[no output produced]


David Schriger
UCLA Emergency Medicine

* For searches and help try:

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