Re: [R] SPDEP Package, neighbours list for Moran's I on large grid dataset

From: Ben Haller <>
Date: Fri, 22 Apr 2011 09:08:16 -0400

On Apr 22, 2011, at 2:07 AM, Laurent Jégou wrote:

> Hello, thank you very much for this solution, i'll try to adapt it to my problem, i think i'll be able to.


> By the way, i wrote about a "sliding-window" weight matrix, it's an expression used in satellite images processing, esp. convolution filters, meaning that the main matrix is not confronted to another one of the same dimensions, but to a much smaller one. The calculus is executed value by value (pixels on an image), centering the small matrix on each one, hence the name of sliding window.

  Yeah, I'm familiar with the concept in general, but I don't see how you can really apply it to Moran's I calculations; the Moran's I value is, by definition, based on calculating the value for every point compared to every other point, and looking at only points within a smaller window risks getting a value that is not representative of the larger context. But if it makes sense to you in your application, then more power to you. :->

Ben Haller
McGill University mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 22 Apr 2011 - 14:49:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 22 Apr 2011 - 14:50:32 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive