IDEAS home Printed from https://ideas.repec.org/p/uam/wpaper/201305.html
   My bibliography  Save this paper

A Panel Data Toolbox for MATLAB

Author

Listed:
  • Álvarez, Inmaculada

    () (Departamento de Análisis Económico (Teoría e Historia Económica). UAM)

  • Barbero, Javier

    () (Departamento de Análisis Económico (Teoría e Historia Económica). Universidad Autónoma de Madrid.)

  • Zofío, José Luis

    () (Departamento de Análisis Económico (Teoría e Historia Económica). Universidad Autónoma de Madrid.)

Abstract

Panel Data Toolbox is a new package for MATLAB that includes functions to estimate the main econometric methods of panel data analysis. The package includes code for the standard fixed, between and random effects estimation methods, as well as for the existing instrumental panel and new spatial panel. This paper describes the methodology and implementation of the functions and illustrates their use with well-known examples. We perform numerical checks against other popular commercial and free software in order to show the validity of the results.

Suggested Citation

  • Álvarez, Inmaculada & Barbero, Javier & Zofío, José Luis, 2013. "A Panel Data Toolbox for MATLAB," Working Papers in Economic Theory 2013/05, Universidad Autónoma de Madrid (Spain), Department of Economic Analysis (Economic Theory and Economic History).
  • Handle: RePEc:uam:wpaper:201305
    as

    Download full text from publisher

    File URL: http://www.uam.es/departamentos/economicas/analecon/especifica/mimeo/wp20135.pdf
    Download Restriction: no

    Other versions of this item:

    References listed on IDEAS

    as
    1. Kelejian, Harry H & Prucha, Ingmar R, 1999. "A Generalized Moments Estimator for the Autoregressive Parameter in a Spatial Model," International Economic Review, Department of Economics, University of Pennsylvania and Osaka University Institute of Social and Economic Research Association, vol. 40(2), pages 509-533, May.
    2. Lee, Lung-fei & Yu, Jihai, 2010. "Estimation of spatial autoregressive panel data models with fixed effects," Journal of Econometrics, Elsevier, vol. 154(2), pages 165-185, February.
    3. Baltagi, Badi H. & Liu, Long, 2011. "Instrumental variable estimation of a spatial autoregressive panel model with random effects," Economics Letters, Elsevier, vol. 111(2), pages 135-137, May.
    4. Jan Mutl & Michael Pfaffermayr, 2011. "The Hausman test in a Cliff and Ord panel model," Econometrics Journal, Royal Economic Society, vol. 14, pages 48-76, February.
    5. Kelejian, Harry H & Prucha, Ingmar R, 1998. "A Generalized Spatial Two-Stage Least Squares Procedure for Estimating a Spatial Autoregressive Model with Autoregressive Disturbances," The Journal of Real Estate Finance and Economics, Springer, vol. 17(1), pages 99-121, July.
    6. Kelejian, Harry H. & Prucha, Ingmar R., 2007. "HAC estimation in a spatial framework," Journal of Econometrics, Elsevier, vol. 140(1), pages 131-154, September.
    7. Jeffrey M Wooldridge, 2010. "Econometric Analysis of Cross Section and Panel Data," MIT Press Books, The MIT Press, edition 2, volume 1, number 0262232588, March.
    8. Croissant, Yves & Millo, Giovanni, 2008. "Panel Data Econometrics in R: The plm Package," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 27(i02).
    9. Kelejian, Harry H. & Prucha, Ingmar R., 2004. "Estimation of simultaneous systems of spatially interrelated cross sectional equations," Journal of Econometrics, Elsevier, vol. 118(1-2), pages 27-50.
    10. Hansen, Christian B., 2007. "Asymptotic properties of a robust variance matrix estimator for panel data when T is large," Journal of Econometrics, Elsevier, vol. 141(2), pages 597-620, December.
    11. repec:dgr:rugsom:03c27 is not listed on IDEAS
    12. Baltagi, Badi H. & Liu, Long, 2009. "A note on the application of EC2SLS and EC3SLS estimators in panel data models," Statistics & Probability Letters, Elsevier, vol. 79(20), pages 2189-2192, October.
    13. Millo, Giovanni & Piras, Gianfranco, 2012. "splm: Spatial Panel Data Models in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 47(i01).
    14. Baltagi, Badi H., 1981. "Simultaneous equations with error components," Journal of Econometrics, Elsevier, vol. 17(2), pages 189-200, November.
    15. White, Halbert, 1980. "A Heteroskedasticity-Consistent Covariance Matrix Estimator and a Direct Test for Heteroskedasticity," Econometrica, Econometric Society, vol. 48(4), pages 817-838, May.
    16. Baltagi, Badi H. & Li, Qi, 1992. "A Note on the Estimation of Simultaneous Equations with Error Components," Econometric Theory, Cambridge University Press, vol. 8(01), pages 113-119, March.
    17. Wallace, T D & Hussain, Ashiq, 1969. "The Use of Error Components Models in Combining Cross Section with Time Series Data," Econometrica, Econometric Society, vol. 37(1), pages 55-72, January.
    18. Kapoor, Mudit & Kelejian, Harry H. & Prucha, Ingmar R., 2007. "Panel data models with spatially correlated error components," Journal of Econometrics, Elsevier, vol. 140(1), pages 97-130, September.
    19. Elhorst, J. Paul, 2003. "Unconditional maximum likelihood estimation of dynamic models for spatial panels," Research Report 03C27, University of Groningen, Research Institute SOM (Systems, Organisations and Management).
    20. Piras, Gianfranco, 2010. "sphet: Spatial Models with Heteroskedastic Innovations in R," Journal of Statistical Software, Foundation for Open Access Statistics, vol. 35(i01).
    21. Gianfranco Piras, 2013. "Efficient GMM Estimation of a Cliff and Ord Panel Data Model with Random Effects," Spatial Economic Analysis, Taylor & Francis Journals, vol. 8(3), pages 370-388, September.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Álvarez, Inmaculada & Barbero, Javier, 2013. "Knowledge Spillovers in Neoclassical Growth Model: an extension with Public Sector," Working Papers in Economic Theory 2013/07, Universidad Autónoma de Madrid (Spain), Department of Economic Analysis (Economic Theory and Economic History).
    2. Gizem Umut Doğan & Gizem Umut Doğan, Aslıhan Kabadayı, 2015. "Determinants of Internal Migration in Turkey: A Panel Data Analysis Approach," Border Crossing, Transnational Press London, UK, vol. 2015(1502), pages 16-24, May.
    3. Álvarez, Inmaculada C. & Barbero, Javier & Zofío, José L., 2016. "A spatial autoregressive panel model to analyze road network spillovers on production," Transportation Research Part A: Policy and Practice, Elsevier, vol. 93(C), pages 83-92.
    4. Marcos Herrera & Jesus Mur & Manuel Ruiz-Marin, 2017. "A Comparison Study on Criteria to Select the Most Adequate Weighting Matrix," Working Papers 18, Instituto de Estudios Laborales y del Desarrollo Económico (IELDE) - Universidad Nacional de Salta - Facultad de Ciencias Económicas, Jurídicas y Sociales.
    5. repec:seg:012016:v:2:y:2017:i:3:p:123-155 is not listed on IDEAS
    6. Gizem Umut Doğan & Gizem Umut Doğan, Aslıhan Kabadayı, 2015. "Determinants of Internal Migration in Turkey: A Panel Data Analysis Approach," Border Crossing, Transnational Press London, UK, vol. 5(1-2), pages 16-24, May.

    More about this item

    Keywords

    panel data; instrumental panel; spatial panel; econometrics; MATLAB.;

    JEL classification:

    • C21 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Cross-Sectional Models; Spatial Models; Treatment Effect Models
    • C23 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Models with Panel Data; Spatio-temporal Models
    • C26 - Mathematical and Quantitative Methods - - Single Equation Models; Single Variables - - - Instrumental Variables (IV) Estimation

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:uam:wpaper:201305. See general information about how to correct material in RePEc.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Andrés Maroto-Sánchez). General contact details of provider: http://edirc.repec.org/data/dauames.html .

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service hosted by the Research Division of the Federal Reserve Bank of St. Louis . RePEc uses bibliographic data supplied by the respective publishers.