Ritesh Mistry replied to David Kantor:
> > What you want is...
> > merge varlist1 using master, keep( varlist2 )
> >
> > where varlist2 is the set of variables that you want to
> take from master.
> > varlist 1 is the set of key variables.
>
> i attempted the method you suggested (i am using stata
> version 7.0) and got
> the following error message:
>
> keep() invalid
> r(198);
>
> i don't think --merge-- allows a 'keep' option, unless
> something screwy is
> happening with my machine.
No need for surmise here. -merge- has a -keep()- option
and it is clearly documented. I think you need to
show us exactly what you typed.
Nick
[email protected]
*
* 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/