Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

st: Merging question for a panel dataset


From   Jonathan Eggleston <[email protected]>
To   [email protected]
Subject   st: Merging question for a panel dataset
Date   Mon, 13 Sep 2010 16:58:19 -0400

Im trying to combine varies waves of this one dataset (The British Household Panel Survey) into one panel dataset. Each wave is one year, and the dataset and variables for a particular year start with a specific letter. So for example I’m trying to combine the datasets bindresp and cindresp for the variables bhowlng and chowlng (these are the same variable, just for different years). The person id variable is pid, and there are some individuals that are in some waves but not others. Can anyone suggest some stata code that will combine the datasets? I’m familiar with the merge and append commands, but examples I find aren’t quite applicable to my situation. Thanks!
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index