| id0 lat0 lng0 treatm~0 id lat lng treatm~t d | Please let me know if you're confused with any part. Is there any way to form ID pairs, not ID*Time pairs, in panel data setting? I tried to allocate more memory to Stata, reboot the server, close other programs to increase memory capacity but still had the same issue (The server I use has 32GB memory & Stata MP).įor the brief description of my data set (just in case), it's panel data with 5,062 units, T=51, and the number of observations is 234,844. 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 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. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |