squadgugl.blogg.se

Geodist stata two datasets
Geodist stata two datasets








geodist stata two datasets

I assume that the number of observations of expanded data exceed the number of observations that Stata can handle. I had a similar issue with George but I have panel data. List household_id d household_id0, sepby(household_id) * reduce to combinations that are within 1kmīysort household_id (d) household_id: keep if d < 1

geodist stata two datasets

Geodist latitude longitude latitude0 longitude0, gen(d) * form all pairwise combinations of household

#Geodist stata two datasets how to

female", modifyI don't seem to know how to generate this variable containing shortest distances from HH i to j which are obviously neighbors. Input double(household_id longitude latitude age) byte gender float(treat spillover)










Geodist stata two datasets