First you have to decide what variable will be
the `key' to perform the merge, say it is var1.
Suppose you master data is 1.dta and your using
data is 2.dta. Sort the using dataset on var1 and
save. Then sort the master dataset and type
type
.merge var1 using 2.dta
Note that I am assuming that both datasets are in the current directory.
===========================================
Alfonso Miranda
PhD Student
Economics Department
University of Warwick
Coventry CV4 7AL
E-mail: [email protected]
===========================================
>>> [email protected] 07/28/03 17:10 PM >>>
I would like to merge all of the variables of one data set with the variables
of another dataset. The dataset which requires merging contains village level
variables and the other is a household level dataset.
I am unsure of how to do this and how to sort the variables of each dataset.
Jack
------------------------------------------------
This mail sent through http://webmail.zoom.co.uk
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/