[Openspace] k-neighbors in GeoDA
Luis Galvis
galvis at uiuc.edu
Fri Nov 23 08:38:35 CST 2007
Right, in a regular grid, the queen second order neighbors add up to 16.
Sorry for the confusion...
L.
Dear Luis
>
> Is the second order of contiguity 15 or 16?
>
>
>
> -----Original Message-----
> From: lgalvis74 at gmail.com [mailto:lgalvis74 at gmail.com] On Behalf Of
> galvis at uiuc.edu
> Sent: Friday, November 23, 2007 1:52 AM
> To: Richard Ngetich
> Cc: German Muchnik Izon; openspace at sal.uiuc.edu
> Subject: Re: [Openspace] k-neighbors in GeoDA
>
> Chris is right, I am not necessarily one of the closest neighbor to my
> nearest neighbors. Think about this example, if you were to construct
> a 4-nearest neighbors that include Hawaii, you may fin that California
> is one of the closest neighbors, but for California's side, Hawaii is
> not one of the 4-nearest neighbors.
> On the other hand, the meaning of the "order of contiguity", refers to
> how many steps separate me from my neighbors. In a regular grid,
> following a queen criterion, it would be just the 8 cells surrounding
> any particular cell. Second order of contiguity should then have 15
> neighbors. If you think about it, you may figure out why yo didn't
> have the asymmetry "problem" when creating euclidean, queen or rook
> weigh matrices.
>
> L.
>
> On 11/22/07, Richard Ngetich <richard.ngetich at undp.org> wrote:
> > Dear German
> >
> > Perhaps you meant to ask what is the meaning of "the order of
> contiguity"?
> >
> > Richard
> >
> > -----Original Message-----
> > From: German Muchnik Izon [mailto:german at unm.edu]
> > Sent: Wednesday, November 21, 2007 8:53 PM
> > To: openspace at sal.uiuc.edu
> > Subject: [Openspace] k-neighbors in GeoDA
> >
> > Hi,
> >
> > Does anyone know how GeoDA creates a weight matrix based
> > on, for instance, 4 neighbors? Does it use distance to
> > determine the closets four neighbors?
> > I imported a 4-neighbor weight matrix I created in GeoDA
> > to R but when I check for symmetry, R tells me that the
> > matrix is not symmetric. I did not have this problems with
> > other weight matrices I created in GeoDA (i.e. euclidean,
> > queen, rook)?
> > Also, when I create rook or queen continuity weight
> > matrix, what is the meaning of "the order of continuity"?
> >
> > Thank you!
> > German.
> >
> >
> > _______________________________________________
> > Openspace mailing list
> > Openspace at sal.uiuc.edu
> > http://sal.uiuc.edu/mailman/listinfo/openspace
> >
>
>
More information about the Openspace
mailing list