Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: RE: Combining values


From   "Nick Cox" <[email protected]>
To   <[email protected]>
Subject   st: RE: Combining values
Date   Thu, 13 Feb 2003 20:52:33 -0000

Rodrigo Brice�o

> I need to combine the
> values provided in two variables to make a new variable.
> For example:
> age1=4
> age2=99
>
> New variable=499 where the first number represents a code
> and the second the
> age recorded depending of the first code.

-egen, concat()- ?

Nick
[email protected]

*
*   For searches and help try:
*   http://www.stata.com/support/faqs/res/findit.html
*   http://www.stata.com/support/statalist/faq
*   http://www.ats.ucla.edu/stat/stata/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index