Hello,
Can we create inverse-distance spatial weighting matrices for point data?
I can create inverse-distance spatial weighting matrices with a polygon shapefile (poly.shp) by using the following commands.
spshape2dta poly.shp
use poly, clear
spmatrix create idistance Wid, normalize(row)
However, I cannot create spatial weighting matrices with a point shapefile (point.shp); for example,
spshape2dta point.shp
use point, clear
spmatrix create idistance Wid, normalize(row)
* Then, I get "coordinate variable _CX has missing values" error.
Related Posts with Can we create inverse-distance spatial weighting matrices for point data?
Drop variables which are missing all observations in a yearHi! I have just appended three datasets from 2010, 2011 and 2012. They have many identical variable…
global marginal effects in ologitHi in older versions of STATA, to obtain the marginal effects of the covariates we use the command "…
Is Outreg2 appropriate to extract results from Juan M Villa's Matching Diff in Diff estimator?I am estimating the treatment effects of a policy change in a repeated panel using the Matching Diff…
I am wondering the result about cross-classified multilevel modelArray l am working about cross-classified multilevel model dependent variable : immigratio…
Geographic RDD: distance from observation points to border.Dear Statalists, I want to conduct a Geographic Regression Discontinuity Design to compare municipa…
Subscribe to:
Post Comments (Atom)
0 Response to Can we create inverse-distance spatial weighting matrices for point data?
Post a Comment