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

st: RE: Re: running product


From   "Nick Winter" <nwinter@policystudies.com>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: RE: Re: running product
Date   Thu, 27 Mar 2003 13:57:27 -0500

> From: Marcela Perticara [mailto:mperticara@uahurtado.cl] 
> 
> findit prod direct you to several commands.
> Among them you will find.
> 
> 
> STB-51  dm71 . . . . . . . . . . . . . Calculating the product of
> observations
>         (help prod if installed) . . . . . . . . . . . . . . 
> . . . . . P.
> Ryan
>         9/99    pp.3--4; STB Reprints Vol 9, pp.45--48
>         extension to egen for producing the product of observations
> 

I note that this -egen- function puts the overall product in every
observation, rather than the running product.  So depending what you
want, this may or may not be the solution.

Nick WInter

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