Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at statalist.org.
From | "Joseph Coveney" <jcoveney@bigplanet.com> |
To | <statalist@hsphsun2.harvard.edu> |
Subject | st: Re Re: How to merge datasets when there are missing values in the matching variables |
Date | Sun, 22 Jan 2012 15:32:35 +0900 |
> I'd strive to make the concatenated ID variable of uniform length, by padding > the integers with zeros, -string(ID1, "%05.0f")- for example. -------------------------------------------------------------------------------- Make that -string(ID1, "%-05.0f")-, or even -string(ID1, "%-5.0f")-. Joseph Coveney * * 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/