I wanted to thank you for your help. The synatax that ended up working was
something like the following:
sort id
. by id : gen j = _n
. reshape wide edate abs mds gcount g001a g001b g001c g002 g003 g004, i(id)
j(j
> )
The reason I need to have this file in wide rather than long format to do a %
of agreement type of analysis using a kappa coefficient.
Thanks again for your help,
Beth
*
* 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/