IDEAS home Printed from https://ideas.repec.org/a/spr/jcsosc/v3y2020i1d10.1007_s42001-019-00059-3.html
   My bibliography  Save this article

An open-source framework for non-spatial and spatial segregation measures: the PySAL segregation module

Author

Listed:
  • Renan Xavier Cortes

    (University of California)

  • Sergio Rey

    (University of California)

  • Elijah Knaap

    (University of California)

  • Levi John Wolf

    (University of Bristol)

Abstract

In human geography and the urban social sciences, the segregation literature typically engages with five conceptual dimensions along which a given society may be considered segregated: evenness, isolation, clustering, concentration and centralization (all of which can incorporate or omit spatial context). Over the last several decades, dozens of segregation indices have been proposed and studied in the literature, each of which is designed to focus on the nuances of a particular dimension, or correct an oversight in earlier work. Despite their increasing proliferation, however, few of these indices remain used in practice beyond their original conception, due in part to complex formulae and data requirements, particularly for indices that incorporate spatial context. Furthermore, existing segregation software typically fails to provide inferential frameworks for either single-value or comparative hypothesis testing. To fill this gap, we develop an open-source Python package designed as a submodule for the Python Spatial Analysis Library, PySAL. This new module tackles the problem of segregation point estimation for a wide variety of spatial and aspatial segregation indices, while providing a computationally based hypothesis testing framework that relies on simulations under the null hypothesis. We illustrate the use of this new library using tract-level census data in two American cities.

