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

st: moving average calculations in STATA?

From   "Brat, David" <>
To   <>
Subject   st: moving average calculations in STATA?
Date   Mon, 28 Jul 2003 06:54:10 -0400

Dear Scholars,

I need to calculate a new variable which takes
the std. dev. of the previous 80 observations of an existing variable.

I have tried the egen and called in for help and reached a dead end.
I have also tried the egen using "in -80/l" and this did not work.

my email is



*   For searches and help try:

© Copyright 1996–2015 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index