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]
st: two "novice" questions
From
"Duck-Hye Yang" <[email protected]>
To
<[email protected]>
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/