请教关于数据整理的命令方法!感谢!!
现在手头有一份数据如所附所示,中间是各个国家每年的gdp数据,我想要将该数据变成如下面板数据形式以便计算;
此外,如下所附数据所示,我还希望将阿鲁巴的数据单独拎出来成为一列,方便与其他国家计算不同年度的gdp水平的差距:
变量名称: 国家名称 年份 gdp 阿鲁巴
A 2000 45183549
1873452513
A 2001 1263981278
1920111731
A 2002 12830172
1941340782
B 2000 23746127
1873452513
... ... ... .....
请老师同学提点!多谢!!
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
Listed 10 out of 265 observations