Create Spatial Weight Matrix for Provinces in Java Island
The spatial weight matrix is one crucial component in the spatial analysis models as it represents the relationship between one region with others. There are two kinds of spatial weighting matrix: contiguity and distance-based matrix. In a contiguity matrix, two regions are considered as neighbour if they share the same border, that represented with 1 symbol. While not neighbouring regions will be coded 0. On the other hand, each cell in the distance-based matrix shows the distance between the two regions. Figure 1. Java Island, Indonesia In this article, we will create a spatial weight matrix of provinces in Java Island (Figure 1). For the six provinces in Java Island, there will be a 6x6 matrix. The creation of a contiguity matrix should be started by identifying the relationship status between one region and others (Table 1). Then, the contiguity matrix is created (Table 2) Table 1. The Relationship between Regions Table 2. Contiguity Matrix One drawback ...