Statalist


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

Re: st: How to perform a productory


From   "josemaria" <[email protected]>
To   <[email protected]>
Subject   Re: st: How to perform a productory
Date   Mon, 22 Oct 2007 14:55:58 -0300

In Portuguese, we have somat�rio, same as soma (sum), but we do not have produt�rio.
Jos� Maria
Jos� Maria Pacheco de Souza, Professor Titular (aposentado)
Departamento de Epidemiologia
Faculdade de Sa�de P�blica/Universidade de S�o Paulo
Av. Dr. Arnaldo, 715 cep 01246-904
S�o Paulo Brasil
fones (11)3061-7747 (11)3061-7724 (11)3714-2403 (11)3768-8612
fax (11)3082-2920 (11)3714-2403
www.fsp.usp.br/~jmpsouza
[email protected]

----- Original Message ----- From: "n j cox" <[email protected]>
To: <[email protected]>
Sent: Monday, October 22, 2007 11:24 AM
Subject: 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
[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/



--
No virus found in this incoming message.
Checked by AVG Free Edition. Version: 7.5.488 / Virus Database: 269.15.5/1084 - Release Date: 10/21/aaaa 15:09


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