悬赏 10 个论坛币 未解决
请教一下,面板数据求滞后项,我才去如下命令,但是出错了,请教一下什么原因?怎么处理呢?
. gen tci2_lag=L.tci2
not sorted
r(5);
[P] error . . . . . . . . . . . . . . . . . . . . . . . . . Return code 5
not sorted;
master data not sorted;
using data not sorted;
The observations of the data are not in the order required.
To solve the problem, use sort to sort the data then
reissue the command; see [D] sort.
我sort year后,还是出现同样的问题,not sortedr(5);
请教一下诸位!!谢谢啦!