Dear Statalisters:
I have a small question: In a panel data if I want to generate a
variable which takes the value equal to the mean of GDP I use the command
by country year, sort : egen float abxx = mean(GDP)
Now I want to make another variable that contains initial value of GDP
fixed (for all years) equal to e.g. value of GDP in year 1885
corresponding to each country. How can I modify the above command?
Thanks for help,
Tanveer
*
* For searches and help try:
* http://www.stata.com/help.cgi?search
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/