spatial-social-analysis
CommunityMeasure spatial patterns and spillovers in data.
Education & Research#geopandas#spatial analysis#hotspot detection#spatial econometrics#moran's i#choropleth mapping
AuthorYuuqq
Version1.0.0
Installs0
System Documentation
What problem does it solve?
It helps you detect and model geographic dependence in social science data, where nearby places influence each other and outcomes cluster across space.
Core Features & Use Cases
- Spatial autocorrelation testing: compute and interpret Moran's I (global) and LISA/Local Moran's I to identify clusters, hotspots, and coldspots.
- Spatial regression modeling: estimate spatial dependence via SAR (spatial lag), SEM (spatial error), and SDM (Spatial Durbin Model), plus spatial regimes variants.
- Geographic analysis & mapping: create choropleth maps, run boundary-based geographic RDD workflows, and quantify spatial accessibility (e.g., 2SFCA for service access).
- Spatial machine learning with guardrails: reduce spatial data leakage using spatial cross-validation approaches and coordinate-based grouping.
Quick Start
Use the spatial-social-analysis skill to compute Moran's I and fit a spatial lag (SAR) model for your outcome variable across regions or areas with shared boundaries.
Dependency Matrix
Required Modules
pandasgeopandasesdalibpysalsplotspregshapelymatplotlibscikit-learnmgwrh3
Components
scriptsreferencesassets
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: spatial-social-analysis Download link: https://github.com/Yuuqq/claude-social-science-skills/archive/main.zip#spatial-social-analysis Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.