全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
15109 23
2011-08-07
有一个面板数据

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



为什么啊???year 这个变量的间距是有规律的阿?不懂,求解
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2011-8-7 09:54:05
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
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-8-7 09:54:29
肯定是自身数据存在问题吧
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-8-7 10:34:23
仔细检查了数据,还是没发现有什么问题。year变量下的数据为1952-2008。
. xtgls dfrjzc zfcj wnjh czsrfq czzcfq gdp dfrjsr mzdq zxxsbl province1-province29 t, force可运行,可是不知道该怎么解释结果,郁闷阿
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-8-7 10:47:46
没有数据,不知道问题处在哪
你可以试下软件自带的数据,是没有问题的,可以运行


你加force选项,经济解释没有任何变化的,只是你数据问题
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2011-8-7 13:34:08
发现不是运行不了 xtgls ,而是后面加 panels(cor) 不行
. xtgls dfrjzc zfcj wnjh czsrfq czzcfq gdp dfrjsr mzdq zxxsbl province1-province29 t,panels(cor)
note: province29 omitted because of collinearity
panels must be balanced
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群