STATA

Reporting Results For Panel Regression Using Outreg2

In our two-part article (Part1 , Part2) on the outreg2 command, we learnt how regression results from Stata can be output to other file formats like Word, Excel, and LaTeX. In this article, we delve into reporting results for panel regression models, specifically four regression models: OLS (fixed and random effects, Generalized Method of Moments …

Reporting Results For Panel Regression Using Outreg2 Read More »

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 »