Hello there,
As a new user to Stata as well I've used the following to merge data
merge X1 using "C:\Filename",
tab _merge
assert _merge~=3
then sort the data by X1
I hope this helps.
Regards,
Joyce E. Balls, MPE
Project Coordinator
University of California, San Francisco
"Kind words can be short and easy to speak, but their echoes are truly
endless." ~ Author Unknown
-----Original Message-----
From: Lok Wong [mailto:[email protected]]
Sent: Tuesday, November 11, 2003 7:58 PM
To: [email protected]
Subject: st: Merge data
Hi,there,
I have one question about merging data..I am wondering if someone out there
could help me with it.
Let's say data sets, A and B.. A includes {X1,X2,X3,X4} and B
includes{X1,X2,X5}..Using X1 and X2, we could uniquely identify the
individuals in the data...Moreover,the sample size of B is bigger that of
A..I only want X5 of individuals in B who are also in A...How could I do
this?
Thanks a lot..
Lok
_________________________________________________________________
MSN Messenger with backgrounds, emoticons and more.
http://www.msnmessenger-download.com/tracking/cdp_customize
*
* 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/