Statalist


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

AW: st: re: merging datasets and getting different N in resulting dataset if I


From   "Martin Weiss" <[email protected]>
To   <[email protected]>
Subject   AW: st: re: merging datasets and getting different N in resulting dataset if I
Date   Fri, 14 Aug 2009 17:36:50 +0200

<> 


Stata 11 is now the default version for the list, as you can see from the
FAQs. The -merge- command has been remodelled and now supports a -merge m:m-
which the help file describes as: "Many-to-many merge on specified key
variables"...



HTH
Martin


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Woolton Lee
Gesendet: Freitag, 14. August 2009 17:29
An: [email protected]
Betreff: Re: st: re: merging datasets and getting different N in resulting
dataset if I

not sure what you mean by N:N merges.

Woolton

On Fri, Aug 14, 2009 at 10:48 AM, Kit Baum<[email protected]> wrote:
> <>
> This is a FAQ. Avoid N:N merges, for one thing; their results are
> unpredictable. When you sort the datasets (as you must prior to Stata 11)
by
> the merge keys, use the stable option on the sort command.
>
> Kit
>
> Kit Baum   |   Boston College Economics & DIW Berlin   |
> http://ideas.repec.org/e/pba1.html
>                              An Introduction to Stata Programming  |
> http://www.stata-press.com/books/isp.html
>   An Introduction to Modern Econometrics Using Stata  |
> http://www.stata-press.com/books/imeus.html
>
>
>
> *
> *   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/



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