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: convert 5 rows to one observation


From   "Paul O'Brien" <paul.obrien@afe2.org.uk>
To   statalist <statalist@hsphsun2.harvard.edu>
Subject   st: convert 5 rows to one observation
Date   Tue, 15 Jun 2010 21:32:59 +0100

hi,

i have data on patients i one variable with 5 rows for each patient and want to convert to one observation per patient. 

a
b
c
d
e
1
2
3
4
5
s
t
u
v
w
6
7
8
9
10

to 

a1s6
b2t7
etc

thanks

paul
*
*   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