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: how to transform variables


From   econqian <qian@foi.dk>
To   statalist@hsphsun2.harvard.edu
Subject   st: how to transform variables
Date   Tue, 15 Nov 2011 03:38:24 -0800 (PST)

Hi, all
      How to transform the original format of two variables to the new
format of two variables?
Original format
Var1	Var2
4	8
54	89
87	28
39	75
99	96
119	100

New format
Va1	Var2
54	4
87	4
39	4
99	4
119	4
89	8
28	8
75	8
96	8
100	8


Many thanks in advance,
Qian


--
View this message in context: http://statalist.1588530.n2.nabble.com/how-to-transform-variables-tp6995961p6995961.html
Sent from the Statalist mailing list archive at Nabble.com.
*
*   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