Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down on April 23, and its replacement, is already up and running.

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

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

From   Michael Norman Mitchell <>
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...

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

merge 1:1 _n

is there an equivalent in Stata 10?



*   For searches and help try:
*   For searches and help try:

© Copyright 1996–2016 StataCorp LP   |   Terms of use   |   Privacy   |   Contact us   |   Site index