Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: st: Label the variables


From   Joerg Luedicke <[email protected]>
To   [email protected]
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
<[email protected]> 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/


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