How to Calculate the Distance Between Two Locations in Stata Using geodist

geodist is a useful command in Stata that helps you to find the distance between two cities/locations, the nearest location from your target city/location, and the number of cities/location within a certain radius. The command can be installed using: ssc install geodist We will use a dataset called distance.dta that stores the latitudes and longitudes …

How to Calculate the Distance Between Two Locations in Stata Using geodist Read More »