楼主: rictan
13995 7

[面板数据求助] !!!面板数据用什么命令做两阶段最小二乘( TSLS)呢? [推广有奖]

已卖:385份资源

教授

27%

还不是VIP/贵宾

-

威望
0
论坛币
1809 个
通用积分
4.7975
学术水平
2 点
热心指数
9 点
信用等级
1 点
经验
22940 点
帖子
592
精华
0
在线时间
1604 小时
注册时间
2007-4-19
最后登录
2024-10-1

楼主
rictan 发表于 2013-9-30 10:27:18 |AI写论文
20论坛币
请教一下,面板数据用什么命令做s两阶段最小二乘( TSLS)呢?
选择的依据是什么呢?谢谢!!

关键词:最小二乘 面板数据 两阶段

沙发
ywh19860616 发表于 2013-9-30 10:38:55
xtivreg2
已有 1 人评分学术水平 热心指数 收起 理由
史蒂芬肥青年 + 1 + 1 精彩帖子

总评分: 学术水平 + 1  热心指数 + 1   查看全部评分

一份耕耘,一份收获。

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

板凳
ywh19860616 发表于 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的帮助文件更全面


已有 2 人评分经验 论坛币 学术水平 热心指数 信用等级 收起 理由
史蒂芬肥青年 + 1 + 1 精彩帖子
Sunknownay + 100 + 10 + 1 + 1 + 1 热心帮助其他会员

总评分: 经验 + 100  论坛币 + 10  学术水平 + 2  热心指数 + 2  信用等级 + 1   查看全部评分

一份耕耘,一份收获。

报纸
rictan 发表于 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

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

XTIVREG2: Stata module t ...
这个好像没有文章
可以搜索ivreg2,这个在stata journal有一篇文章。
一份耕耘,一份收获。

7
1029812370 学生认证  发表于 2015-6-15 19:54:26
学习学习

8
史蒂芬肥青年 发表于 2016-5-31 12:10:19
ywh19860616 发表于 2013-9-30 10:47
xtivreg2 vs ivreg2

xtivreg2 implements IV/GMM estimation of the fixed-effects and first-diffe ...
xtivreg2 does not estimate or report a constant with the fixed effects model fe.
这句话是说xtivreg2不会在固定效应模型中估计或者报告常数项,请问这是为什么?

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注jltj
拉您入交流群
GMT+8, 2025-12-9 16:42