Skip to content
Prev 34027 / 398513 Next

spatial correlation test

(I think Barry Rowlingson replied off-list, both his advice and St?phane 
Dray's reply are relevant)
On Mon, 30 Jun 2003, Martin Wegmann wrote:

            
There is a literature that you will find referenced on help pages of the 
functions that you are interested in. For geary.test(), the reference is: 
Cliff, A. D., Ord, J. K. 1981 Spatial processes, Pion, p. 21.

For sp.correlogram(): Cliff, A. D., Ord, J. K. 1981 Spatial processes,
Pion, pp.  118-122, Martin, R. L., Oeppen, J. E. 1975 The identification
of regional forecasting models using space-time correlation functions,
Transactions of the Institute of British Geographers, 66, 95-118.

These are the places to look first. For nb2listw() - Tiefelsdorf, M.,
Griffith, D. A., Boots, B. 1999 A variance-stabilizing coding scheme for
spatial link matrices, Environment and Planning A, 31, pp. 165-180.

The "nb" class defines neighbour relations needed to carry out further
calculations, and is "a list of integer vectors containing neighbour
region number ids", quoting its documentation in the example St?phane 
Dray used, tri2nb() to generate neighbours from points by triangulation.

If your point data are not areal but are sampled from a possibly
continuous surface, then, as Barry Rowlingson suggested, you could look at
one or other of the geostatistical packages, for example sgeostat.
However, asking for a p-value implies that you are testing some kind of a
hypothesis, doesn't it?

It is possible to do Moran tests within a testing framework in
sp.correlogram(), and indeed to provide nb2listw() with inverse distance
weights, but it isn't clear that this would answer your underlying 
research question.

Roger