Abstract
Our contribution in this work is to set the directions for specialized econometric computations in a free computer algebra system, Xcas. We focus on the programming of a routine dedicated to correlation criteria for multiple regression models. We program several operations for detecting and evaluating collinearity by applying the diagnostic techniques of linear regression analysis. In order to illustrate the computational performance of our Xcas codes, we repeat most of the analysis carried out in widely used commercial software, along with some extra statistics. Xcas could constitute a supplemental tool in a collinear data study. Its use is proposed complementary to established econometric software or as substitute software.
Notes
The selected software, Xcas, is a computer algebra system accessible to all users interested, free of any charges, available at http://www-fourier.ujf-grenoble.fr/~parisse/giac.html. Xcas is compatible with Mac OSX, Windows (except possibly for Vista) and Linux/Ubuntu.
SAS, STATA, SPSS and S-plus define the condition index as the square root of this ratio.
All files are available on request.
Due to space limitation we have omitted the relevant output in commercial software SPSS, MINITAB and STATA. These derivations are available on request.
References
Amman, H., Kendrick, D., & Rust, J. (1996). Handbook of computational economics. Amsterdam: Elsevier North-Holland.
Bekker, P. A., Merckens, A., & Wansbeek, T. J. (1994). Identification, equivalent models, and computer algebra. San Diego, CA: Academic Press. (out of print).
Belsley, D. A. (1991a). A guide to using the collinearity diagnostics. Computer Science in Economics and Management, 4, 33–50.
Belsley, D. A. (1991b). Collinearity diagnostics: Collinearity and weak data in regression. New York: Wiley.
Belsley, D. A., Kuh, E., & Welsch, R. H. (1980). Regression diagnostics: Identifying influential data and sources of collinearity. New York: Wiley.
Belsley, D. A. (1999). Mathematica as an environment for doing economics and econometrics. Computational Economics, 14(1), 69–87.
Bjerkoholt, O., & Dupont-Kieffer, A. (Eds.). (2009). Problems and methods of econometrics. The poincare lectures of Ragnar Frisch, 1993. London: Routledge.
Bollen, K. A., & Bauldry, S. (2010). Model identification and computer algebra. Sociological Methods and Research, 39(2), 127–156.
Callaghan, K., & Chen, J. (2008). Revisiting the collinear data problem: An assessment of estimator ‘Ill-Conditioning’ in linear regression. Practical Assessment, Research & Evaluation, 13(5), 2.
Field, A. (2009). Discovering statistics using SPSS for windows (3rd ed.). Los Angeles: Sage Publications.
Frawley, W. J. (1985). Computer generation of symbolic generalized inverses and applications to physics and data analysis. In R. Pavelle (Ed.), Applications of computer algebra. Boston: Kluwer Academic Publishers.
Friendly, M., & Kwan, E. (2009). Where’s Waldo? Visualizing collinearity diagnostics. The American Statistician, 63(1), 56–65.
Fox, J. (1984). Linear statistical models and related methods. New York: Wiley.
Gujarati, D. N. (2003). Basic econometrics (4th ed.). Boston: McGraw Hill.
Halkos, G. E. (2006). Econometrics: Theory and practice. Athens: Giourdas Publications.
Halkos, G. E. (2011). Econometrics: Theory and practice: Instructions in using Eviews, Minitab, SPSS and excel. Athens: Gutenberg.
Halkos, G. E., & Tsilika, K. D. (2015). Programming identification criteria in simultaneous equation models. Computational Economics, 46(1), 157–170. doi:10.1007/s10614-014-9444-9.
Hendrickx, J. (2010). perturb: Tools for evaluating collinearity. R package version 2.04. http://CRAN.R-project.org/package=perturb
Hutton, J., & Hutton, J. (1995). The Maple computer algebra system: A review. Journal of Applied Econometrics, 10(3), 329–337. doi:10.1002/jae.3950100308.
Kendrick, D. A., & Amman, H. M. (1999). Programming languages in economics. Computational Economics, 14, 151–181.
Li, J., & Racine, J. S. (2008). Maxima: An open source computer algebra system. Journal of Applied Econometrics, 23(4), 515–523. doi:10.1002/jae.1007.
Merckens, A., & Bekker, P. A. (1993). Identification of simultaneous equation models with measurement error: A computerized evaluation. Statistica Neerlandica, 47(4), 233–244.
Merckens, A. (1991). Computer algebra applications in econometrics. Doctoral Thesis, University of Groningen.
Schipp, B., & Krämer, W. (Eds.). (2009). Statistical inference, econometric analysis and matrix algebra: Festschrift in Honor of Götz Trenkler. Heidelberg: Springer.
Sheppard, K. (2014). Introduction to python for econometrics, statistics and data analysis. University of Oxford. Tuesday Aug 5, 2014, from https://www.kevinsheppard.com/images/0/09/Python_introduction.pdf. Accessed March 28, 2016
Stroeker, R. J., & Kaashoek, J. F. (1999). Discovering mathematics with Maple: An interactive exploration for mathematicians, engineers and econometricians. New York: Springer.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
About this article
Cite this article
Halkos, G.E., Tsilika, K.D. Programming Correlation Criteria with free CAS Software. Comput Econ 52, 299–311 (2018). https://doi.org/10.1007/s10614-016-9604-1
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10614-016-9604-1