Professional Documents
Culture Documents
Spatial Analysis (Final CHP)
Spatial Analysis (Final CHP)
Spatial Analysis
11/23/2023 UoG-HI 1
Spatial Analysis Concepts
• Spatial: is related to the position, area, shape and size of things and describes how
objects fit together in space on earth.
• Spatial data: “Information about the locations and shapes of geographic features
and the relationships between them, usually stored as coordinates and topology.”
11/23/2023 UoG-HI 2
Spatial analysis concept cont’d…
• Spatial analysis is the heart of GIS because it includes all of the transformations,
manipulations, and methods that can be applied to geographic to add value to
them, to support decisions, and to reveal patterns.
• It goes beyond simple mapping to let you study the characteristics of places and
the relationships between them.
11/23/2023 UoG-HI 3
Spatial analysis concept cont’d…
• Spatial analysis is one of the most interesting and remarkable aspect of GIS.
• Using spatial analysis, you can combine information from many sources and
derive new sets of information by applying a sophisticated set of spatial
operators.
• Statistical analysis can determine if the patterns that you see are significant.
• You can analyze various layers to calculate the suitability of a place for a
particular activity and by employing image analysis, you can detect change over
time.
• These tools enable you to address critically important questions and decisions
that are beyond the scope of simple visual analysis.
11/23/2023 UoG-HI 4
Spatial Analysis cont’d…
Analysis
11/23/2023 UoG-HI 5
What is spatial Analysis?
“The process of examination the locations, attributes, and relationships of the
features in spatial data through overlay and other analytical techniques in order to
address a question or gain useful knowledge.
Spatial Analysis
11/23/2023 UoG-HI 6
What is spatial Analysis cont’d…
• The data analysis domain of a GIS includes a variety of data processing functions
that aim at deriving spatial relationships, patterns and trends that are implicit in
the source data.
• The results of data analysis may be used immediately for spatial problem solving
and decision making or
11/23/2023 UoG-HI 7
What is spatial autocorrelation?
Spatial autocorrelation is a measure of the correlation of an observation with other
observations through space
Most statistical analyses are based on the assumption that the values of observations
are independent of one another
It helps to understand the degree to which one object is similar to other nearby
objects
It measures how much close objects are in comparison with other close objects.
It can be measured by Moran’s I (Index) (one of the oldest indices and can be used to test
for global autocorrelation among continuous data)
Positive occurs when observations having similar values are closer (clustered) to one
another
Negative occurs when observations having dissimilar values occur near one another
11/23/2023 UoG-HI 9
Autocorrelation cont’d….
Positive Spatial Autocorrelation Example
For example, elevation datasets have similar elevation values close to each other
• The z-score of 4.95 indicates there is a less than 1% likelihood that this clustered
Using the spatial autocorrelation tool in ArcGIS, the checkerboard pattern generates a
Moran’s index of -1.00 with a z-score of -7.59.
NB: The z-score indicates the statistical significance given the number of features in the
dataset.
11/23/2023 UoG-HI 11
What are spatial statistics?
They are similar to classical statistics, but they integrate spatial relationships
into the calculations.
Spatial statistics will allow you to answer questions about your data:
11/23/2023 UoG-HI 12
Testing of the existence of clusters (Autocorrelation)
A. Global Tools /Statistics/
• Are tools used to test the existence of overall clustering (either high or low)
• But, used to identify and measure the pattern of the entire study areas
• Homogeneity
11/23/2023 UoG-HI 13
Testing of the existence of clusters cont’d…
B. Local Tools /statistics/
Test the existence of local clusters
Heterogeneity
11/23/2023 UoG-HI 14
A. Global Statistics
i) Getis-Ord General G (High/Low Clustering)
The Global G statistic computes a single statistic for the entire study area
Able to indicate whether there is a clustering of high or low values but not both
11/23/2023 UoG-HI 15
Global Statistics cont’d…
The draw back is that, if there are both high and low clusters they will counteract each
other so it is advisable to first use Moran’s I
11/23/2023 UoG-HI 16
Formula for Getis-Ord General G
11/23/2023 UoG-HI 17
Interpretation of Getis-Ord General G result
It is an inferential statistic, which means that the results of the analysis are
interpreted within the context of the null hypothesis
The null hypothesis states that there is no spatial clustering of feature values
When the p-value returned by this tool is small and statistically significant, the null
hypothesis can be rejected
If the null hypothesis is rejected, the sign of the z-score becomes important.
If the z-score value is positive, the observed General G index is larger than the
expected General G index, indicating that high values for the attribute are
clustered in the study area.
If the z-score value is negative, the observed General G index is smaller than the
expected index, indicating that low values are clustered in the study area.
11/23/2023 UoG-HI 18
Global statistics cont’d….
ii) Spatial Auto-Correlation (Global Moran’s I)
Global Statistic
11/23/2023 UoG-HI 19
Global statistics cont’d..
Interpretation Global Moran’s I
• Global Moran's I tool is an inferential statistic, which means that the results of the
analysis are always interpreted within the context of its null hypothesis
• The null hypothesis states that the attribute being analyzed is randomly distributed
among the features in your study area;
• In another way, the spatial processes promoting the observed pattern of values is
random chance.
• When the p-value returned by this tool is statistically significant, you can reject the
null hypothesis.
11/23/2023 UoG-HI 20
Interpretation Global Moran’s I cont’d….
11/23/2023 UoG-HI 21
11/23/2023 UoG-HI 22
Global Moran's I vs. Getis-Ord General G
Both techniques are used to assess the global clustering (simply tell you whether
there is a cluster or not where the clustering actually exist)
The assumptions behind both statistics are that your data is continuous and
normally distributed in the study area.
Moran's I measure only indicates that similar values occur together (It does not
indicate whether any cluster is composed of high or low values)
Where as General G statistic can be used to indicate whether high or low values are
concentrated over the study area
Hence, when we wish to find out whether our data is clustered in general (auto
correlated) we can use Moran's I.
How eve, if we want to know more specifically whether or not there are clusters of
high/low values we can use G statistics
11/23/2023 UoG-HI 23
Moran's I vs. Getis-Ord General G
11/23/2023 UoG-HI 24
B. Local statistics
i) Anselin Local Moran’s I (Cluster and outlier analysis )
Measures the strength of patterns for each specific feature.
The math of the two are the same as to the global variant but the result are
somewhat different
Anselin Local Moran’s I can identify HH, LL, HL, LH clusters H=High
L=Low HL is a high value surrounded by low values (outliers)
11/23/2023 UoG-HI 25
Local statistics cont’d…
Statistically significant clusters can consist of high values (HH) or low values (LL)
11/23/2023 UoG-HI 26
Local statistics cont’d…
Feature is an outlier
In either instance, a p-value for the feature must be small enough for the cluster or
outlier to be considered statistically significant
11/23/2023 UoG-HI 27
Local statistics cont’d…
ii) Hotspot Analysis (Getis-Ord Gi*)
• Local version of the G statistic that indicates hot spot (cluster of high values) or
cold spots (clusters of low value)
To be statistically significant, the hot or cold spot will have a high/low value and be
surrounded by other features with high/low values exist in the area
Getis-Ord Gi* can identify Hot (High) or Cold (Low) clusters with different
confidence levels
11/23/2023 UoG-HI 28
Getis-Ord Gi* (High/Clustering) vs. Anselin Local Moran’s I
The math of the two are the same as for the global variant but the results are
somewhat different
Getis-Ord Gi* can identify Hot (High) or Cold (Low) clusters with different
confidence intervals.
Anselin Local Moran's I can identify HH, LL, LH, HL clusters where
H=High, L=Low and HL is a high value surrounded by low values
11/23/2023 UoG-HI 29
Best practice guidelines for using cluster and outlier analysis
(Anselin Local Moran’s I)
Results are only reliable if the input feature class contains at least 30 features;
This tool requires an input field such as count, rate, or other numeric
measurements
If you are analyzing point data, where each point represents a single event or
incident, you might not have a specific numeric attribute to evaluate (a
severity ranking, count or other measurement)
If you are interested in finding locations with many incidents (hot spots)
and /or locations with very few incidents (cold spot)s), you will need to
aggregate your incident data prior to analysis
11/23/2023 UoG-HI 30
Best practice guidelines for using cluster cont’d……
Especially if the values for the input field are asked, each feature should have
about eight neighbors
11/23/2023 UoG-HI 31
Best Practice guidelines for using Cluster cont’d…
Given a set of weighted features, the Getis-Ord Gi* (pronounced as Gee Eye Star) statistic
identifies statistically significant hot pots and cold spots
This tool works by looking feature with in the context of neighboring features.
A feature with high value is interesting but may not be statistically significant
To be statistically significant hot spot, a feature will have a high value and be surrounded by
other features with high values as well.
The local sum of features & its neighbors is compared proportionally to the sum of all
features;
Wen the sum is very different from the expected local sum, and when that difference is too
large to be the result of random chance, a statistically
11/23/2023 UoG-HI significant z-score results. 32
Clustering vs Clusters
The mapping clusters tools perform cluster analysis to identify the locations of
statistically significant hot spots, cold spots, spatial outliers and similar features
Clustering can be detected at the Global level where clusters at the local level
Moran’s I is a global statistic, i.e. a single value for the whole spatial pattern
11/23/2023 UoG-HI 33
Interpolation
What is Interpolation?
It can be used to predict unknown values for any geographic point data, such as
home delivery, high child mortality, low ANC visit and so on.
Interpolation predicts values for cells in a raster from a limited number of sample
data points.
11/23/2023 UoG-HI 34
Interpolation Methods
INVERSE DISTANCE WEIGHTED (IDW)
• The Inverse Distance Weighting interpolator assumes that each input point has a
local influence that diminishes with distance.
• It weights the points closer to the processing cell greater than those further away.
• A specified number of points, or all points within a specified radius can be used to
determine the output value of each location.
• Use of this method assumes the variable being mapped decreases in influence with
distance from its sampled location.
11/23/2023 UoG-HI 35
Interpolation Methods cont’d…
• IDW interpolation explicitly implements the assumption that things that are close
to one another are more alike than those that are farther apart.
• To predict a value for any unmeasured location, IDW will use the measured values
surrounding the prediction location.
• Those measured values closest to the prediction location will have more influence
on the predicted value than those farther away.
11/23/2023 UoG-HI 36
Interpolation Methods cont’d…
Kriging
• Kriging is a geostatistical interpolation technique that considers both the distance
and the degree of variation between known data points when estimating values in
unknown areas.
• Kriging assumes that the distance or direction between sample points reflects a
spatial correlation that can be used to explain variation in the surface.
11/23/2023 UoG-HI 37
Interpolation Methods cont’d…
• The Kriging tool fits a mathematical function to a specified number of points, or all
points within a specified radius, to determine the output value for each location.
• Kriging is most appropriate when you know there is a spatially correlated distance
or directional bias in the data.
11/23/2023 UoG-HI 38
Proximity/Buffer analysis