Hi everyone,
I'm working with panel data that spans 14 waves (survey years 2008/09 to 2021/22). I have verified via a tab wave command that all waves are present in the data. However, when I run the following regression
the output only displays coefficients for waves 2 through 11. The later waves (12–14) are missing from the regression output, even though I know they exist in the data.
Here’s what I’ve already checked:
Thanks in advance!
I'm working with panel data that spans 14 waves (survey years 2008/09 to 2021/22). I have verified via a tab wave command that all waves are present in the data. However, when I run the following regression
Code:
xtreg ln_income i.wave##i.ho_experience_pre c.age##c.age c.working_hours##c.working_hours isco_group industry yeduc ft_empl marry kids career_orient, fe vce(cluster id) Fixed-effects (within) regression Number of obs = 14,582 Group variable: id Number of groups = 2,680 R-squared: Obs per group: Within = 0.3281 min = 2 Between = 0.5410 avg = 5.4 Overall = 0.5172 max = 11 F(32, 2679) = 76.17 corr(u_i, Xb) = 0.2180 Prob > F = 0.0000 (Std. err. adjusted for 2,680 clusters in id) ------------------------------------------------------------------------------------------------- | Robust ln_income | Coefficient std. err. t P>|t| [95% conf. interval] --------------------------------+---------------------------------------------------------------- wave | 2 2009/10 | .0681846 .0128561 5.30 0.000 .0429758 .0933934 3 2010/11 | .0604937 .0190624 3.17 0.002 .0231151 .0978723 4 2011/12 | .0724554 .0275179 2.63 0.009 .018497 .1264139 5 2012/13 | .0799369 .0338413 2.36 0.018 .0135793 .1462946 6 2013/14 | .1038995 .0418849 2.48 0.013 .0217695 .1860295 7 2014/15 | .1159107 .0491002 2.36 0.018 .0196325 .2121888 8 2015/16 | .1617871 .0572526 2.83 0.005 .0495233 .2740509 9 2016/17 | .1749853 .0651693 2.69 0.007 .0471981 .3027725 10 2017/18 | .188722 .0730147 2.58 0.010 .0455512 .3318928 11 2018/19 | .189117 .0818202 2.31 0.021 .0286799 .3495541 | 1.ho_experience_pre | -.1041576 .0390347 -2.67 0.008 -.1806987 -.0276165 | wave#ho_experience_pre | 2 2009/10#1 | .0938141 .038596 2.43 0.015 .0181331 .1694951 3 2010/11#1 | .1262978 .0401339 3.15 0.002 .0476014 .2049943 4 2011/12#1 | .1249205 .0396449 3.15 0.002 .0471829 .2026582 5 2012/13#1 | .1408421 .0395729 3.56 0.000 .0632455 .2184386 6 2013/14#1 | .1555202 .0399638 3.89 0.000 .0771572 .2338831 7 2014/15#1 | .1327628 .0405883 3.27 0.001 .0531752 .2123503 8 2015/16#1 | .1445162 .0402785 3.59 0.000 .0655361 .2234962 9 2016/17#1 | .101765 .0405026 2.51 0.012 .0223455 .1811844 10 2017/18#1 | .1424053 .0402076 3.54 0.000 .0635642 .2212464 11 2018/19#1 | .167149 .0417178 4.01 0.000 .0853465 .2489514 | age | .0826679 .0103653 7.98 0.000 .0623431 .1029928 | c.age#c.age | -.0009762 .0000923 -10.57 0.000 -.0011572 -.0007951 | working_hours | .03485 .0027815 12.53 0.000 .0293959 .0403041 | c.working_hours#c.working_hours | -.0003158 .0000324 -9.76 0.000 -.0003792 -.0002523 | isco_group | -.0286973 .0124213 -2.31 0.021 -.0530535 -.004341 industry | -.0065527 .0058398 -1.12 0.262 -.0180037 .0048983 yeduc | .0509694 .0108919 4.68 0.000 .0296121 .0723267 ft_empl | .1602967 .0140782 11.39 0.000 .1326915 .1879018 marry | .024089 .0102281 2.36 0.019 .0040333 .0441448 kids | -.037875 .0144466 -2.62 0.009 -.0662027 -.0095473 career_orient | -.0037158 .0019303 -1.93 0.054 -.0075008 .0000692 _cons | 4.127984 .3203886 12.88 0.000 3.49975 4.756218 --------------------------------+---------------------------------------------------------------- sigma_u | .32644559 sigma_e | .20413771 rho | .71888487 (fraction of variance due to u_i) -------------------------------------------------------------------------------------------------
Here’s what I’ve already checked:
- The tab wave output confirms waves 12–14 are present and has sufficient data.
- The sample filtering steps don’t seem to drop observations from the later waves.
- The key variable ho_experience_pre is constructed using a “freeze” approach based on wave 11, but I intended it to be applied to all waves (meaning the waves12-14 contain the values from prior wave11). This cannot be the issue because if I use the unfreezed version ho_experience I still have the same issue.
Thanks in advance!
Comment