Mapping School Access Inequity: A Spatial Point-Pattern Analysis of K–12 School Sites and Socioeconomic Disadvantage in California

DSAN 6750 / PPOL 6805: GIS for Spatial Data Science

Author
Affiliation

Yubing Han

Georgetown University

Introduction

California’s public education system is massive, serving millions of students across more than 10,000 K-12 schools. While the state has made significant efforts to improve equity through programs like Universal Meals and Community Schools, a fundamental question remains: Are the schools themselves located fairly?

School placement is rarely random. Instead, the physical location of schools reflects decades of historical urban planning, district funding capacities, and shifting demographic patterns. In many cases, high-poverty or food-insecure neighborhoods face a “spatial penalty”—they have fewer nearby school options and require longer travel distances compared to affluent communities. This spatial mismatch can create structural barriers to education that money alone cannot fix.

This project investigates the spatial dimensions of educational inequality in California. By analyzing the precise geographic locations of public schools against community socioeconomic data, I aim to answer a critical research question: Do disadvantaged communities in California face structural spatial disadvantages in access to public K-12 schools? Specifically, I examine whether schools in high-poverty areas are more sparsely distributed (spatial inhibition) and whether district-level disadvantage correlates with lower school availability per student.

Literature Review

The relationship between residential segregation and educational inequality has long been a central subject of sociological and geographical inquiry. The “Spatial Mismatch Hypothesis”, originally applied to labor markets, suggests that disadvantaged communities are often physically disconnected from high-quality public resources. Recent research has reinforced this theory in the context of education, finding that geographic imbalances significantly influence student enrollment patterns and school choice behavior among minority students (Denice 2022). Furthermore, contemporary studies indicate that this mismatch extends beyond student demographics to resource allocation, with significant spatial disparities observed in student-teacher ratios across U.S. school districts (Wu and Zhang 2024). These spatial barriers act as a “geography of disadvantage,” reinforcing social inequality by limiting access to essential educational infrastructure.

This challenge of spatial inequity is not unique to a single region but is a global phenomenon documented through Geographic Information Systems (GIS). International studies in Brazil (Pizzola, Giannotti, and Tomasiello 2021), China (Lu et al. 2022), and India (Rekha, Radhakrishnan, and Mathew 2020) have all utilized geospatial techniques to reveal similar patterns where marginalized populations face structural deficits in educational accessibility. In the specific context of California, geospatial analysis has been successfully applied to identify academic success factors, demonstrating that physical location and neighborhood characteristics are key determinants of K-12 educational outcomes (Chew, Satpathy, and Wong 2020).

Methodologically, the measurement of these inequalities has evolved from simple “container-based” counts (e.g., schools per district) to more sophisticated distance-based analyses. Traditional administrative boundaries often mask the true texture of spatial inequality. Consequently, recent literature advocates for advanced Point Pattern Analysis and Spatial Autocorrelation techniques to measure the precise clustering and dispersion of educational facilities (Ghodousi et al. 2020). Building on this methodological framework, this project applies Second-Order Point Pattern methods—specifically the Pair Correlation Function \(g(r)\)—to rigorously test for structural inhibition and clustering in California’s high-poverty neighborhoods.

Data

To analyze the spatial equity of school distribution, this project integrates two primary datasets:

  1. School Point Locations: I obtained the “Public K-12 School Sites 2023-24” dataset from the California Department of Education (CDE) (California Department of Education 2024). This dataset provides precise geocoded coordinates (latitude/longitude) for over 10,000 active public schools. I filtered the data to exclude closed sites and non-traditional schools (e.g., adult education centers) to focus on K-12 student access.

  2. Socioeconomic Indicators: District-level socioeconomic data was sourced from the USDA Food Environment Atlas and Census Bureau estimates (United States Department of Agriculture 2024). Key variables include the “Poverty Rate” and the percentage of “Socioeconomically Disadvantaged” students.

Data Processing: I performed a spatial join to link each school point to its corresponding district and census tract. This allowed me to categorize schools into “High Disadvantage” (above median poverty rate) and “Low Disadvantage” groups for comparative spatial analysis.

Methods

