Statalist


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

st: merging datasets and getting different N in resulting dataset if I run several times


From   Woolton Lee <[email protected]>
To   statalist <[email protected]>
Subject   st: merging datasets and getting different N in resulting dataset if I run several times
Date   Fri, 14 Aug 2009 10:28:09 -0400

Hi I am getting a problem where I am merging two datasets together and
the N in the resulting dataset can change if I rerun the program 2 or
more times.  I am merging by company code (COCODE) and year which do
not uniquely identify observations in the using dataset, but it seems
to me that that should not matter.  I get the same result if I use the
joinby command - the resulting N in the dataset changes if I rerun the
program.  I am trying to understand why this might happen and am
stumped at the moment.  Does anyone have any suggestions?

W
*
*   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