Hello,
I have a panel dataset and I want to perform some of the spatial panel analysis.
Now I am trying to generate spatial weight using shapefile with spset and spmatrix commands from drop down menu. I have linked stata format shapefile data also.
But whenever I want to create the weight matrix, this message comes - "variable _ID does not uniquely identify observations in the master data".
The variable _ID must be repetitive as it is a panel data.
How to solve this issue?
And further, how can I create spatial weight matrix (band based or contiguity) in a panel data?
I have a panel dataset and I want to perform some of the spatial panel analysis.
Now I am trying to generate spatial weight using shapefile with spset and spmatrix commands from drop down menu. I have linked stata format shapefile data also.
But whenever I want to create the weight matrix, this message comes - "variable _ID does not uniquely identify observations in the master data".
The variable _ID must be repetitive as it is a panel data.
How to solve this issue?
And further, how can I create spatial weight matrix (band based or contiguity) in a panel data?
Comment