A primer for working with the Spatial Interaction modeling (SpInt) module in the python spatial analysis library (PySAL)

Authors

  • Taylor M Oshan Arizona State University

DOI:

https://doi.org/10.18335/region.v3i2.175

Abstract

This primer provides a practical guide to get started with spatial interaction modeling using the SpInt module in the python spatial analysis library (PySAL).

References

Akaike, H. (1974). A new look at the statistical model identification. Automatic Control, IEEE Transactions on, 19(6):716–723.

Cameron, A. C. and Trivedi, P. K. (2013). Regression Analysis of Count Data. Cambridge University Press, New York.

Chun, Y. (2008). Modeling network autocorrelation within migration flows by eigenvector spatial filtering. Journal of Geographical Systems, 10(4):317–344.

Dennett, A. (2012). Estimating flows between geographical locations:‘get me started in’spatial interaction modelling. Working Paper 184, Citeseer, UCL.

Flowerdew, R. and Aitkin, M. (1982). A Method of Fitting the Gravity Model Based on the Poisson Distribution. Journal of Regional Science, 22(2):191–202.

Flowerdew, R. and Lovett, A. (1988). Fitting Constrained Poisson Regression Models to Interurban Migration Flows. Geographical Analysis, 20(4):297–307.

Fotheringham, A. S. (1983). A new set of spatial-interaction models: the theory of competing destinations. Environment and Planning A, 15(1):15–36.

Fotheringham, A. S. and Brunsdon, C. (1999). Local Forms of Spatial Analysis. Geographical Anal- ysis, 31(4):340–358.

Fotheringham, A. S. and O’Kelly, M. E. (1989). Spatial Interaction Models:Formulations and Applica- tions. Kluwer Academic Publishers, London.

Knudsen, D. and Fotheringham, A. (1986). Matrix comparison, Goodness-of-fit, and spatial inter- action modeling. International Regional Science Review, 10:127–147.

Kordi, M., Kaiser, C., and Fotheringham, A. S. (2012). A possible solution for the centroid-to- centroid and intra-zonal trip length problems. In International Conference on Geographic Informa- tion Science, Avignon.

Lenormand, M., Huet, S., Gargiulo, F., and Deffuant, G. (2012). A Universal Model of Commuting Networks. PLoS ONE, 7(10):e45985.

LeSage, J. P. and Pace, R. K. (2008). Spatial Econometric Modeling Of Origin-Destination Flows. Journal of Regional Science, 48(5):941–967.

Masucci, A. P., Serras, J., Johansson, A., and Batty, M. (2012). Gravity vs radiation model: on the importance of scale and heterogeneity in commuting flows. arXiv:1206.5735 [physics]. arXiv: 1206.5735.

McFadden, D. (1974). Conditional logit analysis of qualitative choice behavior. In Frontiers in Econometrics, pages 105–142. Academic Press, New York.

Nelder, J. A. and Wedderburn, R. W. M. (1972). Generalized Linear Models. Journal of the Royal Statistical Society. Series A (General), 135(3):370–384.

Tiefelsdorf, M. and Boots, B. (1995). The specification of constrained interaction models using the SPSS loglinear procedure. Geographical Systems, 2:21–38.

Tsutsumi, M. and Tamesue, K. (2011). Intraregional Flow Problem in Spatial Econometric Model for Origin-destination Flows. Procedia - Social and Behavioral Sciences, 21:184–192.

Wedderburn, R. W. M. (1974). Quasi-Likelihood Functions, Generalized Linear Models, and the Gauss-Newton Method. Biometrika, 61(3):439–447.

Wilson, A. G. (1971). A family of spatial interaction models, and associated developments. Envi- ronment and Planning A, 3:1–32.

Yan, X.-Y., Zhao, C., Fan, Y., Di, Z., and Wang, W.-X. (2013). Universal Predictability of Mobility Patterns in Cities. arXiv:1307.7502 [physics]. arXiv: 1307.7502.

Published

2016-12-06

How to Cite

Oshan, T. M. (2016) “A primer for working with the Spatial Interaction modeling (SpInt) module in the python spatial analysis library (PySAL)”, REGION. Vienna, Austria, 3(2), pp. R11-R23. doi: 10.18335/region.v3i2.175.

Issue

Section

Resources
Cited by: 21
Manley, Dennett. New Forms of Data for Understanding Urban Activity in Developing Countries, Applied Spatial Analysis and Policy, 2019
Liao, Oshan. A Data‐Driven Approach to Spatial Interaction Models of Migration: Integrating and Refining the Theories of Competing Destinations and Intervening Opportunities, Geographical Analysis, 2025
Rey et al. ThePySALEcosystem: Philosophy and Implementation, Geographical Analysis, 2022
Yang et al. Incremental spatiotemporal flow colocation quotient: a new spatiotemporal association analysis method for geographical flows, International Journal of Geographical Information Science, 2025
Werner et al. Modeling the Spatial and Temporal Spread of COVID-19 in Poland Based on a Spatial Interaction Model, ISPRS International Journal of Geo-Information, 2022
Liu, Oshan. Comparing spatial interaction models and flow interpolation techniques for predicting “cold start” bike‐share trip demand, Transactions in GIS, 2022
Werner. Chorological abductive inferring: case studies of tracing spatial dissemination of COVID-19, Logic Journal of the IGPL, 2024
Koenig, Bender. Generalizing matrix structure affects the identification of least-cost paths and patch connectivity, Theoretical Ecology, 2018
Lomax et al. An Open‐Source Model for Projecting Small Area Demographic and Land‐Use Change, Geographical Analysis, 2022
Oshan. The spatial structure debate in spatial interaction modeling: 50 years on, Progress in Human Geography, 2021
Tordoir et al. Effects of municipal boundaries measured by combining urban scaling and spatial interaction, Journal of The Royal Society Interface, 2023
Werner. Geo-information for Disaster Monitoring and Management, 2024
Werner. Computational Science and Its Applications – ICCSA 2021, 2021
Chapman et al. Changes in the determinants of travel demand for the Washington DC Metrorail system after COVID-19: Evidence from a replication study, Case Studies on Transport Policy, 2025
Kar et al. What Is Essential Travel? Socioeconomic Differences in Travel Demand in Columbus, Ohio, during the COVID-19 Lockdown, Annals of the American Association of Geographers, 2022
Chen et al. Addressing the fixed effects in gravity model based on higher-order origin-destination pairs, International Journal of Geographical Information Science, 2025
https://doi.org/10.1109/SCSP.2017.7973865,
Oshan. Potential and Pitfalls of Big Transport Data for Spatial Interaction Models of Urban Mobility, The Professional Geographer, 2020
Zhang et al. Exploring the associations of socioeconomic characteristics and distance decay effects with two-Steps spatial interaction model, Applied Geography, 2025
Mishina et al. Computational Science and Its Applications – ICCSA 2023, 2023
Lopane et al. A land-use transport-interaction framework for large scale strategic urban modeling, Computers, Environment and Urban Systems, 2023
Share