步1:数据作如下排列(excel): province year gdp fdi 步2:全选后,打开stata中的data editor窗口,粘贴; 步3:在命令框中输入 tis year iis province 就可以了 下来就可以用xtreg方法了