Category: CollTipStata
-
#StataTip: variable lists selected by “*” select all variables. To select all but a few (e.g. “year”) write –ds year, not– and get all variables but the one specified (results stored in local `r(varlist)’)
-
#StataTip: use missing(VAR)==1 to condition on variable VAR being missing
-
#StataTip: useĀ –set varabbrev off– to only allow full variable names in your Stata code (and no abbreviations)