Monthly Archives: July 2019

Stata command to lowercase all variable names or the values of all string variables

Stata is a case-sensitive application, which can sometimes cause trouble. Therefore, we might want to convert all variable names or the values of all string variables to lowercase before further data processing. This post gives a quick method to do … Continue reading

Posted in Stata | 2 Comments

Stata command to order tabulation result with only top values shown

tabulate varname command is handy in Stata, but sometimes it returns a too long result, if varname contains too many unique values. The third-party command, groups, will solve the problem by showing top values only. Please use ssc install groups … Continue reading

Posted in Stata | Leave a comment