Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | Nina YIN <yinnina.ccer@gmail.com> |
To | statalist@hsphsun2.harvard.edu |
Subject | st: how to find out observations that id variables can't uniquely identify? |
Date | Wed, 19 Oct 2011 16:58:17 +0200 |
Dear all, I want to merge two large datasets, before I merge them, I checked whether id variables(applno productno) uniquely identify observations: "by applno productno:assert _N==1", it turns out "4 contradictions in 26586 by-groups ", then I want to figure out what's the problem with these 4 contradictions. However I don't know how to find out where they are? Do you have any suggestions? Thanks a lot! -- Best Regards, Nina YIN Toulouse School of Economics Manufacture des Tabacs 21 Allee de Brienne Toulouse, 31000, France Tel: 0033-(0)5 6123 8348 * * 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/