Skip to content

crahal/SpatialGrid

Repository files navigation

SpatialGrid

Generic badge Generic badge Generic badge

This repo provides a very simple example of a grid based approach to exogenous specification of spatial weighting matrices. It represents the supplementary material from the working apper entitled 'A Grid Based Approach to Analysing Spatial Weighting Matrix Specification' which is available at osf.io/preprints/socarxiv/nt2yq.

In this example we estimate a simple set of models across a grid comprised of nearest neighbor and alpha variation. This can be seen as a development of Section 3.3 of LeSage and Pace (2014) and Kostov (2010), both based on the Pace and Gilley (1997) amendments which augmented the infamous Harrison and Rubinfeld (1978) data with spatial co-ordinates. We follow the ten-variable specification of LeSage and Pace (2014), and transform the variables accordingly. We then follow their weighting scheme: W_{i,j} =1/(d(i,j)_m^α) where d(i,j)m denotes the distance between the m nearest neighboring observations between j and i and α is the decay parameter. We vary the grid between 1-20 nearest neighbors and across 20 alpha intervals between 0.4-4 to show that despite a strong posterior preference for a small number of models, a high variance in the log-likelihoods and the λ parameter, the direct effects (of, for example: Crime) stay relatively constant between -0.0119 and -0.0079.

The Boston dataset augmented by Pace and Gilley (1997) can be found here.

Some support functions come from the MATLAB toolbox of James LeSage.

Figures

References

Harrison, D. and Rubinfeld, D.L. (1978) Hedonic housing prices and the demand for clean air. Journal of Environmental Economics and Management, 5 (1): 81–102.

Kostov, P. (2010) Model boosting for spatial weighting matrix selection in spatial lag models. Environment and Planning B: Planning and Design, 37 (3): 533–549.

LeSage, J. and Pace, R.K. (2014) The biggest myth in spatial econometrics. Econometrics, 2 (4): 1–33.

Pace, R.K. and Gilley, O. (1997) Using the spatial configuration of the data to improve estimation. The Journal of Real Estate Finance and Economics, 14 (3): 333–340.

About

Some work on a grid based approach to exogenous specification of spatial weighting matrices

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages