全部版块 我的主页
论坛 计量经济学与统计论坛 五区 计量经济学与统计软件 Stata专版
13709 2
2013-01-09
xtivreg是不是就是所说的2sls?  ivreg2........,gmm2s 名字是什么呢?之前以为后者是2sls。看来是混淆了。谁能给我简单解释一下呢?
二维码

扫码加我 拉你入群

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

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

全部回复
2013-1-10 06:21:06

    ivreg2 implements a range of single-equation estimation methods for the linear regression model: ordinary least squares
    (OLS), instrumental variables (IV, also known as two-stage least squares, 2SLS), the generalized method of moments (GMM),
    limited-information maximum likelihood (LIML), and k-class estimators.  In the language of IV/GMM, varlist1 are the
    exogenous regressors or included instruments, varlist_iv are the exogenous variables excluded from the regression or
    excluded instruments, and varlist2 the endogenous regressors that are being instrumented.

    ivreg2 will also estimate linear regression models using robust (heteroskedastic-consistent), autocorrelation-consistent
    (AC), heteroskedastic and autocorrelation-consistent (HAC) and cluster-robust variance estimates.

    ivreg2 provides extensions to Stata's official ivregress and newey.  ivreg2 supports the same command syntax as official
    ivregress and (almost) all its options.  The main extensions available are as follows:  two-step feasible GMM estimation
    (gmm2s option) and continuously updated GMM estimation (cue option); LIML and k-class estimation; automatic output of
    overidentification and underidentification test statistics; C statistic test of exogeneity of subsets of instruments
    (orthog() option); endogeneity tests of endogenous regressors (endog() option); test of instrument redundancy (redundant()
    option); kernel-based autocorrelation-consistent (AC), and heteroskedastic and autocorrelation consistent (HAC) standard
    errors and covariance estimation (bw(#) option), with user-specified choice of kernel (kernel() option); default reporting
    of large-sample statistics (z and chi-squared rather than t and F); small option to report small-sample statistics;
    first-stage regressions reported with various tests and statistics for identification and instrument relevance; ffirst
    option to report only these identification statistics and not the first-stage regression results themselves; nofooter
    option to suppress footer of regression output.  ivreg2 can also be used for OLS estimation using the same command syntax
    as official regress and newey.






    xtivreg offers five different estimators for fitting panel-data models in which some of the right-hand-side covariates are
    endogenous.  These estimators are two-stage least-squares generalizations of simple panel-data estimators for exogenous
    variables. xtivreg with the be option uses the two-stage least-squares between estimator.  xtivreg with the fe option uses
    the two-stage least-squares within estimator.  xtivreg with the re option uses a two-stage least-squares random-effects
    estimator.  There are two implementations: G2SLS from Balestra and Varadharajan-Krishnakumar (1987) and EC2SLS from
    Baltagi.  The Balestra and Varadharajan-Krishnakumar G2SLS is the default because it is computationally less expensive.
    Baltagi's EC2SLS can be obtained by specifying the ec2sls option.  xtivreg with the fd option requests the two-stage
    least-squares first-differenced estimator.

    See Baltagi (2008) for an introduction to panel-data models with endogenous covariates.  For the derivation and application
    of the first-differenced estimator, see Anderson and Hsiao (1981).
二维码

扫码加我 拉你入群

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

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

2013-1-10 06:21:41
仔细看看各个命令的help文件
二维码

扫码加我 拉你入群

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

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

相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

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