Suggested Citation

  • Renan Xavier Cortes & Sergio Rey & Elijah Knaap & Levi John Wolf, 2020. "An open-source framework for non-spatial and spatial segregation measures: the PySAL segregation module," Journal of Computational Social Science, Springer, vol. 3(1), pages 135-166, April.
  • Handle: RePEc:spr:jcsosc:v:3:y:2020:i:1:d:10.1007_s42001-019-00059-3
    DOI: 10.1007/s42001-019-00059-3
    as

    Download full text from publisher

    File URL: http://link.springer.com/10.1007/s42001-019-00059-3
    File Function: Abstract
    Download Restriction: Access to the full text of the articles in this series is restricted.

    File URL: https://libkey.io/10.1007/s42001-019-00059-3?utm_source=ideas
    LibKey link: if access is restricted and if your library uses this service, LibKey will redirect you to where you can use your library subscription to access this item
    ---><---

    As the access to this document is restricted, you may want to search for a different version of it.

    References listed on IDEAS

    as
    1. Judith K. Hellerstein & David Neumark, 2008. "Workplace Segregation in the United States: Race, Ethnicity, and Skill," The Review of Economics and Statistics, MIT Press, vol. 90(3), pages 459-477, August.
    2. Seong-Yun Hong & Yukio Sadahiro, 2014. "Measuring geographic segregation: a graph-based approach," Journal of Geographical Systems, Springer, vol. 16(2), pages 211-231, April.
    3. Daniel Lewis & Peter Hall & James Cheshire, 2010. "Reviews: A Companion to Health and Medical Geography, Urban Regeneration in the UK, Handbook of Applied Spatial Analysis: Software Tools, Methods and Applications," Environment and Planning B, , vol. 37(6), pages 1137-1140, December.
    4. Boisso, Dale & Hayes, Kathy & Hirschberg, Joseph & Silber, Jacques, 1994. "Occupational segregation in the multidimensional case : Decomposition and tests of significance," Journal of Econometrics, Elsevier, vol. 61(1), pages 161-171, March.
    5. Xavier D'Haultfœuille & Roland Rathelot, 2017. "Measuring segregation on small units: A partial identification analysis," Quantitative Economics, Econometric Society, vol. 8(1), pages 39-73, March.
    6. Paul E. Carrillo & Jonathan L. Rothbaum, 2016. "Counterfactual Spatial Distributions," Journal of Regional Science, Wiley Blackwell, vol. 56(5), pages 868-894, November.
    7. Douglas Massey & Nancy Denton, 1989. "Hypersegregation in U.S. Metropolitan Areas: Black and Hispanic Segregation Along Five Dimensions," Demography, Springer;Population Association of America (PAA), vol. 26(3), pages 373-391, August.
    8. Jeffrey Napierala & Nancy Denton, 2017. "Measuring Residential Segregation With the ACS: How the Margin of Error Affects the Dissimilarity Index," Demography, Springer;Population Association of America (PAA), vol. 54(1), pages 285-309, February.
    9. Rebecca Allen & Simon Burgess & Russell Davidson & Frank Windmeijer, 2015. "More reliable inference for the dissimilarity index of segregation," Econometrics Journal, Royal Economic Society, vol. 18(1), pages 40-66, February.
    10. Seong-Yun Hong & David O'Sullivan & Yukio Sadahiro, 2014. "Implementing Spatial Segregation Measures in R," PLOS ONE, Public Library of Science, vol. 9(11), pages 1-18, November.
    11. Kelvyn Jones & Ron Johnston & David Manley & Dewi Owen & Chris Charlton, 2015. "Ethnic Residential Segregation: A Multilevel, Multigroup, Multiscale Approach Exemplified by London in 2011," Demography, Springer;Population Association of America (PAA), vol. 52(6), pages 1995-2019, December.
    12. Vicente Royuela & Miguel Vargas, 2010. "Residential Segregation: A Literature Review," Working Papers 7, Facultad de Economía y Empresa, Universidad Diego Portales.
    13. Martin Söderström & Roope Uusitalo, 2010. "School Choice and Segregation: Evidence from an Admission Reform," Scandinavian Journal of Economics, Wiley Blackwell, vol. 112(1), pages 55-76, March.
    14. Carrington, William J & Troske, Kenneth R, 1998. "Interfirm Segregation and the Black/White Wage Gap," Journal of Labor Economics, University of Chicago Press, vol. 16(2), pages 231-260, April.
    15. Sergio Rey & Myrna Sastré-Gutiérrez, 2010. "Interregional Inequality Dynamics in Mexico," Spatial Economic Analysis, Taylor & Francis Journals, vol. 5(3), pages 277-298.
    16. Michael R. Ransom, 2000. "Sampling Distributions of Segregation Indexes," Sociological Methods & Research, , vol. 28(4), pages 454-475, May.
    17. Douglas Massey & Jonathan Tannen, 2015. "A Research Note on Trends in Black Hypersegregation," Demography, Springer;Population Association of America (PAA), vol. 52(3), pages 1025-1034, June.
    18. Roland Rathelot, 2012. "Measuring Segregation When Units are Small: A Parametric Approach," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 30(4), pages 546-553, June.
    19. Carrington, William J & Troske, Kenneth R, 1997. "On Measuring Segregation in Samples with Small Units," Journal of Business & Economic Statistics, American Statistical Association, vol. 15(4), pages 402-409, October.
    Full references (including those not matched with items on IDEAS)

    Citations

    Citations are extracted by the CitEc Project, subscribe to its RSS feed for this item.
    as


    Cited by:

    1. Ran Wei & Elijah Knaap & Sergio Rey, 2023. "American Community Survey (ACS) Data Uncertainty and the Analysis of Segregation Dynamics," Population Research and Policy Review, Springer;Southern Demographic Association (SDA), vol. 42(1), pages 1-23, February.

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Kutscher, Macarena & Nath, Shanjukta & Urzúa, Sergio, 2023. "Centralized admission systems and school segregation: Evidence from a national reform," Journal of Public Economics, Elsevier, vol. 221(C).
    2. Matthew Gentzkow & Jesse M. Shapiro & Matt Taddy, 2019. "Measuring Group Differences in High‐Dimensional Choices: Method and Application to Congressional Speech," Econometrica, Econometric Society, vol. 87(4), pages 1307-1340, July.
    3. Rebecca Allen & Simon Burgess & Frank Windmeijer, 2009. "More Reliable Inference for Segregation Indices," The Centre for Market and Public Organisation 09/216, The Centre for Market and Public Organisation, University of Bristol, UK.
    4. Ran Wei & Elijah Knaap & Sergio Rey, 2023. "American Community Survey (ACS) Data Uncertainty and the Analysis of Segregation Dynamics," Population Research and Policy Review, Springer;Southern Demographic Association (SDA), vol. 42(1), pages 1-23, February.
    5. Xavier D'Haultfœuille & Roland Rathelot, 2017. "Measuring segregation on small units: A partial identification analysis," Quantitative Economics, Econometric Society, vol. 8(1), pages 39-73, March.
    6. Glitz, Albrecht, 2014. "Ethnic segregation in Germany," Labour Economics, Elsevier, vol. 29(C), pages 28-40.
    7. Roland Rathelot, 2012. "Measuring Segregation When Units are Small: A Parametric Approach," Journal of Business & Economic Statistics, Taylor & Francis Journals, vol. 30(4), pages 546-553, June.
    8. Coral Río & Olga Alonso-Villar, 2022. "On Measuring Segregation in a Multigroup Context: Standardized Versus Unstandardized Indices," Social Indicators Research: An International and Interdisciplinary Journal for Quality-of-Life Measurement, Springer, vol. 163(2), pages 633-659, September.
    9. Schneider, Kerstin & Schuchart, Claudia & Weishaupt, Horst & Riedel, Andrea, 2012. "The effect of free primary school choice on ethnic groups — Evidence from a policy reform," European Journal of Political Economy, Elsevier, vol. 28(4), pages 430-444.
    10. Chris Hess & Ryan Gabriel & Christine Leibbrand & Kyle Crowder, 2019. "Does Hypersegregation Matter for Black-White Socioeconomic Disparities?," Demography, Springer;Population Association of America (PAA), vol. 56(6), pages 2169-2191, December.
    11. Marta Martínez Matute & Pedro S. Martins, 2022. "How representative are social partners in Europe? The role of dissimilarity," LABOUR, CEIS, vol. 36(4), pages 424-444, December.
    12. Carlos Gradín, 2013. "Conditional occupational segregation of minorities in the US," The Journal of Economic Inequality, Springer;Society for the Study of Economic Inequality, vol. 11(4), pages 473-493, December.
    13. Olof Åslund & Oskar Nordström Skans, 2009. "How to measure segregation conditional on the distribution of covariates," Journal of Population Economics, Springer;European Society for Population Economics, vol. 22(4), pages 971-981, October.
    14. Amber Crowell & Mark Fossett, 2022. "Metropolitan racial residential segregation in the United States: A microlevel and cross-context analysis of Black, Latino, and Asian segregation," Demographic Research, Max Planck Institute for Demographic Research, Rostock, Germany, vol. 46(8), pages 217-260.
    15. Daniel Guinea-Martin & Ricardo Mora, 2022. "Computing decomposable multigroup indices of segregation," Stata Journal, StataCorp LP, vol. 22(3), pages 521-556, September.
    16. Christopher S Fowler, 2018. "Key assumptions in multiscale segregation measures: How zoning and strength of spatial association condition outcomes," Environment and Planning B, , vol. 45(6), pages 1055-1072, November.
    17. Anders Böhlmark & Helena Holmlund & Mikael Lindahl, 2016. "Parental choice, neighbourhood segregation or cream skimming? An analysis of school segregation after a generalized choice reform," Journal of Population Economics, Springer;European Society for Population Economics, vol. 29(4), pages 1155-1190, October.
    18. Åslund, Olof & Nordström Skans, Oskar, 2005. "Measuring conditional segregation: methods and empirical examples," Working Paper Series 2005:12, IFAU - Institute for Evaluation of Labour Market and Education Policy.
    19. Filippo Temporin, 2019. "A multilevel structural equation modelling approach to study segregation of deprivation: an application to Bolivia," Quality & Quantity: International Journal of Methodology, Springer, vol. 53(3), pages 1657-1674, May.
    20. Gwilym Owen & Yu Chen & Timothy Birabi & Gwilym Pryce & Hui Song & Bifeng Wang, 2023. "Residential segregation of migrants: Disentangling the intersectional and multiscale segregation of migrants in Shijiazhuang, China," Urban Studies, Urban Studies Journal Limited, vol. 60(1), pages 166-182, January.

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:spr:jcsosc:v:3:y:2020:i:1:d:10.1007_s42001-019-00059-3. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Sonal Shukla or Springer Nature Abstracting and Indexing (email available below). General contact details of provider: http://www.springer.com .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.