Spatial Autocorrelation Analysis in ArcGIS Pro

Revsed 3 June 2026

Spatial autocorrelation is the clustering of similar values together in adjacent or nearby areas.

Spatial data is usually spatially autocorrelated, and this tendency is useful since clusters often provide insights into the characteristics of the clustered phenomena.

While visible observation of spatial autocorrelation is useful when exploring data, more-rigorous means of quantifying autocorrelation are helpful when performing serious research.

This tutorial covers basic techniques for analyzing autocorrelation in point and polygon geospatial data.

Points

Geospatial point data is used to represent things that exist or events that occurred at specific locations on the surface of the earth. Examples of points include crime locations, animal nests, street trees, vehicle charging stations, cellphone towers, WiFi hotspots, GPS waypoints, etc. Areas are sometimes represented with points (centroids) for mapping and navigation, such as with restaurants, houses, stores, or transit stations.

Hospital Data

The point data used for examples in this tutorial is hospitals in Illinois. The Minn 2024 US Hospitals feature service in the University of Illinois ArcGIS Online organization is point locations of hospitals in the US. This data was originally provided by the US Department of Homeland Security Homeland Infrastructure Foundation-Level Data (HIFLD), but that data was password protected in 2025.

In ArcGIS Pro, Under Analysis, run the Export Features tool to export the feature service data into the project geodatabase.

Exporting the feature service data into the project geodatabase

Kernel Density

Kernel density analysis is classical method of visualizing point clustering by using a kernel of a given radius to systematically scan an area, where the density of any particular location is the number of points within the kernel surrounding that point. Locations surrounded by clusters of points will have higher values, and areas where there are few or no points will have lower values.

Kernel density demonstration animation (R code)

A kernel density raster can be created using the Kernel Density tool.

The search radius parameter will define how much smoothing will be applied to create the raster. While the search radius can be thought of as an area of influence around each point, the choice is often arbitrary, which reduces the rigor of kernel density analysis.

Kernel density raster

Heat Map

A heat map symbology is similar to a kernel density except that the smoothing radius changes depending on your level of zoom.

Heat mapping is an arbitrary visualization technique that is primarily of value for interactive exploration with web maps.

If your choice of a kernel radius primarily for aesthetics, a heat map where you Lock radius at specified scale is easier to create and adjust than a kernel density.

Heat map symbology

Feature Clustering

Feature clustering is a symbology that groups clusters of features together into bubbles with counts.

The size and number of clusters varies by zoom level, so feature clustering is primarily of value for interactive web maps of large numbers of features (such as crime points), although can be useful for static maps where there is no clearly appropriate area for aggregation.

Feature clustering symbology

Feature Binning

Feature binning is a symbology that groups features together into a grid of regularly sized polygons (bins) and displays the count of features in each bin.

Feature binning symbology

Named Point Clusters

The Find Point Clusters tool automatically identifies specific groups of clustered points.

For example, with hospitals in Illinois the tool identifies clusters around the major metro areas (St. Louis, Chicago, and the Quad Cities) as well as secondary groupings (DeKalb, Lake County, Springfield, Peoria/Bloomington/Champaign, and Southern Illinois) which may not be immmediately visible just based on visual inspection.

Named point clusters

Getis-Ord GI*

The Getis-Ord GI* statistic (pronounced gee-eye-star) was developed by Arthur Getis and J.K. Ord and introduced in 1992.

The Getis-Ord GI* statistic identifies hot spots (high values surrounded by high values) and cold spots (low values surrounded by low values).

GI*

Where

Because the Gi* value depends on the particular x values and the number of sites, the absolute value of the statistic is only meaningful in the context of the distribution of values for all other sites.

Accordingly, analysis values are expressed as z-scores and p-values for each site, with the p-value indicating the probability that the site is a hot or cold spot.

While this use of inferential p-values is only directly valid when working with sampled data, it does provide a clearer framework for identifying hot and cold spots in population data compared to arbitrary choices like kernel sizes.

Open the Hot Spot Analysis (Getis-Ord Gi*) tool.

Getis-Ord GI* hot spot analysis

Areas

Areas can be analyzed for autocorrelation using a different set of techniques from points.

