Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.


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

Re: st: merge-by-observation in stata 10


From   Michael Norman Mitchell <[email protected]>
To   [email protected]
Subject   Re: st: merge-by-observation in stata 10
Date   Sat, 08 May 2010 10:20:52 -0700

Dear Frederick

  The Stata 10 equivalent to merge file a and file b on observation is...

use a, clear
merge using b

As always, one should be very careful in performing merges by observation.

Best regards,

Michael N. Mitchell
See the Stata tidbit of the week at...
http://www.MichaelNormanMitchell.com

On 2010-05-08 2.09 AM, Frederick Guy wrote:
In Stata 11, one of the merge variants is a one-to-one merge by
observation:

merge 1:1 _n

is there an equivalent in Stata 10?

Thanks

Frederick

*
*   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/
*
*   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–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index