楼主: rucwcg
35051 11

[面板数据求助] 求助,用xtivreg2命令后出现了factor variables not allowed的提示怎么解决??? [推广有奖]

11
懂了DL 学生认证  发表于 2021-10-7 20:38:05
黃河泉 发表于 2018-5-12 08:06
我上面的指令会产生许多虚拟变量,请看一下资料。然后,以底下方式加入?? 的部分要你看看资料来决定哪一个 ...
黄老师,按照您的方法解决了上述问题,但是我的是有i.year i.pref_code两个,按照您的办法生成虚拟变量后,出现以下情况Warning: estimated covariance matrix of moment conditions not of full rank.
         standard errors and model tests should be interpreted with caution.
Possible causes:
         singleton dummy variable (dummy with one 1 and N-1 0s or vice versa)
partial option may address problem.
请问该如何进一步解决呢?

12
15601939121 发表于 2021-11-29 15:25:38
墨月四 发表于 2021-3-19 10:52
老师,我的命令如下
xtivreg2 f_assets soe size exp ndts etr dyear1-dyear7 (roa roa_soe=wit wit_soe ...
tab year, gen(dyear)
上面可能少了这一步

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

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2026-1-29 17:28