Statalist


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

R: st: How to perform a productory


From   "Carlo Lazzaro" <carlo.lazzaro@tin.it>
To   <statalist@hsphsun2.harvard.edu>
Subject   R: st: How to perform a productory
Date   Mon, 22 Oct 2007 16:57:37 +0200

Dear Nick,

thanks a lot for yoou, as ever useful hint: it works perfectly.

Actually I meant running product, without taking a look at the dictionary: I
am feeling a bit gloomy 'cause my English seems worse than my Stata
knowlegde!

Many thanks again and Kind Regards,

Carlo
-----Messaggio originale-----
Da: owner-statalist@hsphsun2.harvard.edu
[mailto:owner-statalist@hsphsun2.harvard.edu] Per conto di n j cox
Inviato: luned́ 22 ottobre 2007 16.24
A: statalist@hsphsun2.harvard.edu
Oggetto: Re: st: How to perform a productory

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
n.j.cox@durham.ac.uk

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/


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