Correlation and autocorrelation
1 / 32

Correlation and Autocorrelation - PowerPoint PPT Presentation

  • Uploaded on

Correlation and Autocorrelation. Defined. Correlation – the relation (similarity) between two entities Autocorrelation – the relation of entity to itself as the function of distance (time, length, adjacency). Correlation Coefficient. For Interval and Ratio Data.

I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
Download Presentation

PowerPoint Slideshow about ' Correlation and Autocorrelation' - price-noble

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.

- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript


  • Correlation – the relation (similarity) between two entities

  • Autocorrelation – the relation of entity to itself as the function of distance (time, length, adjacency)

Correlation coefficient
Correlation Coefficient

  • For Interval and Ratio Data

Values range from -1 to 1 with zero indicating no correlation.


Rough estimates: 0-0.3 Weak, 0.3-0.7 Moderate, 0.7-1.0 Strong

Test for correlation
Test for Correlation

  • Student t Test

Ho is that the true correlation is zero, with n-2 degrees of freedom.

Assumes that one or both variables are normally distributed.

Most statistics books also provide a table for testing correlation coefficients at different levels of significance developed by R.A. Fisher and others.

Correlation of surfaces
Correlation of Surfaces

  • Cell by Cell comparison using rasters.

  • For other data structures you usually correlation on a set of point measurements that obtain a cross-section of attributes.

  • Beware of scale issues; variables working at a different scale

Spearman rank correlation
Spearman Rank Correlation

  • For ordinal data


Cross correlation

Compare values on a profile (variables x,y).

Can also be done using rasters.

n* = number of pairs

Range is -1 to 1


Values range from -1 to 1 with zero indicating no autocorrelation.

Graph of autocorrelation and lag (l) is the opposite of the semivariogram.

Other measures for spatial autocorrelation

Other Measures for Spatial Autocorrelation

Moran’s I

Geary’s C

Spatial autocorrelation
Spatial Autocorrelation

  • First law of geography: “everything is related to everything else, but near things are more related than distant things” – Waldo Tobler

  • Many geographers would say “I don’t understand spatial autocorrelation” Actually, they don’t understand the mechanics, they do understand the concept.

Spatial autocorrelation1
Spatial Autocorrelation

  • Spatial Autocorrelation – correlation of a variable with itself through space.

    • If there is any systematic pattern in the spatial distribution of a variable, it is said to be spatially autocorrelated

    • If nearby or neighboring areas are more alike, this is positive spatial autocorrelation

    • Negative autocorrelation describes patterns in which neighboring areas are unlike

    • Random patterns exhibit no spatial autocorrelation

Why spatial autocorrelation is important
Why spatial autocorrelation is important

  • Most statistics are based on the assumption that the values of observations in each sample are independent of one another

  • Positive spatial autocorrelation may violate this, if the samples were taken from nearby areas

  • Goals of spatial autocorrelation

    • Measure the strength of spatial autocorrelation in a map

    • test the assumption of independence or randomness

Spatial autocorrelation2
Spatial Autocorrelation

  • Spatial Autocorrelation is, conceptually as well as empirically, the two-dimensional equivalent of redundancy

  • It measures the extent to which the occurrence of an event in an areal unit constrains, or makes more probable, the occurrence of an event in a neighboring areal unit.

Spatial autocorrelation3
Spatial Autocorrelation

  • Non-spatial independence suggests many statistical tools and inferences are inappropriate.

    • Correlation coefficients or ordinary least squares regressions (OLS) to predict a consequence assumes that the observations have been selected randomly.

    • If the observations, however, are spatially clustered in some way, the estimates obtained from the correlation coefficient or OLS estimator will be biased and overly precise.

    • They are biased because the areas with higher concentration of events will have a greater impact on the model estimate and they will overestimate precision because, since events tend to be concentrated, there are actually fewer number of independent observations than are being assumed.

Indices of spatial autocorrelation for areas and or points
Indices of Spatial Autocorrelation (for Areas and/or Points)

  • Moran’s I

  • Geary’s C

  • Ripley’s K

  • LISA

  • Join Count Analysis

Moran s i
Moran’s I

  • One of the oldest indicators of spatial autocorrelation (Moran, 1950). Still a defacto standard for determining spatial autocorrelation

  • Applied to zones or points with continuous variables associated with them.

  • Compares the value of the variable at any one location with the value at all other locations

Moran s i1
Moran’s I

Where N is the number of casesXi is the variable value at a particular locationXj is the variable value at another locationXbar is the mean of the variableWij is a weight applied to the comparison between location i and location j

Moran s i2
Moran’s I

Similar to correlation coefficient, it varies between –1.0 and + 1.0

  • When autocorrelation is high, the coefficient is high

  • A high positive value indicates positive autocorrelation

How to decide the weight wij ?

The weight indicates the spatial interaction between entities.

  • Binary wij, also called absolute adjacency.

    wij = 1 if two geographic entities are adjacent; otherwise, wij = 0.

    2) The distance between geographic entities.

    wij = f(dist(i,j)), dist(i,j) is the distance between i and j.

    3) The length of common boundary for area entities.

    wij = f(leng(i,j)), leng(i,j) is the length of common boundary between i and j.

Moran s i3
Moran’s I

  • Problems with weights

    • Potential for distorted the value.

    • Wij can be normalized by

Testing the significance
Testing the Significance

  • Empirical distribution can be compared to the theoretical distribution by dividing by an estimate of the theoretical standard deviation

Example of Moran’s I – Per Capita Income in Monroe County

Using Polygons:

Morans I: 0.66

P: < 0.001

Example of Moran’s I – Random Variable County

Using Polygons:

Moran’s I: 0.012p: = 0.515

Geary s c
Geary’s C County

  • Similar to Moran’s I (Geary, 1954)

  • Interaction is not the cross-product of the deviations from the mean, but the deviations in intensities of each observation location with one another

Geary s c1
Geary’s C County

  • Value ranges between 0 and 2. 1 means no spatial autocorrelation.

  • If value of any one zone are spatially unrelated to any other zone, the expected value of C will be 1

    • Smaller (larger) than 1 means positive (negative) spatial autocorrelation.

    • Geary's C is inversely related to Moran's I, but it is not identical. Moran's I is a measure of global spatial autocorrelation, while Geary's C is more sensitive to local spatial autocorrelation.

    • Does not provide identical inference because it emphasizes the differences in values between pairs of observations, rather than the covariation between the pairs.

    • Geary's C is also known as Geary's Contiguity Ratio, Geary's Ratio, or the Geary Index.

Interpreting the CountyC values

0 < C < 2

C=0: maximal positive spatial autocorrelation

C=1: a random spatial pattern

C=2: maximal negative spatial autocorrelation. County

This figure suggests a linear relation between Moran's I and Geary's C, and either statistic will essentially capture the same aspects of spatial autocorrelation.