全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
13245 9
2008-05-20
Dear all,

不好意思想请教一下, 在stata跑 GLS (xtgls y x1 x2 x3, i(company)的面板数据下,
GLS是不会产生R^2, 查过原因如下:

The R-squared statistic is an ordinary least squares (OLS) concept that is useful because of the unique way it breaks down the total sum of squares into the sum of the model sum of squares and the residual sum of squares. When you estimate the model’s parameters using generalized least squares (GLS), the total sum of squares cannot be broken down in the the same way, making the R-squared statistic less useful as a diagnostic tool for GLS regressions.

Specifically, an R-squared statistic computed from GLS sums of squares need not be bounded between zero and one and does not represent the percentage of total variation in the dependent variable that is accounted for by the model. Also, eliminating or adding variables in a model does not always increase or decrease the computed R-squared value.

然在Eviews 跑 Fixed methods : Cross section weights (GLS) 却会产生R^2,
但却有点不合理 (照理應該不會產生R^2)。
想请问一下,难道是我搞错Eviews 跟 stata 的 GLS??

另外,想请问一下, 我跑Eviews fixed methods 是GLS工具变量,
那如果我跑stata (xtreg y x1 x2 x3, fe),也会是GLS的工具变量吗?

感激不尽!! 各位同志谢谢你们了! 明天就要跟教授meeting,有点迫在眉梢~~
二维码

扫码加我 拉你入群

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

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

全部回复
2008-11-4 11:11:00
顶一个
二维码

扫码加我 拉你入群

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

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

2008-11-4 12:04:00

你用cross section 数据在eviews里面跑还有DW统计值呢

英文的解释应该是对的

二维码

扫码加我 拉你入群

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

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

2010-3-14 16:57:32
困惑很久的问题,,,,
二维码

扫码加我 拉你入群

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

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

2010-10-21 20:08:59
没想到这个问题居然是由我这个菜鸟来回答。

GLS的拟合优度—R2分析---将是不合理的
在计量教科书的分析中,我们知道拟合优度R2的分析之所以合理,是因为解释变量中包含了常数项的缘故。但在GLS 估计中我们对模型进行的变换,可以通过推导证明,变换后无法保证解释变量中仍然包含一个常数项,因此拟合优度R2的分析将是不合理的。千万不可贸然地对OLS 和GLS 估计得到的拟合优度R2 作比较。
二维码

扫码加我 拉你入群

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

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

2011-3-6 10:23:16
jinfengjj 发表于 2010-10-21 20:08 但在GLS 估计中我们对模型进行的变换,可以通过推导证明,变换后无法保证解释变量中仍然包含一个常数项
这并不是唯一原因。

即使变换后的模型仍然有常数项,变换后的模型也并非原模型本身(变换后的各变量并非原变量本身)。我们要度量的是原模型的拟合程度。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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