黃河泉 发表于 2018-3-27 16:11 
试试
请问一下,我的数据是非平衡的,时间是2009-2016,但不是规律的间隔,如果某一年ipo,那这一年到2016年的数据就有,因此有的公司有2009-2016 有的公司只有2013-2016,等等,我用xtbalance后好多数据被删除了,该怎么处理呢?
我的原始数据如下
------------------ copy up to and including the previous line ------------------
使用xtbalance后,如下
----------------------- copy starting from the next line -----------------------
------------------ copy up to and including the previous line ------------------
Listed 100 out of 712 observations