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: m:m merge not working properly
From
Phil Clayton <[email protected]>
To
[email protected]
Subject
Re: st: m:m merge not working properly
Date
Wed, 11 Jan 2012 09:04:36 +1100
You may want to look at -joinby-, or the user-written -mmerge- (SSC) which implements m:m merging using -joinby- rather than -merge- and adds a few convenience features.
Phil
On 11/01/2012, at 5:02 AM, Impavido, Gregorio wrote:
> I am not surprised: m:m has an infinite possible combinations and the computer simply randomizes. In fact I am not sure what is the use to allow m:m in merge to start with. This is similar to using sort without the stable option (see -help sort-). In any case, I am curious to hear what stata corp has to say.
>
> -----Original Message-----
> From: [email protected] [mailto:[email protected]] On Behalf Of Nick Cox
> Sent: Tuesday, January 10, 2012 12:46 PM
> To: [email protected]
> Subject: Re: st: m:m merge not working properly
>
> I would contact tech support with details of your Stata, the datasets,
> the exact commands and a log of results. See
>
> http://www.stata.com/support/faqs/techsup/sendout.html
>
> Nick
>
> On Tue, Jan 10, 2012 at 5:39 PM, Yakusheva, Olga
> <[email protected]> wrote:
>
>> Running stata 11 and the merge m:m command produces different sample size each time I run it in the same session. If I close out and start a new session, the merge will give me a consistent sample size but will start bouncing again if rerun without exiting. 1:1, 1:m and m:1 appear to work fine.
>
> *
> * 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/
*
* 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/