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
Testing for selection biasHello everyone, I was wondering if anyone knows how to test for differences in characteristics for …
reproducible reports from stata to lyxis there a command to reproduce or copy tables from stata into LYX (lyx is platform for latex)? …
Generalized Diff-in-Diff with different treatment startsHello, I am new to statalist but I used the forum previously to find help which I did. However, I c…
A question about SVY data propoetionGood day everybody. I am trying to calculate the proportion of one of the survey variables, over a …
Procedure to estimate effects with repeated binary outcomes after propensity scoreHello. I'm using Stata 15.1. I have a dataset of 88 observations in the treatment group, and need t…
Subscribe to:
Post Comments (Atom)
0 Response to Geodist command
Post a Comment