Alessandra,
I think that the Stata update -prod- for egen will be what you are
looking for.
Called as -egen x=prod( ) it creates a running product.
Julian
---------------------------------------------------------
Julian A. Fennema
CERT (Centre for Economic Reform and Transformation)
School of Management and Languages
Heriot-Watt University
Riccarton
Edinburgh EH14 4AS
Tel: +44 (0)131 451 3492
Fax: +44 (0)131 451 3296
*
* 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/