Hi All,
I am trying to calculate the distance of disaster occurrences from specific place names within a 50km radius.
The code that I am using is:
geonear place_name latitude_afro longitude_afro using "GDIS Geonear Test.dta", n(disastertype latitude longitude) ignoreself long within(50)
and it is coming up with the following error: latitude_afro or longitude_afro not constant within place_name group r(459);
I have tried two variables at the start of the code place_name and merge_location and they have each presented the same error.
Any advice would be much appreciated.
Cheers,
Rob
Related Posts with geonear r(459) error message advice
Distance between observations in different data basesHi, I have two data bases (1 & 2). I can compare longitude and latitude between them but nothing…
Generating Variables Acc. to Multiple Conditions And Earliest OccurrenceI am working with a dataset that contains names, the frequency of a name according to gender, and th…
Why the variables'name from esttab presentation is different from that of presented table by using esttabMy code is as below Code: reghdfe wNET_PRO_MAR pt , a(TYPE2 yr) est sto m1 reghdfe wNET_PRO_MAR …
Whether can I do two mean difference tests simultanuously?Dear Statalists, My dataset has 4 variables A, B, C and D. I would like to test mean difference of …
Using loop to replace values in a variableDear All, I am new to loop. Is there a way I can replace the missing values with the number 1 each …
Subscribe to:
Post Comments (Atom)
0 Response to geonear r(459) error message advice
Post a Comment