# STATA

## 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. Download Example File 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 …

## 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 Download Example File We will use a dataset called distance.dta that stores the …

## Reporting Publication Style Regression Output in Stata – Part 2

In our introductory article on using Outreg2 for regression output, we learnt how to output Stata regression output into other file formats like Word, Excel or Latex and how we could adjust the layout of the output tables. In this second section of our two-part article on the outreg2 command, we explore how additional statistics, …

## Publication Style Regression Output in Stata– Part 1

Reporting Publication Style Regression Output In Stata Stata has a nifty command called outreg2 that allows us to output our regression results to other file formats. This command is particularly useful when we wish to report our results in an academic paper and want the same layout we typically see in other published works. In …