GEO 301: Spatial Demography
Spatial Demography
Population analysis in geographic space. Use R as a reproducible GIS and spatial econometrics workbench to map census tracts, detect LISA hotspots, estimate spatial lag/error and GWR models, measure segregation, and optimize service locations.
tidycensus · tmap · GWmodelCourse Overview
Demographic processes — fertility, mortality, aging, residential segregation, and migration — unfold unevenly across space. Standard regression models that treat counties or census tracts as independent observations miss spatial spillovers, local clustering, and structural regional divides.
GEO 301: Spatial Demography is the third core course in the Population Data Science program at Portland State University’s Population Research Center. Across 10 weeks, participants use R (sf, tigris, tidycensus, tmap, spdep, spatialreg, GWmodel, lme4, segregation) to map, test, and model spatial demographic patterns using real Oregon, Portland metro, and national datasets (with a parallel Portuguese/Brazil track available in the open textbook).
10-Week Schedule & Hands-On R Spatial Labs
| Week | Modules | Topic | Hands-On R Spatial Lab / Milestone |
|---|---|---|---|
| 1 | Mod 1–2 | Spatial Demography Foundations, Vector Data (sf), CRS (EPSG:2991) & Thematic Maps |
Labs 1 & 2: Intro to R Spatial, CRS Projections & Thematic Mapping |
| 2 | Mod 3 | Spatial Weights Matrices (Queen, Rook, \(k\)-NN, Distance) & Choropleth Classification | Lab 3: Neighborhoods & Classification Schemes in Oregon |
| 3 | Mod 4–5 | Exploratory Spatial Data Analysis: Global Moran’s \(I\), LISA Clusters & Hot Spots (\(G_i^*\)) | Labs 4 & 5: Global Autocorrelation & LISA Cluster Maps |
| 4 | Mod 6 | Spatial Regression Diagnostics & Lagrange Multiplier (Anselin) Specification Tests | Lab 6: OLS Residual Diagnostics & LM Tests + Project Proposal |
| 5 | Mod 7 | Spatial Econometrics: Spatial Lag (SAR), Spatial Error (SEM) & Spatial Durbin (SDM) Impacts | Lab 7: Fitting & Comparing SAR and SEM Models (spatialreg) |
| 6 | Mod 8–9 | Spatial Heterogeneity: Spatial Regimes (Chow Test) & Geographically Weighted Regression (GWR) | Labs 8 & 9: East/West Cascades Regimes & Local GWR Surfaces |
| 7 | Mod 10 | Spatial Count & Rate Models: Poisson, Overdispersion, Negative Binomial & Offsets | Lab 10: Count & Standardized Risk Ratio Models + Exploratory Draft |
| 8 | Mod 11 | Residential Segregation: Dissimilarity (\(D\)), Isolation, Entropy (\(H\)) & Multigroup Measures | Lab 11: Measuring Tract-Level Segregation in Portland Metro |
| 9 | Mod 12–13 | Multilevel Spatial Models (lme4 ICC) & Spatial Optimization (SKATER, p-median, Huff) |
Lab 12 (+ Optional Lab 13): Multilevel Models & Clinic Optimization |
| 10 | Capstone | Final Spatial Demography Research Project & Peer Review | Final Reproducible Spatial Demography Report & Peer Review |
Learning Outcomes
By the end of GEO 301, participants will be able to:
- Retrieve, reproject, join, and map US Census and ACS spatial datasets in R using
sf,tigris,tidycensus,ggplot2, andtmap - Build and justify contiguity and distance-based spatial weight matrices (
spdep) and evaluate sensitivity to the Modifiable Areal Unit Problem (MAUP) - Detect and visualize statistically significant clusters and spatial outliers using Global Moran’s \(I\), Local Moran’s \(I\) (LISA), and Getis-Ord \(G_i^*\)
- Apply Anselin’s Lagrange Multiplier decision rule and estimate Spatial Lag (SAR), Spatial Error (SEM), and Spatial Durbin (SDM) models with direct, indirect (spillover), and total impact decomposition
- Model spatial regime breaks (Chow test), locally varying relationships (GWR), overdispersed spatial counts (Negative Binomial with population offsets), and hierarchical context (multilevel ICC and random slopes)
- Compute two-group and multigroup residential segregation indices (\(D\), \(H\)) and solve spatial regionalization (
SKATER,max-p) and facility location (p-median, Huff gravity) problems
Assessment & Grading Structure
| Component | Weight | Description |
|---|---|---|
| Weekly R Spatial Labs (40 pts each) | 50% | Reproducible Quarto spatial analysis labs (best 10 of 12/13 labs counted) |
| Final Spatial Research Project | 35% | Scaffolded research report (Proposal 5%, ESDA Draft 5%, Model Spec 5%, Final Report 20%) |
| Participation & Peer Review | 15% | Weekly discussion reflections and Week 10 structured peer review |