全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
13943 7
2013-09-30
悬赏 20 个论坛币 未解决
请教一下,面板数据用什么命令做s两阶段最小二乘( TSLS)呢?
选择的依据是什么呢?谢谢!!

二维码

扫码加我 拉你入群

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

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

全部回复
2013-9-30 10:38:55
xtivreg2
二维码

扫码加我 拉你入群

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

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

2013-9-30 10:42:00
ywh19860616 发表于 2013-9-30 10:38
xtivreg2
xtivreg,ivreg2好像也可以做,两者有什么区别呢?
二维码

扫码加我 拉你入群

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

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

2013-9-30 10:47:38
rictan 发表于 2013-9-30 10:42
xtivreg,ivreg2好像也可以做,两者有什么区别呢?
xtivreg2 vs ivreg2

xtivreg2 implements IV/GMM estimation of the fixed-effects and first-differences panel data models with possibly endogenous regressors.  It is essentially a wrapper for
ivreg2, which must be installed for xtivreg2 to run (version 2.1.11 or above of ivreg2 is required for Stata 9; Stata 8.2 requires ivreg28).  xtivreg2 supports all the
estimation and reporting options of ivreg2; see help ivreg2 for full descriptions and examples.  In particular, all the statistics available with ivreg2 (heteroskedastic,
cluster- and autocorrelation-robust covariance matrix and standard errors, overidentification and orthogonality tests, first-stage and weak/underidentification statistics,
etc.) are also supported by xtivreg2 and will be reported with any degrees-of-freedom adjustments required for a panel data estimation.



xtivreg2 vs  xtivreg


Other features of xtivreg2 and differences vs. official xtivreg:
    xtivreg2 supports only the fixed effects and the first-differences panel models; the option fe or fd is required.  GLS random effects is not supported.

   xtivreg2 does not estimate or report a constant with the fixed effects model fe.

   If ivreg2 version 3.0 or later is installed, xtivreg2 supports 2-way clustering; see help ivreg2 for details.

   First-differences estimation with xtivreg2 yields estimates identical to ivreg2 when the latter is supplied with all variables expressed in first-differences.

   xtivreg2 allows use of time series operators.

   For fixed-effects estimation, the data must either be tsset, the panel id variable set with iis, or the panel id variable supplied to xtivreg2 with the ivar option.  For
   first-differences estimation, the data must be tsset.

   xtivreg2 supports all types of weights.

   The R-squared reported by xtivreg2 for the fixed-effects estimation is the "within R-squared" obtained by estimating the equation in mean-deviation form.

   xtivreg2 supports simple fixed effects and first-differences estimation with no endogeneous variables, i.e., (varlist2=varlist_iv) can be omitted.


自己看xtivreg2的帮助文件更全面


二维码

扫码加我 拉你入群

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

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

2013-9-30 11:02:48
ywh19860616 发表于 2013-9-30 10:47
xtivreg2 vs ivreg2

xtivreg2 implements IV/GMM estimation of the fixed-effects and first-diffe ...
非常感谢,能够提供XTIVREG2命令的原文么,我在网上没有找到呢,文名如下:

XTIVREG2: Stata module to perform extended IV/2SLS, GMM and AC/HAC, LIML and k-class regression for panel data models
二维码

扫码加我 拉你入群

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

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

2013-9-30 11:34:42
rictan 发表于 2013-9-30 11:02
非常感谢,能够提供XTIVREG2命令的原文么,我在网上没有找到呢,文名如下:

XTIVREG2: Stata module t ...
这个好像没有文章
可以搜索ivreg2,这个在stata journal有一篇文章。
二维码

扫码加我 拉你入群

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

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

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

说点什么

分享

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