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
Fixed Effects regression with clustering - QuestionHello, I'd like to utilize year and industry fixed effects regression and calculate t-statistics us…
confidence intervals for individual fixed effects u from xtreg, feI am running a fixed effects model with schools being my level of interest. I want to understand whi…
Apply numerical IDs for multiple dataHello, I was wondering whether anyone can help me- as I am very new to Stata. I have multiple pati…
Gen variableHi everyone, I have done some research, but couldn't find the answer to the following issue. Dataset…
Problem importing SAS formatsI'm trying to import SAS formats for CDC's Youth Risk Behavior Survey. I have the SAS data set file …
Subscribe to:
Post Comments (Atom)
0 Response to geonear r(459) error message advice
Post a Comment