This study employs a three-stage spatial analysis framework to measure inequality from different perspectives:

  1. First-Order Analysis: Kernel Density Estimation (KDE) To visualize the overall spatial intensity of school placements, I used Kernel Density Estimation. This method creates a continuous surface map representing the density of school sites per unit area. It helps identify “hot spots” of educational infrastructure and reveals visible spatial gaps in service coverage.

  2. Second-Order Analysis: Pair Correlation Function \(g(r)\) To test for structural inequality, I applied the Pair Correlation Function, \(g(r)\), a second-order point pattern analysis method. Unlike simple density maps, \(g(r)\) measures the probability of finding another school at a specific distance \(r\) from any given school. By comparing separate curves for “High Disadvantage” and “Low Disadvantage” schools, I assessed whether schools in poor neighborhoods exhibit stronger inhibition (spacing out) or clustering compared to affluent areas.

  3. Spatial Regression Analysis: Finally, to quantify the impact of spatial patterns on resource availability, I conducted an Ordinary Least Squares (OLS) regression at the district level. I modeled the relationship between a district’s Socioeconomic Disadvantaged (%) and its Schools per 10,000 Students to determine if poverty predicts statistically significant lower access to school sites. To formally test the relationship between district poverty and school availability, I specified the following Ordinary Least Squares (OLS) regression model:

\[ \text{Schools}_{i} = \beta_0 + \beta_1 \times \text{PovertyRate}_{i} + \epsilon_i \]

Where:

  • \(\text{Schools}_{i}\) is the number of schools per 10,000 students in district \(i\).
  • \(\text{PovertyRate}_{i}\) is the percentage of socioeconomically disadvantaged students.
  • \(\beta_1\) is the coefficient of interest (the slope).
  • Hypothesis: If \(\beta_1 < 0\) and statistically significant (\(p < 0.05\)), it confirms that higher poverty leads to fewer schools.

Results

1. Spatial Distribution of Schools

First, we examine the overall spatial landscape of educational facilities in California.

Code
ca_map <- map_data("state", region = "california")

p1_fixed <- ggplot() +
  geom_polygon(data = ca_map, aes(x = long, y = lat, group = group), 
               fill = "gray90", color = "black", linewidth = 0.5) +
  stat_density_2d(data = schools_clean, 
                  aes(x = lon, y = lat, fill = ..level.., alpha = ..level..), 
                  geom = "polygon") +
  scale_fill_viridis_c(option = "plasma", name = "School\nDensity") + 
  scale_alpha(range = c(0.1, 0.5), guide = "none") + 
  geom_point(data = schools_clean, aes(x = lon, y = lat), 
             color = "black", size = 0.1, alpha = 0.3) +
  coord_fixed(1.3) +
  theme_void() + 
  labs(title = "Spatial Distribution of CA Public Schools")

print(p1_fixed)
Figure 1: Kernel Density Estimation of School Sites
Code
pal <- colorNumeric(palette = "YlOrRd", domain = schools_clean$ses_pct)

interactive_map <- leaflet(schools_clean) %>%
  addProviderTiles(providers$CartoDB.Positron) %>%
  addCircleMarkers(
    lng = ~lon, lat = ~lat,
    radius = 3,           
    color = ~pal(ses_pct), 
    fillOpacity = 0.7,     
    stroke = FALSE,      
    popup = ~paste0(
      "<b>School:</b> ", `School Name`, "<br>",
      "<b>District:</b> ", `District Name`, "<br>",
      "<b>Disadvantage:</b> ", ses_pct, "%"
    )
  ) %>%
  addLegend(
    "bottomright", 
    pal = pal, 
    values = ~ses_pct,
    title = "Socioeconomic<br>Disadvantage (%)",
    opacity = 1
  )

interactive_map
Figure 2: Interactive Map of School Disadvantage Levels

2. Spatial Structure: Clustering vs. Inhibition

To detect structural differences in how schools are spaced, we use the Pair Correlation Function \(g(r)\).

Code
cutoff <- median(schools_clean$ses_pct, na.rm=TRUE)
high_pov_ppp <- subset(school_ppp, marks >= cutoff)
low_pov_ppp  <- subset(school_ppp, marks < cutoff)

g_high <- pcf(high_pov_ppp, correction="translate", divisor="d")
g_low  <- pcf(low_pov_ppp,  correction="translate", divisor="d")

plot(g_high, border="red", main="Spatial Structure: Clustering vs. Inhibition", 
     ylab="g(r) Pair Correlation", xlab="Distance r (degrees)",
     ylim=c(0, max(g_high$trans, g_low$trans, na.rm=TRUE)), 
     lwd=2, col="red", legend=FALSE)

lines(g_low$r, g_low$trans, col="blue", lwd=2)
abline(h=1, col="gray", lty=2)
legend("topright", legend=c("High Disadvantage Schools", "Low Disadvantage Schools", "Random Expectation"),
       col=c("red", "blue", "gray"), lty=c(1,1,2), lwd=2)
Figure 3: Pair Correlation Function g(r) Comparison

Interpretation: Contrary to the inhibition hypothesis, the Red line (High Disadvantage) is higher than the Blue line (Low Disadvantage) at short distances. This indicates that schools in high-poverty areas are more spatially clustered compared to affluent areas. While affluent schools tend to be dispersed (likely reflecting suburban planning with larger campuses), disadvantaged schools are tightly bunched together, reflecting high-density urban concentration and potential spatial segregation.

