Stata 15 help for set_varabbrev

Title

Set whether variable abbreviations are supported

Syntax

set varabbrev {on | off} , permanently

Description

set varabbrev allows you to control whether variable abbreviations are allowed. The default is to allow variable abbreviations.

For the varabbrev and novarabbrev commands, see [P] varabbrev.

Remarks

If you type

. sysuse auto . summarize mp

you will see a summary of the variable mpg because mp is an abbreviation of mpg and no other variable in the dataset can be abbreviated to mp.

If you turn off variable abbreviations with

. set varabbrev off

Stata will not find the variable mpg when you type mp in a variable list.


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index