Skip to main content
Log in

Software for Bayesian cross section and panel spatial model comparison

  • Original Article
  • Published:
Journal of Geographical Systems Aims and scope Submit manuscript

Abstract

A wide variety of spatial regression specifications that include alternative types of spatial dependence (e.g., lagged values of the dependent variable, spatial lags of explanatory variables, dependence in the model disturbances) have been the focus of a literature on statistical tests for distinguishing between alternative specifications. LeSage (Spat Stat 9:122–145, 2014) argues that a Bayesian approach to model comparison for cross-sectional and static panel models considerably simplifies the task of selecting an appropriate model. MATLAB software functions for carrying out Bayesian cross-sectional and static spatial panel model comparisons described in LeSage (2014) are described here along with a number of illustrative applications.

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.

Similar content being viewed by others

Notes

  1. All references to the toolbox are to the Spatial Econometrics Toolbox for MATLAB available for free at www.spatial-econometrics.com.

  2. Users can rely on any structure variable name, for example, options. lflag = 0 would work, with the name ‘options’ entered in place of ‘info’.

  3. When using the default MC determinant option, info.lflag = 1, every run of the program will produce slightly different results because a Monte Carlo approximation to the log-determinant calculation is being used (see Barry and Pace 1999).

  4. The SLX model results are identical because no numerical integration is required to calculate the log-marginal likelihood in this case. Varying degrees of accuracy in numerical integration are what explains the difference in results (see LeSage 2014 for details regarding this).

  5. LeSage (2014) shows that these three models subsume other models such as SAR and SEM as special cases, following the same logic as set forth in LeSage and Pace (2009).

References

  • Anselin L, Bera AK, Florax R, Yoon MJ (1996) Simple diagnostic tests for spatial dependence. Reg Sci Urban Econ 26(1):77–104

    Article  Google Scholar 

  • Baltagi BH (2001) Econometric analysis of panel data, 2nd edn. Wiley, Chichester

    Google Scholar 

  • Barry RP, Pace RK (1999) A Monte Carlo estimator of the log determinant of large sparse matrices. Linear Algebra Appl 289(1–3):41–54

    Article  MathSciNet  MATH  Google Scholar 

  • Elhorst JP (2010) Spatial panel data models. In: Fischer MM, Getis A (eds) Handbook of applied spatial analysis. Springer, Berlin, pp 377–407

    Chapter  Google Scholar 

  • Elhorst JP (2014) Matlab software for spatial panels. Int Reg Sci Rev 37(3):389–405

    Article  Google Scholar 

  • Fernandez C, Ley E, Steel MFJ (2001) Benchmark priors for Bayesian model averaging. J Econ 100(2):381–427

    Article  MathSciNet  MATH  Google Scholar 

  • Han X, Lee L (2013) Bayesian estimation and model selection for spatial durbin error models with finite distributed lags. Reg Sci Urban Econ 43(5):816–837

    Article  MathSciNet  Google Scholar 

  • Kelejian HH, Piras G (2015) An extension of the J-test to a spatial panel data framework. J Appl Econ. doi:10.1002/jae.2425

  • LaFaive MD, Nesbit T (2013) Higher cigarette taxes create lucrative, dangerous black market, Mackinac Center For Public Policy. www.mackinac.org/18128

  • Lee L, Yu J (2010) Some recent developments in spatial panel data models. Reg Sci Urban Econ 40(5):255–271

    Article  Google Scholar 

  • LeSage JP (2014) Spatial econometric panel data model specification: a Bayesian approach. Spat Stat 9:122–145

    Article  MathSciNet  Google Scholar 

  • LeSage JP, Parent O (2007) Bayesian model averaging for spatial econometric models. Geogr Anal 39(3):241–267

    Article  Google Scholar 

  • LeSage JP, Pace RK (2009) Introduction to spatial econometrics. CRC Press Taylor & Francis Group, Boca Raton

    Book  MATH  Google Scholar 

  • LeSage JP, Pace RK (2014) Interpreting spatial econometric models. In: Fischer MM, Nijkamp Peter (eds) Handbook of regional science. Springer, New York, pp 1535–1552

    Chapter  Google Scholar 

  • Mur J (1999) Testing for spatial autocorrelation: moving average versus autoregressive processes. Environ Plan A 31(8):1371–1382

    Article  Google Scholar 

  • Parent O, LeSage JP (2012) Spatial dynamic panel data models with random effects. Reg Sci Urban Econ 42(4):727–738

    Article  Google Scholar 

  • Piras G, Lozano-Gracia N (2012) Spatial J-test: some Monte Carlo evidence. Stat Comput 22(1):169–183

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to James P. LeSage.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

LeSage, J.P. Software for Bayesian cross section and panel spatial model comparison. J Geogr Syst 17, 297–310 (2015). https://doi.org/10.1007/s10109-015-0217-3

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10109-015-0217-3

Keywords

JEL Classification

Navigation