egen combined = group(A B)
cheers,
Niels
On Mon, 15 Jun 2009 14:37:01 -0700 (PDT), Olusegun Olawumi Jegede
<[email protected]> 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/