A test for space-time interaction using space and time distances.
Data Requirements
Space and time distances between cases
Number of replicate runs to determine the null distribution of the test statistic
Analysis
H0: spatial distance between cases is independent of the time distance between those cases
Ha: nearby cases tend to occur at about the same time
Test Statistic: The sum of the products of the space and time distances between all possible pairs of cases:
Where N is the number of cases, tij is the distance between cases i and j in time, and sij is the distance between cases i and j in space. When space-time interaction is present cases near in space will also be near in time, and the test statistic will be large if the reciprocal transformation is applied to the distances.
Alternatively, a standardized statistic may be used:
Where are average space and time distances and ss and st are standard deviations of the space and time distances. r is a measure of matrix correlation with range –1<r<1.
Both r and Z become large when the time distances are linearly dependent on the space distances. A non-linear dependence of time on space therefore will not necessarily result in a significant Mantel test.
The usual approach to determining the significance of Mantel’s test statistic under H0 is to use a Monte Carlo method, permuting the elements of one of the distance matrices while holding the other constant. This is equivalent to repeatedly scrambling the time observations across the localities, and calculating Z each time.
Output
Mantel’s r and its significance
Scatterplot of time distances on space distances
A frequency distribution of r under H0 is plotted
Reference
Jacquez, G.M. 1994, User manual for Stat!: Statistical software for the clustering of health events, BioMedware, Ann Arbor, MI.