
There’s a bit of odd notation which can be used to sort the output by variable name, which makes it easier to identify variables which appear in multiple lists. If “turn” was in multiple variable lists, each would appear as a row in this output. We haven’t used this yet, but variables can be in multiple lists.

This output produces one row for each variable in each variable list it is in. To see the actual contents of the variable lists, we’ll need to sue vl list.ĭisplacement | $vluncertain integers >=0 31 When initializing the variable lists, we’re treated to a nice table of all defined lists. In the above, we changed our minds and wanted to include the vldummy list, but since we’d already vl-set, we had the clear the existing set. You specified 11 variables that were already classified. You requested that variables be added to vl's system classifications, but One or more already classified variables specified Running vl set on an already vl-set data set will result in an error, unless the clear option is given, which will re-generate the lists. The two thresholds given above, 10 and 100, can be adjusted by the categorical and uncertain options. They can be suppressed with the nonotes option to vl set 1.

The “Notes” given below the output are generic they appear regardless of how well Stata was able to categorize the variables. Unsurprisingly, this will take variables containing only values 0 and 1 out of vlcategorical and into this list. There is a potential fifth system variable list, vldummy, which is created when option dummy is passed. vlother: Any numeric variables that aren’t really useful - either all missing or constant variables.These generally are non-negative integer valued variables with between 10 and 100 unique values. vluncertain: Variables which Stata is unsure whether they are continuous or categorical.These generally are variables which have negative values, have non-integer values, or are non-negative integers with more than 100 unique values. vlcontinuous: Variables which Stata thinks are continuous.These generally have to be non-negative, integer valued variables with less than 10 unique values. vlcategorical: Variables which Stata thinks are categorical.Every numeric variable in the current data set is automatically placed into one of these four lists: When you initialize the use of variable lists, Stata will automatically create four variable lists, called the “System variable lists”. This produces a surprisingly large amount of output. Type the dollar sign with other Stata commands to Type the vlname without the leadingĭollar sign ($) when using vl commands. Type vl move (x50 x80) vlcontinuous to move variables x50 and x80 toĤ. Use vl move to move variables among classifications. To vlcategorical, vlcontinuous, or vlother. If there are any variables in vluncertain, you can reallocate them Type vl list vlcategorical and type vl list vlcontinuous.Ģ. Review contents of vlcategorical and vlcontinuous to ensure they areĬorrect. $vlother | 0 all missing or constant variablesġ.

$vluncertain | 7 perhaps continuous, perhaps categorical variables To begin using variable lists, vl set must be run.