For these examples we will use median household income by census tract in Illinois using data from the 2020-2024 US Census Bureau American Community Survey five-year estimates.

  • The Minn 2020-2024 ACS feature service in the University of Illinois ArcGIS Online organization features a wide variety of commonly-used demographic variables from the 2020-2024 ACS five-year estimates data profile (DP) tables at state, county, and census tract aggregation levels. The data has full metadata and is also available as GeoJSON.
  • The Minn 2024 US Hospitals feature service in the University of Illinois ArcGIS Online organization is point locations of hospitals in the US. This data was originally available from the US Department of Homeland Security Homeland Infrastructure Foundation-Level Data (HIFLD) set, but was password protected in 2025.
  • Mapping permits visual analysis of geospatial data for answering general where questions.

    In ArcGIS Pro, Under Analysis, run the Export Features tool to export the feature service data into the project geodatabase.

    Exporting the feature service data into the project geodatabase

    Neighbors

    In order to detect autocorrelation between neighboring areas, we must first answer the ancient question, "Who is my neighbor?"

    Neighboring areas can be defined by adjacency or proximity.

    Adjacency vs. proximity

    Local Moran's I

    Local indicators of spatial association (LISA) were initially developed by Luc Anselin (1995) to decompose global indicators of spatial autocorrelation (like global Moran's I) and assess the contribution of each individual area.

    LISA analysis with the local Moran's I statistic is used to identify clusters of areas with similar values and outlier areas with values that stand out among the neighbors.

    Add the Cluster and Outlier Analysis (Anselin Local Moran's I) tool to your diagram.

    Add to Display to see the clusters and outliers. In this case we see the expected high clustering in the Midwest, with Oklahoma as a low outlier among other coal dependent southern states.

    Mapping local Moran's I

    Getis-Ord GI*

    The Getis-Ord GI* tool (described above) can also be used with areas.

    Open the Hot Spot Analysis (Getis-Ord Gi*) tool.

    Getis-Ord GI* hot spot analysis with areas

    Global Autocorrelation

    The analysis techniques above are local in identifying specific local areas of autocorrelation within the broader global data set.

    Global analysis techniques provide a single metric or visualization to summarize the overall level of autocorrelation for the data set as a whole. Global metrics can be useful for comparing changes in autocorrelation over time or comparing autocorrelation across different data sets.

    Ripley's K

    B.D. Ripley (1977) developed a collection of lettered techniques for analyzing spatial point correlation.

    The Ripley's K function iterates through each point and counts the number of other points within a given distance.

    Autocorrelation is evaluated by analyzing the position of the observed line relative to the theoretical lines.

    1. Under Analysis and Tools, open the Multi-Distance Spatial Cluster Analysis (Ripley's K Function) too.
    2. The tool will create a chart named K Function comparing the actual to expected values.
    Ripley's K

    Average Nearest Neighbor

    Average nearest neighbor analysis compares the mean of the distances from each feature to its nearest neighbor to a theoretical mean if the features were randomly distributed (Clark and Evans 1954).

    The nearest neighbor ratio of the actual to theoretical mean will be less than one if there is clustering and greater than one if the to the nearest neighbor for each feature

    When used with sampled data and inferential statistics, the ratio is converted to a z-score and p-value indicating the probability of autocorrelation.

    While p-values and z-scores are not directly valid when working with population data, they do provide a clearer framework for interpreting analysis results than the ratio alone.

    Average Nearest Neighbor tool.

    Average nearest neighbor

    Global Moran's I

    Global Moran's I analysis returns an index value that indicates the level of spatial autocorrelation between areas. The techniques was developed by Patrick Alfred Pierce Moran (1950).

    The index value will be zero if there is no autocorrelation, negative if values are evenly dispersed, and positive if values are clustered.

    When used with sampled data and inferential statistics, the index is converted to a z-score and p-value indicating the probability of autocorrelation.

    While p-values and z-scores are not directly valid when working with population data, they do provide a clearer framework for interpreting analysis results than the index value alone.

    Open the Spatial Autocorrelation (Global Moran's I) tool:

    Analyzing global Moran's I

    ModelBuilder

    ModelBuilder is a visual programming language in ArcGIS Pro that allows you use a graphical editor to create custom tools that allow you to automate complex, tedious, or repetitive tasks where there are consistent step-by-step workflow sequences of operations.

    Using ModelBuilder, you graphically chain together sequences of tools from the toolbox.

    Advantages:

    Disadvantages:

    ModelBuilder might be better called WorkflowBuilder since what you are usually creating in ModelBuilder are automated workflows for complex sequences of processing tasks rather than models that are analytical representations of real-world phenomena.

    A ModelBuilder diagram

    Creating a ModelBuilder Diagram

    To start the ModelBuilder editor, on the Analysis ribbon, select ModelBuilder.

    To add a tool, on the View ribbon, select Geoprocessing, search for the tools and drag them into ModelBuilder. Tools are represented in model builder as rectangles and data is represented with ovals.

    Note that ModelBuilder has a Save button on the ModelBuilder ribbon that is separate from the project save button.

    You must save your diagram and select Include Toolboxes when saving a project package or your diagram may be missing tools when you reopen the project package.

    ModelBuilder can cause project packaging to fail. See this tutorial for common errors and workarounds for those errors.

    Creating a ModelBuilder diagram

    View Python

    Behind the scenes, ModelBuilder creates Python code that you can view.

    On the ModelBuilder ribbon, click the Export options (green arrow) and select Send To Python Window to view or copy the code.

    Viewing ModelBuilder Python code