Skip to main content
Log in

Programming Correlation Criteria with free CAS Software

  • Published:
Computational Economics Aims and scope Submit manuscript

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.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1

Notes

  1. 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.

  2. SAS, STATA, SPSS and S-plus define the condition index as the square root of this ratio.

  3. All files are available on request.

  4. 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.

    Google Scholar 

  • Bekker, P. A., Merckens, A., & Wansbeek, T. J. (1994). Identification, equivalent models, and computer algebra. San Diego, CA: Academic Press. (out of print).

    Google Scholar 

  • Belsley, D. A. (1991a). A guide to using the collinearity diagnostics. Computer Science in Economics and Management, 4, 33–50.

    Google Scholar 

  • Belsley, D. A. (1991b). Collinearity diagnostics: Collinearity and weak data in regression. New York: Wiley.

    Google Scholar 

  • Belsley, D. A., Kuh, E., & Welsch, R. H. (1980). Regression diagnostics: Identifying influential data and sources of collinearity. New York: Wiley.

    Book  Google Scholar 

  • Belsley, D. A. (1999). Mathematica as an environment for doing economics and econometrics. Computational Economics, 14(1), 69–87.

    Article  Google Scholar 

  • Bjerkoholt, O., & Dupont-Kieffer, A. (Eds.). (2009). Problems and methods of econometrics. The poincare lectures of Ragnar Frisch, 1993. London: Routledge.

    Google Scholar 

  • Bollen, K. A., & Bauldry, S. (2010). Model identification and computer algebra. Sociological Methods and Research, 39(2), 127–156.

    Article  Google Scholar 

  • 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.

    Google Scholar 

  • Field, A. (2009). Discovering statistics using SPSS for windows (3rd ed.). Los Angeles: Sage Publications.

    Google Scholar 

  • 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.

    Google Scholar 

  • Friendly, M., & Kwan, E. (2009). Where’s Waldo? Visualizing collinearity diagnostics. The American Statistician, 63(1), 56–65.

    Article  Google Scholar 

  • Fox, J. (1984). Linear statistical models and related methods. New York: Wiley.

    Google Scholar 

  • Gujarati, D. N. (2003). Basic econometrics (4th ed.). Boston: McGraw Hill.

    Google Scholar 

  • Halkos, G. E. (2006). Econometrics: Theory and practice. Athens: Giourdas Publications.

    Google Scholar 

  • Halkos, G. E. (2011). Econometrics: Theory and practice: Instructions in using Eviews, Minitab, SPSS and excel. Athens: Gutenberg.

    Google Scholar 

  • 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.

    Article  Google Scholar 

  • 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.

    Article  Google Scholar 

  • Kendrick, D. A., & Amman, H. M. (1999). Programming languages in economics. Computational Economics, 14, 151–181.

    Article  Google Scholar 

  • 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.

    Article  Google Scholar 

  • Merckens, A., & Bekker, P. A. (1993). Identification of simultaneous equation models with measurement error: A computerized evaluation. Statistica Neerlandica, 47(4), 233–244.

    Article  Google Scholar 

  • 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.

    Google Scholar 

  • 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.

    Book  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to George E. Halkos.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

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

Download citation

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10614-016-9604-1

Keywords

JEL Classification

Navigation