Has anyone been able to calculate commute distances/ times in stata recently? I know other programs are definitely better at this, but I’m a STATA loyalist so I’d like to do it in stata if possible. The last I can find about most of these commands is about 4-5 years old which isn’t promising. I don’t know if this is user error, or if the commands are not active anymore. I have tried mqtime, georoute, and perm time, but haven’t gotten any of them to work. I would like to also calculate commute distances and times between these coordinates. However this command only calculates straight line distances between two sets of coordinates. Geodist lat lon lat1 lon1, gen(dist) miles I have then used these latitudes and longitudes to calculate distances between schools and these points of interest using the following command: Every value in lon1 lat1 lon2 lat2 lon3 lat3. which represents points of interest 1, 2, 3. I then have variables lon1 lat1 lon2 lat2 lon3 lat3. Software Components S457147, Department of Economics, Boston College. For each of these schools I have a latitude and longitude (lat and Lon). geodist: Stata module to compute geodetic distances. I have a set of data which is long by schools in one single year (ie each observation is a school in 2019). Other users who have found the question cross-posted are encouraged to share the links as a reply as well. If you've asked a question, let people know where else you asked the question and what your solution(s) were! When you post a question on another platform, include those links in your questions or as a reply (if it's Discord, just mention it).See the sticked "READ ME: How to best ask for help in /r/Stata" post on how to comment here if all else fails. Make sure to include the word "Stata" in your search query. Perform a web search for your question prior to posting here. Stata's online community has been active for many years and many questions and solutions are documented on StataList, which are highly indexed on contemporary search engines (e.g., Google). Stata has extensive and complete documentation you can read before posting here (and you can type help followed by the command name in console to see it, e.g. This is not a place to find Stata tutoring. Do not request that the /r/Stata community do your homework for you. Assume good faith questions and comments. Be nice when posting or commenting to a post.The Code Block on Discord (run by Asjad Naqvi of The Stata Guide).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |