Dear Statalist experts
I want to use the command geodist to calculate the distance from each individual's domicile area to his employment area. I have longitudes and latitudes for each area and the command I use is: "geodist dlat dlong elat elong, gen(distance)". I get the error r(198): latitude 1 must be between -90 and 90.
My longitudes and latitudes are in the following format: "435187.565". Is this a format that geodist does not support?
Your help will be appreciated a lot.
Konstantina
Related Posts with Geodist command
Question: how to count occurrence with Regex groupedDear all! I want to count the occourences of a variable based on a regex expression - counted by a …
Question on interaction termsHello everyone, I am running two multiple linear regression models where the first one needs to have…
How to replicate this simple (Bayesian) calculation in Stata Dear Forum Members, I came a cross a quite simple example of Bayesian analysis (from the book Thin…
replace values: type mismatchDear, I am trying to replace all my "n.a." values into zeroes for my variable c20_28. However, when…
Difference in Differences ResultHey everyone! My name is Jesita. I am currently writing a paper regarding the impact of education de…
Subscribe to:
Post Comments (Atom)
0 Response to Geodist command
Post a Comment