From | baum <[email protected]> |
To | [email protected] |
Subject | st: Re: two-year panel, combining datasets |
Date | Sun, 11 Aug 2002 09:26:24 -0400 |
--On Sunday, August 11, 2002 2:33 -0400 Andres ([email protected]) wrote:
You do not give the second record in the 'pairs' dataset, but I presume it should be '2 4' -- which as I understand it would imply that the last element in 'hhid' above should be '2', not '4'. This will achieve that:panel.dta obsid year 1 2000 2 2000 3 2001 4 2001 obsidpairs.dta year2000 year2001 1 3 I would like to end up with obsid year hhid 1 2000 1 2 2000 2 3 2001 1 4 2001 4
© Copyright 1996–2024 StataCorp LLC | Terms of use | Privacy | Contact us | What's new | Site index |