Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Joerg Luedicke <joerg.luedicke@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | Re: st: Label the variables |
Date | Thu, 23 Jun 2011 14:21:02 -0400 |
I am not sure if I understand the problem correctly, but maybe you are looking for something like this: /***********************/ sysuse auto, clear global vlist mpg rep78 headroom trunk weight regress price $vlist /***********************/ where a list of variables is put into a global macro so that you only need to put the macro into the regression statement, instead of all variable names. J. On Thu, Jun 23, 2011 at 12:46 PM, Nahla Samargandi <Nahla.Samargandi@brunel.ac.uk> wrote: > Hi, > How I can divided OR label my variables into numbers of groups, (ex. dependent variables, control variables, and reform variables,) > To be more easier when run the regression and choose the variables from Stata screen > Thanks, > N > > * > * For searches and help try: > * http://www.stata.com/help.cgi?search > * http://www.stata.com/support/statalist/faq > * http://www.ats.ucla.edu/stat/stata/ > * * For searches and help try: * http://www.stata.com/help.cgi?search * http://www.stata.com/support/statalist/faq * http://www.ats.ucla.edu/stat/stata/