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
Expand sample using levels of a variableHello statalist, I am using Stata 15.1. I would like to expand a sample using the levelsof one vari…
Delete observations if not completeHi, I have a question about data for my thesis and I'm new with Stata! I have to observe whether o…
Scalar multiplication problemHi, Stata community! I am trying to do a simple multiplication between scalars in two loops and hav…
Cross sectional dependence/ xtpcseDear Members, I would like to know how do deal with cross sectional dependences. I have started doi…
Panel data: the share of inter and intra variabilities in total variabilities for each variableHello. I have panel data. How could we calculate the share of inter and intra variabilities in total…
Subscribe to:
Post Comments (Atom)
0 Response to geonear r(459) error message advice
Post a Comment