how do I generate a lag variable which is the same for all years.
Code:
* Example generated by -dataex-. For more info, type help dataex clear input float Year str7 Country float(mean lag) 2001 "Germany" 3 . 2001 "Germany" 3 . 2001 "Germany" 3 . 2002 "Germany" 5 3 2002 "Germany" 5 3 2002 "Germany" 5 3 end
0 Response to Problem with lag variable
Post a Comment