Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, statalist.org is already up and running.


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

st: Merging question for a panel dataset


From   Jonathan Eggleston <eggleston@email.virginia.edu>
To   statalist@hsphsun2.harvard.edu
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–2014 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index