xtset province year panel variable: province (strongly balanced) time variable: year, 1952 to 2008 delta: 1 unit
我想运行xtgls 命令,可是为什么出来的是这样的:
. xtgls dfrjzc zfcj wnjh czsrfq czzcfq gdp dfrjsr mzdq zxxsbl province1-province29 t, panels(cor) cor(ar1) note: province29 omitted because of collinearity
year is not regularly spaced or does not have intervals of delta -- use
the force option to treat the intervals as though they were regular
Model
noconstant suppress constant term
panels(iid) use i.i.d. error structure
panels(heteroskedastic) use heteroskedastic but uncorrelated error structure
panels(correlated) use heteroskedastic and correlated error structure
corr(independent) use independent autocorrelation structure
corr(ar1) use AR1 autocorrelation structure
corr(psar1) use panel-specific AR1 autocorrelation structure
rhotype(calc) specify method to compute autocorrelation parameter; see Options for
details; seldom used
igls use iterated GLS estimator instead of two-step GLS estimator
force estimate even if observations unequally spaced in time
后面加 cor(ar1) 也不行 xtgls dfrjzc zfcj wnjh czsrfq czzcfq gdp dfrjsr mzdq zxxsbl,cor(ar1)
t is not regularly spaced or does not have intervals of delta -- use
the force option to treat the intervals as though they were regular
为什么呢?
兄弟,你的问题解决了吗?我现在也碰到了同样的问题,不知道怎么解决了,而且我加了force 选项也不行的,显示panels must be balanced,但我的数据是平稳面板啊,我的命令是
xtgls save drate olddep g childdep brate id2-id30 ,panels(cor) corr(ar1) force
是不是id2-id30 不是面板数据的原因啊?
能帮帮忙么,谢谢
我也遇到同样的问题,求解啊
year is not regularly spaced or does not have intervals of delta -- use
the force option to treat the intervals as though they were regular