Prevent variable abbreviation in Stata

In many cases, variable abbreviation is a handy tool in Stata (e.g. writing w instead of wage if wage is the only variable name starting with w). When using large numbers of variables with similar names, however, it can be quite dangerous, especially when do-files are run at once.

An easy way to prevent any variable abbreviation is stating:

set varabbrev off, permanent

Leave a Reply