Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: convert 5 rows to one observation


From   "Paul O'Brien" <[email protected]>
To   statalist <[email protected]>
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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index