STATA

Publication Style Correlation Table in Stata

This article gives a comprehensive overview of three Stata commands from the estout package that are used to output publication style correlation table in . Though this package is capable of reporting outputs for regression results and summary statistics as well, it is particularly useful for outputting correlation tables too. If have not already done …

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 Summary Statistics in Stata Using Outreg2

This short article is a guide on reporting summary statistics from Stata to Ms Word, Excel or LaTeX using the outreg2 command in Stata. For this guide, we start by using Stata’s inbuilt 1978 Automobile dataset and describing it using: sysuse auto.dta All Summary Statistics for All Variables To report summary statistics for all the …

How to Find Nearest Location in Stata Using geonear

In our previous article on the geodist command, we used that command to find the nearest location in stata to base city and locations within a certain radius. However geodist’s purpose is not for carrying out such computations. For such purposes, we have a dedicated command called geonear, which will be the subject of this …

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 …