Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: Merge data


From   Richard Goldstein <[email protected]>
To   [email protected]
Subject   Re: st: Merge data
Date   Thu, 13 Nov 2003 08:10:01 -0500

if A is the master file and B is the using file, 
use the "nokeep" option of -merge-

Rich

Lok Wong wrote:
> 
> 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
*
*   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/



© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index