连老师:
谢谢你的回复!
现在老板要求我做用panel data 做time-varying importer and exporter fixed effect model. 这需要产生随时间变化的进口国和出口国的虚拟变量。
xi, pre(d1_) i.im*i.year
xi, pre(d2_) i.ex*i.year
where d1_* will be the time-varying importer fixed effects and d2_* will be the same
but for exporters.
我选择了87个进口国和出口国18年的数据,这意味着我会有3000多虚拟变量。
另外我选择的是做似然估计,运算很难收敛!我是不是stata什么内容没学,所以导致这么难做?
不知道这样的情况怎么改善?
非常感谢!
孙林