最近有一个困惑。
想请教各位高手,固定影响模型是否可以“固定”两个变量,如果可以,用stata如何实现?
谢谢!
请注明:姓名-公司-职位
以便审核进群资格,未注明则拒绝
你指的是什么“固定”,具体点,大家才能明白你要做什么
很抱歉,是我弄错了。前几天我分别做了如下回归
xi: y x1 x2 i.region, fe i(industry)
xi: y x1 x2 i.industry, fe i(region)
觉得结果应该是一样的,却不一样。今天又重做了一遍,发现是一样的。
谢谢!
If you reg FE with panel data set. Those fixed variables(like industry or sectoral dummies) will be dropped.
or, if E(U|X)=0, then you can use random effect.