Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: two "novice" questions


From   "Duck-Hye Yang" <dyang@chapinhall.org>
To   <statalist@hsphsun2.harvard.edu>
Subject   st: two "novice" questions
Date   Mon, 18 Jul 2011 20:09:19 -0500

Dear Statalist,
I have sex variable where F and M exist.
I'd like to change the variable name to female where 1=F and M=0. Female should be numeric variable. 
 
I have age variable, which is categorical variable (1=infant,... 5=18+).
When I ran a logit model, I found that 1 is reference category. How can I make 5 reference category?
 
Sorry that I ask too-easy questions. I am a novice user of stata. I really want a try!
 
Thanks,
Duckhye Yang


*
*   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index