Statalist


[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: How to perform a productory


From   n j cox <[email protected]>
To   [email protected]
Subject   Re: st: How to perform a productory
Date   Mon, 22 Oct 2007 15:24:27 +0100

I Googled "productory" and didn't find anything recognisable.
Perhaps you want a running product.

gen runningproduct = exp(sum(log(K_1)))

Alternatively, if you ask in Italian, somebody should
recognise what you want. There is no "English only" rule.

Nick
[email protected]

Carlo Lazzaro

I have a variable including 30 obs (please see beneath. I would like to
calculate a productory but I have neither found out a Stata 9/2 useful
in-built function nor a helpful FAQ (or it seems so).

K_1
.9666666
1
.9642857
1
.9615384
1
.9583333
.9565217
1
.952381
.95
.9473684
.9444444
.9411765
1
.9333333
1
1
1
.9090909
1
.8888889
.875
.8571429
.8333333
.8
.75
1
1
1


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