黃河泉 发表于 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.
请问该如何进一步解决呢?