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
Muhammad Anees <[email protected]>
To
[email protected]
Subject
Re: st: label the variables
Date
Fri, 24 Jun 2011 15:27:47 +0100
The code should be re-written somehow differently
gen contx4= x4 etc
It is similar to renaming but different in that will -gen- will give
you an extra variable which retains the original var in dataset.
Anees
On Fri, Jun 24, 2011 at 1:41 PM, Nahla Samargandi
<[email protected]> wrote:
> Hi,
>
> Thank you for your help. Actually what I meant regarding label the variables into groups, that I remember there was a command give this option , but unfortunately, I cant remember it well.
> when I type
> gen helper= var helper*********************
> it gives me this massage
> var not found
> r(111);
>
> I want to put my variables into groups to be easy to choose among them when I run the regression
> ,
> for example
> dependent*******************
> y1
> y2
> y3
> explanatory********************
> x1
> x2
> x3
> control var*****************
> x4
> x5
>
> could you help me to find the command for this.
>
> Meany thanks,
> N
>
> it let your variabls apper like this
>
>
> 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/
>
--
Muhammad Anees
MSc & MS in Economics
*
* 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/