我的模型设置如下:
ppmlhdfe numb lndocument lnvalue lnquantity type contig comlang_off lndistc lngdp lngdpcap_d soe fie,absorb( hs2 code )
回归结果提示:note: 2 variables omitted because of collinearity: soe fie
其中soe代表国有企业,fie代表外资企业,还有一个虚拟变量other代表其他企业,不知道为什么会出现共线性。
如果不用ppmlhdfe做回归,怎么设置产品固定效应和企业固定效应呢?(其中产品变量名是hs2,企业是code)