FE、TDFE、TD-FEGS | Stata

  • 固定效应模型(FE)、时间分布固定效应模型(TDFE)与时间分布的组斜率固定效应模型(TD-FEGS)
  • Rauf, T. (2020). Getting a Job, Again: New Evidence against Subjective Well-Being Scarring. Social Forces.
  • 固定效应
    • 固定效应模型的局限
      • 预设幸福感在每种雇佣状态下,随着时间推移具有同质性
      • 由于存在对失业的负向期望效应(negative anticipatory effects),因此在失业来临前的平均幸福感是不同的。
  • 时间分布固定效应模型(TDFE)
    • 时间分布固定效应模型的优势
      • 允许干预效应随时间而不同
      • 取代干预前、干预后的虚拟变量,采用衡量干预前时间到干预后时间的一组虚拟变量
      • 指距离失业的一组指示时间距离(temporal distance)虚拟变量,q在失业前为负数,在失业后为正数
    • time-distributed fixed-effects model (also known as an event study model).
    • 时间分布的固定效应模型(也称为事件研究模型)
      • Torche, F., & Rauf, T. (2021). The Political Context and Infant Health in the United States. American Sociological Review, 86(3), 377-405.
    • 时间分布固定效应模型的局限
      • 仍然预设干预组与控制组存在相似的年龄-幸福感轨迹,即平行趋势(parallel trends),违反平行趋势预设将导致估计不一致
  • 时间分布的组斜率固定效应模型(TD-FEGS)
      • 时间分布的组斜率固定效应模型
        • 允许干预组与控制组拥有不同的年龄-幸福感趋势
        • 采用更弱的预设:干预组或控制组内拥有相同的年龄-幸福感趋势

1
2
3
4
5
6

use http://www.stata-press.com/data/r16/nlswork.dta,clear
replace union = 0 if mi(union)
xtset idcode year
drop if mi(ln_wage, union, msp, tenure, year)
panelview ln_wage union , type( outcome ) i( idcode ) t( year ) mycolor(Reds) discrete

1
2

bys idcode (year):gen serial = _n

1
2
3
4

eststo FE: xtreg ln_wage union msp tenure year, cluster(idcode) fe
eststo AREG: areg ln_wage union msp tenure year, absorb(idcode) vce(cluster idcode)
eststo TDFE: