Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
st: Average of last two previous observations conditional on another variable value
From
Irene Ferrari <[email protected]>
To
[email protected]
Subject
st: Average of last two previous observations conditional on another variable value
Date
Tue, 25 Mar 2014 19:41:17 +0100
Dear Nick,
thank you very much for your solution to my problem, it is simple and clear.
I guess I got stucked on finding a loop solution rather than trying to
think to possible easier tricks.
Best regards,
Irene Ferrari
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/faqs/resources/statalist-faq/
* http://www.ats.ucla.edu/stat/stata/