Implementing econometric estimators with Mata
We discuss how econometric estimators may be efficiently programmed in Mata. The prevalence of matrix-based analytical derivations of estimation techniques and the computational improvements available from just-in-time compilation combine to make Mata the tool of choice for econometric implementation. Two examples are given: computing the seemingly unrelated regression (SUR) estimator for an unbalanced panel, a multivariate linear approach, and computing the continuously updated GMM estimator (GMM-CUE) for a linear instrumental variables model. The GMM-CUE estimator makes use of Mata's optimize suite of functions. Both illustrate the power and effectiveness of a Mata-based approach.
Year of publication: |
2009-09-16
|
---|---|
Authors: | Baum, Christopher ; Schaffer, Mark |
Institutions: | Stata User Group |
Saved in:
freely available
Saved in favorites
Similar items by person
-
Instrumental variables estimation using heteroskedasticity-based instruments
Baum, Christopher, (2012)
-
A general approach to testing for autocorrelation
Baum, Christopher, (2013)
-
Extending Stata's capabilities for asymptotic covariance matrix estimation
Baum, Christopher, (2014)
- More ...