TY - ADVS
T1 - Stata software for econometric estimation and testing; avar, weakiv, actest, ivreg2h, ranktest, ivreg2
A2 - Schaffer, Mark Edwin
A2 - Baum, Christopher
A2 - Finlay, Keith
A2 - Kleibergen, Frank
A2 - Magnusson, Leandro
A2 - Stillman, Steven
N1 - The software packages submitted are published on Statistical Software Components ("SSC") via RePEc/IDEAS. All of the software packages have been in continuous development since their original introduction. Dates of first publication and dates of last revision are given on the RePEc pages.
In the case of ranktest and ivreg2, original publication was prior to 2008 but major extensions and revisions were introduced in 2010 and 2011. These include: 2-way clustering; Angrist-Pischke first-stage F statistics; robustness to autocorrelated across-panel disturbances; support for Kiefer and Driscoll-Kraay variance-covarance estimators; and major recoding using Stata's matrix-programming language, Mata. avar (first published 2013) provides a front-end for the core Mata routines used by these packages to calculate various robust variance-covariance estimators (VCEs), including the aforementioned extensions. actest (first published 2013) is a major extension of a pre-existing package.
Announcements of major revisions (2010, 2011, 2013):
http://www.stata.com/statalist/archive/2010-02/msg00312.html
http://www.stata.com/statalist/archive/2011-10/msg00224.html
http://www.stata.com/statalist/archive/2013-07/msg00849.html
PY - 2013
Y1 - 2013
N2 - The programs implement a range of advanced econometric estimation and testing procedures for use in the Stata statistical software environment. In all cases a wide range of variance-covariance estimators (VCEs) are supported, including heteroskedastic-, autocorrelation-, and heteroskedastic-and-autocorrelation-robust (HC, AC and HAC), cluster-robust, 2-way clustering, Kiefer and Driscoll-Kraay VCEs, etc. Panel data are also supported in all cases. (1) avar} is a routine for estimating S, the asymptotic variance of (1/N)*Z'e, where Z is an NxL matrix of L variables, e is an Nxp matrix of p variables, and N is the sample size. avar can estimate VCEs for single and multiple equations that are robust to various violations of the assumption of iid data, including heteroskedasticity, autocorrelation, 1- and 2-way clustering, kernel-robust common cross-panel disturbances (Driscoll-Kraay), within-panel arbitrary autocorrelation (Kiefer), etc. It supports time-series and panel data. It provides a front-end to the Mata routines shared by the software below. (2) weakiv calculates weak-instrument-robust tests of the coefficient on the endogenous variable in an IV estimation of linear, probit and tobit models. weakiv reports the Anderson-Rubin (AR) test statistic, the conditional likelihood ratio (CLR) test, the Lagrange multiplier K test, the J overidentification test, and a combination of the K and overidentification tests (the K-J test). weakiv also inverts these tests to construct confidence intervals that are robust to weak identification. weakiv provides a graphing facility for visual examination and presentation of rejection frequencies and confidence intervals based on these tests. (3) actest performs the general specification test of serial correlation in a time series proposed by Cumby and Huizinga. It can be applied to a univariate time series or as a postestimation command after OLS or instrumental variables (IV) estimation. The null hypothesis of the test is that the time series is a moving average of known order q, which could be zero or a positive value. The test considers the general alternative that autocorrelations of the time series are nonzero at lags greater than q. (4) ivreg2h estimates an IV regression model providing the option to generate instruments using Lewbel's method. This technique allows the identification of structural parameters in regression models with endogenous or mismeasured regressors in the absence of traditional identifying information, such as external instruments or repeated measurements. Identification is achieved in this context by having regressors that are uncorrelated with the product of heteroskedastic errors, which is a feature of many models where error correlations are due to an unobserved common factor. This approach may thus be applied when no external instruments are available, or, alternatively, used to supplement external instruments to improve the efficiency of the IV estimator. (5) ranktest implements the Kleibergen-Paap rk test for the rank of a matrix. Tests of the rank of a matrix have many practical applications. For example, in econometrics the requirement for identification is the rank condition, which states that a particular matrix must be of full column rank. Another example from econometrics concerns cointegration in vector autoregressive (VAR) models; the Johansen trace test is a test of a rank of a particular matrix. The Kleibergen-Paap rk statistic is a generalization of the Anderson canonical correlation rank test to the case of a non-Kronecker covariance matrix. The implementation in ranktest will calculate rk statistics that are robust to various forms of heteroskedasticity, autocorrelation, and clustering (see avar). (6) ivreg2 provides extensions to Stata's IV estimation facilities. Its main capabilities: two-step feasible GMM estimation; continuously updated GMM estimation (CUE); LIML and k-class estimation; automatic output of the Hansen-Sargan or Anderson-Rubin statistic for overidentifying restrictions; tests of exogeneity of subsets of instruments; statistics that are robust to various forms of heteroskedasticity, autocorrelation, and clustering (see avar); first-stage regression reported with Angrist-Pischke F-tests and R-squareds; tests for underidentification and weak instruments.
AB - The programs implement a range of advanced econometric estimation and testing procedures for use in the Stata statistical software environment. In all cases a wide range of variance-covariance estimators (VCEs) are supported, including heteroskedastic-, autocorrelation-, and heteroskedastic-and-autocorrelation-robust (HC, AC and HAC), cluster-robust, 2-way clustering, Kiefer and Driscoll-Kraay VCEs, etc. Panel data are also supported in all cases. (1) avar} is a routine for estimating S, the asymptotic variance of (1/N)*Z'e, where Z is an NxL matrix of L variables, e is an Nxp matrix of p variables, and N is the sample size. avar can estimate VCEs for single and multiple equations that are robust to various violations of the assumption of iid data, including heteroskedasticity, autocorrelation, 1- and 2-way clustering, kernel-robust common cross-panel disturbances (Driscoll-Kraay), within-panel arbitrary autocorrelation (Kiefer), etc. It supports time-series and panel data. It provides a front-end to the Mata routines shared by the software below. (2) weakiv calculates weak-instrument-robust tests of the coefficient on the endogenous variable in an IV estimation of linear, probit and tobit models. weakiv reports the Anderson-Rubin (AR) test statistic, the conditional likelihood ratio (CLR) test, the Lagrange multiplier K test, the J overidentification test, and a combination of the K and overidentification tests (the K-J test). weakiv also inverts these tests to construct confidence intervals that are robust to weak identification. weakiv provides a graphing facility for visual examination and presentation of rejection frequencies and confidence intervals based on these tests. (3) actest performs the general specification test of serial correlation in a time series proposed by Cumby and Huizinga. It can be applied to a univariate time series or as a postestimation command after OLS or instrumental variables (IV) estimation. The null hypothesis of the test is that the time series is a moving average of known order q, which could be zero or a positive value. The test considers the general alternative that autocorrelations of the time series are nonzero at lags greater than q. (4) ivreg2h estimates an IV regression model providing the option to generate instruments using Lewbel's method. This technique allows the identification of structural parameters in regression models with endogenous or mismeasured regressors in the absence of traditional identifying information, such as external instruments or repeated measurements. Identification is achieved in this context by having regressors that are uncorrelated with the product of heteroskedastic errors, which is a feature of many models where error correlations are due to an unobserved common factor. This approach may thus be applied when no external instruments are available, or, alternatively, used to supplement external instruments to improve the efficiency of the IV estimator. (5) ranktest implements the Kleibergen-Paap rk test for the rank of a matrix. Tests of the rank of a matrix have many practical applications. For example, in econometrics the requirement for identification is the rank condition, which states that a particular matrix must be of full column rank. Another example from econometrics concerns cointegration in vector autoregressive (VAR) models; the Johansen trace test is a test of a rank of a particular matrix. The Kleibergen-Paap rk statistic is a generalization of the Anderson canonical correlation rank test to the case of a non-Kronecker covariance matrix. The implementation in ranktest will calculate rk statistics that are robust to various forms of heteroskedasticity, autocorrelation, and clustering (see avar). (6) ivreg2 provides extensions to Stata's IV estimation facilities. Its main capabilities: two-step feasible GMM estimation; continuously updated GMM estimation (CUE); LIML and k-class estimation; automatic output of the Hansen-Sargan or Anderson-Rubin statistic for overidentifying restrictions; tests of exogeneity of subsets of instruments; statistics that are robust to various forms of heteroskedasticity, autocorrelation, and clustering (see avar); first-stage regression reported with Angrist-Pischke F-tests and R-squareds; tests for underidentification and weak instruments.
M3 - Software
PB - Research Papers in Economics (RePEc) - Statistical Software Components
ER -