Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

st: moving-window products

From   "" <>
Subject   st: moving-window products
Date   Mon, 14 Feb 2011 11:15:18 +0100 (CET)

Dear stata users,

I have a panel dataset and I would like to compute moving-window products. For 
example, for each unit and time, I would like to have the product of the last 
10 observations.

A useful module for rolling statistics is "mvsumm", which gives rolling 
summary statistics. Do you know if there is an analogous command which also 
computes the product?

Thanks a lot,


*   For searches and help try:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index