Statalist


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

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


From   Dan Blanchette <dan.blanchette@duke.edu>
To   statalist@hsphsun2.harvard.edu
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
dan.blanchette@duke.edu


*
*   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   |   What's new   |   Site index