7/5/2023 0 Comments Geodist stata![]() 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 latitude longitude latitude0 longitude0, gen(d) * form all pairwise combinations of household 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) ![]()
0 Comments
Leave a Reply. |