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/