Skip to content
Prev 27403 / 29559 Next

[FORGED] Create a Spatial Weight Matrix based on road distance

Sorry again.

A Spatial Weight Matrix (swm) is an object used in spatial econometrics to
characterize the spatial structure among territories. It is an element nxn
where n is the number of territorial units (counties, districts, states,
cities, regions) in the sample and it could be based on contiguity or
distance. Usually, you can create a swm based on distance using
'dnearneigh' from spdep and then convert to a listw through 'nb2listw'. The
problem is that the matrix that you generate trough 'dnearneigh'computes
the euclidean distance among centroids of polygons. This is where I spot my
issue, I need to compute the swm using the road distance instead of
euclidean distance computed through 'dnearneigh'. I do have a shapefile
with poligons (counties) and another shapefile with lines (roads).


El s?b., 22 de jun. de 2019 a la(s) 20:00, Rolf Turner (
r.turner at auckland.ac.nz) escribi?:

  
    

Thread (24 messages)

Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 20 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 20 Adrian Baddeley Create a Spatial Weight Matrix based on road distance Jun 20 Andres Diaz Loaiza Create a Spatial Weight Matrix based on road distance Jun 21 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 22 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 22 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 22 Juan Pablo Carranza Create a Spatial Weight Matrix based on road distance Jun 22 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 22 Juan Pablo Carranza Create a Spatial Weight Matrix based on road distance Jun 22 Rolf Turner Create a Spatial Weight Matrix based on road distance Jun 23 Roger Bivand Create a Spatial Weight Matrix based on road distance Jun 23 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 23 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 23 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 23 Roger Bivand Create a Spatial Weight Matrix based on road distance Jun 24 Andres Diaz Loaiza Create a Spatial Weight Matrix based on road distance Jun 24 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 26 Danlin Yu Create a Spatial Weight Matrix based on road distance Jun 27 Rolando Valdez Create a Spatial Weight Matrix based on road distance Jun 27