Statalist


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

Re: st: Question about Stata


From   Niels Schenk <niels@oudwijk.cistron.nl>
To   <statalist@hsphsun2.harvard.edu>
Subject   Re: st: Question about Stata
Date   Tue, 16 Jun 2009 13:21:34 +0200

egen combined = group(A B)

cheers,

Niels

On Mon, 15 Jun 2009 14:37:01 -0700 (PDT), Olusegun Olawumi Jegede
<olusegun@u.washington.edu> wrote:
> Hello,
> My name is Olusegun Jegede. I'm an MPH student at the University of
> Washington, seattle. I'm current working on my Master's Thesis. I have a
> problem with combining two diffent variables using Stata. Both of them
are
> numeric variables, variable A has two range- i.e number of years (1996
and
> 1998) while variable B has five range i.e mother's race (Hispanic,
whites,
> Asian/pacific, African/American, and others). 
> Is it possible to combine these two variables seeing that they have
> diffent range. If yes, please guide me through.
> 
> Very respectfully,
> Olusegun
> MPH Stdent, UW Seattle.
> 
> 
> 
> *
> *   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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index