楼主: MichaelLMD
5720 12

[统计软件] stata基础求助 [推广有奖]

11
MichaelLMD 发表于 2014-3-23 16:30:28
海底浮云 发表于 2014-3-23 16:20
Try this please:
sort firmid year
xtset firmid year
截图3.png 还是没出来呀。数据我查过好几遍了,应该不是数据本身的问题。

12
海底浮云 发表于 2014-3-23 16:40:51
You should encode the firmid to numeric format and this can be achieved with the following command:
encode firmid , generate(firmidn)

then use firmidn instead of  firmid  and declare the panel data again by
sort firmid year
xtset firmid year

You should be patient and solve the problem via www.google.com next time.

Good luck!
“独立精神、自由思想、求是态度”

13
MichaelLMD 发表于 2014-3-23 16:45:23
海底浮云 发表于 2014-3-23 16:40
You should encode the firmid to numeric format and this can be achieved with the following command:
...
Thanks a lot!^_^

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
jg-xs1
拉您进交流群
GMT+8, 2025-12-26 12:01