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
About the import commandHi,I want to import an excel file to stata.When I use the import command in the do file,I encount a …
Defining variables in a loopHello All, I have a long list of variables that all need to be defined in the same way. I wrote the…
RESET Test after running logistic regressionHello, I was informed by my thesis supervisor that I should consider conducting a RESET test. I hav…
latent class model with predicted probabilities?I have a question that I can't find the answer to. I have a latent class model with covariates, esse…
two-stage multinomial logistic regression (mlogit-->logit)Hello, I want to try to analyze the data in two stages where step 1 uses multinomial logit (3 catego…
Subscribe to:
Post Comments (Atom)
0 Response to geonear r(459) error message advice
Post a Comment