问题如下:
我的数据是6年的数据,部分样本值缺失。
. xtset id year
panel variable: id (unbalanced)
time variable: year, 2007 to 2012, but with gaps
delta: 1 unit
but with gaps我在网上查了一下,说是缺失了,而且Levin-Lin-Chiu test requires strongly balanced data、 Im-Pesaran-Shin test cannot have gaps in data,那应该怎么处理?使用. xtbalance,range(2007 2012)转换成平衡数据就可以进行单位根的检验,那有什么方法直接对非平衡数据进行单位分检验呢?
我明明是非平衡面板数据,但是xtset之后:
panel variable: bank (strongly balanced)
time variable: year, 1998 to 2012
delta: 1 year
而用xtunitroot llc进行单位根检验,则提示:
Levin-Lin-Chiu test requires strongly balanced data