Bookmark and Share

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]

st: New command on SSC: -vmerge- (verbose merge)


From   Joe Canner <[email protected]>
To   "[email protected]" <[email protected]>
Subject   st: New command on SSC: -vmerge- (verbose merge)
Date   Fri, 25 Oct 2013 14:29:20 +0000

Based on a post from a week ago, I created a program called -vmerge- (verbose merge), which, thanks to Kit Baum, is now on SSC (-ssc install vmerge-).  Thanks also to Nicole Boyle, Sergiy Radyakin, Robert Picard, and Phil Clayton for their encouragement and suggestions.

This program is a wrapper for the Stata -merge- command that provides additional details regarding the results of the -update- and -replace- options. It provides a summary table that lists each variable in the master data set and indicates how many variables were affected by the -merge- --update- and -replace- options. This summary table only reflects observations that are in the master data set (_merge==1, 3, 4, and 5). This command sends the -merge- specification and options to the Stata -merge- command without modification, without comment, and without any assessment as to whether using the verbose merge makes sense. This command temporarily duplicates all variables in the master data set, thus requiring additional memory equal to the size of the master data set. An option is available that eliminates the need to use this additional memory, but uses more disk space, takes longer, and results in more cryptic output.

As this is my first attempt at a publically available ado-file, any and all comments, corrections, and suggestions would be most appreciated.

Sincerely,
Joe Canner
Johns Hopkins University School of Medicine


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index