Statalist


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

Re: st: "revise" variables in varlist after --reshape--


From   Dan Blanchette <[email protected]>
To   [email protected]
Subject   Re: st: "revise" variables in varlist after --reshape--
Date   Wed, 18 Mar 2009 12:48:11 -0400 (EDT)

How about loading original wide data again
and doing a reshape of just the two variables
you forgot:
. reshape long var4-var5, i(id) j(year)
and then saving it as a temp dataset, then load your first long dataset and then
merge on this second long data?

HTH,

Dan Blanchette
Research Associate
Center of Entrepreneurship and Innovation
Duke University's Fuqua School of Business
[email protected]


*
*   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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index