Thank you David, your suggestion worked exactly the way I wanted it.
Thanks once again.
Regards,
John.
On 4/19/06, David Harrison <[email protected]> wrote:
> To make sure you get the variable names you want at the end...
>
> rename code j
> rename value code
>
> Then this is just:
>
> reshape wide code, i(ID) j(j)
>
> Hope this helps
>
> David
>
*
* 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/