3. Resource Inequality Analysis

Finally, we assess whether district-level disadvantage predicts school availability.

Table 1: OLS Regression Results (Impact of Disadvantage on School Density)
Term Estimate (Slope) Std. Error Statistic P-Value
(Intercept) 42.0017 18.2174 2.3056 0.0214
district_ses 0.5436 0.2873 1.8924 0.0587
Figure 4: District Resource Inequality Scatterplot
Figure 5: District Resource Inequality Scatterplot

Interpretation: Table 1 reveals a nuanced relationship between poverty and school availability. The regression yields a positive slope of 0.5436, suggesting that for every 1% increase in district poverty, there are approximately 0.54 more schools per 10,000 students. However, the p-value of 0.0587 indicates that this relationship is only marginally significant (slightly above the standard 0.05 threshold).

This finding challenges the simple narrative that poor districts have “fewer” schools. Instead, it highlights a “Density vs. Sprawl” phenomenon:

  1. Urban Concentration: High-poverty districts are often located in dense urban centers (e.g., Los Angeles, Oakland), where student populations are concentrated, requiring many schools packed into small areas.

  2. Suburban Efficiency: Conversely, affluent districts are often suburban, characterized by lower population density and larger, consolidated campuses.

  3. The Small District Effect: The outliers in the top-right quadrant likely represent small, rural districts where low enrollment numbers mathematically inflate the “schools per capita” ratio.

Therefore, while high-poverty areas may have a higher quantity of school sites per student, this does not necessarily translate to better quality of access. As shown in the previous \(g(r)\) analysis, these schools are highly clustered, suggesting that students in these areas face a segregated, high-density educational environment distinct from the spacious distribution found in wealthier districts.

Conclusion

This project shows that educational inequality in California is driven less by the number of school sites than by their spatial structure. While KDE highlights uneven school density, the Pair Correlation Function reveals that schools in high-poverty neighborhoods are more tightly clustered, a counter-intuitive pattern that creates a density-without-access paradox. Rather than spacious, well-distributed campuses, disadvantaged students face overcrowded, spatially constrained pockets of schools. Policy solutions must therefore move beyond adding sites and instead focus on rezoning, transportation access, and upgrading congested clusters to ensure equitable educational environments.

References

California Department of Education. 2024. “Public k-12 School Sites Data [2023-24].” https://www.cde.ca.gov/ds/si/ds/pubschls.asp.
Chew, Brianna, Asish Satpathy, and Elaine Wong. 2020. “Geospatial Analyses to Determine Academic Success Factors in California’s k-12 Education.” Annals of GIS 26 (2): 81–100. https://doi.org/10.1080/19475683.2020.1739141.
Denice, Patrick. 2022. “Spatial Mismatch and the Share of Black, Hispanic, and White Students Enrolled in Charter Schools.” Sociology of Education 95 (4): 276–301. https://doi.org/10.1177/00380407221108976.
Ghodousi, Mostafa, Abolghasem Sadeghi-Niaraki, Farzaneh Rabiee, and Soo-Mi Choi. 2020. “Spatial-Temporal Analysis of Point Distribution Pattern of Schools Using Spatial Autocorrelation Indices in Bojnourd City.” Sustainability 12 (19): 7755. https://doi.org/10.3390/su12187755.
Lu, Wei, Yuechen Li, Rongkun Zhao, Bo He, and Zihua Qian. 2022. “Spatial Pattern and Fairness Measurement of Educational Resources in Primary and Middle Schools: A Case Study of Chengdu-Chongqing Economic Circle.” International Journal of Environmental Research and Public Health 19 (17): 10840. https://doi.org/10.3390/ijerph191710840.
Pizzola, Bruna, Mariana Giannotti, and Diego Bogado Tomasiello. 2021. “Qualifying Accessibility to Education to Investigate Spatial Equity.” Journal of Transport Geography 96: 103199. https://doi.org/10.1016/j.jtrangeo.2021.103199.
Rekha, R Shanmathi, Nisha Radhakrishnan, and Samson Mathew. 2020. “Spatial Accessibility Analysis of Schools Using Geospatial Techniques.” Spatial Information Research 28 (6): 699–708. https://doi.org/10.1007/s41324-020-00326-w.
United States Department of Agriculture. 2024. “Food Environment Atlas.” https://www.ers.usda.gov/data-products/food-environment-atlas/.
Wu, Xiu, and Jinting Zhang. 2024. “Case Study on Spatial Mismatch Between Multivariate and Student-Teacher Rate in US Public School Districts.” Social Sciences 13 (2): 93. https://doi.org/10.3390/socsci13020093.