请问各位,我用的reg y x x1 x2 x3 i.industry i.year,r进行固定效应回归的(之前看过一个帖子说比xtreg,fe那种的要好一些,遂选择这种方式控制行业和地区),在分析调节效应时,加入交乘项后,reg y x m x*m x1 x2 x3 i.industry i.year,r F值就显示缺失,之前的基准回归模型和单独加入m都没事,请问这是为啥呀~
跟据经验贴把观测值只有一个的查找并删除了,but无用。
Is there a regressor that is nonzero for only 1 observation or for one cluster?
The VCE you have just estimated is not of sufficient rank to perform the model test. This can happen if there is a variable in your model that is nonzero for only 1 observation in the estimation sample. Likewise, it can happen if a variable is nonzero for only one cluster when using the cluster-robust VCE. In such cases the derivative of the sum-of-squares or likelihood function with respect to that variable's parameter is zero for all observations. That implies that the outer-product-of-gradients (OPG) variance matrix is singular. Because the OPG variance matrix is used in computing the robust variance matrix, the latter is therefore singular as well.