Dear Stata users and experts,
I'm dealing with a monthly data for a few years.
Let me denote month no., by m and year no., by y. What I need to do
is to generate a variable B{m,y}=A{m,y-1}. A is a variable that is
already in the dataset.
This sounded quite simple to me till I tried a lot in vain.
Could anyone give a solution for this simple problem?
Regards
Badri Narayanan
*
* 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/