EconPapers    
Economics at your fingertips  
 

CF3: Stata module to compare two datasets

Thomas Steichen

Statistical Software Components from Boston College Department of Economics

Abstract: cf3 matches observations by a record id variable and lists the observations where differences exist. It compares variables of the dataset in memory (the 'master' data) to the corresponding variables in a file (the 'using' data). Only the variable values are compared. cf3 differs from cf in that: 1) the id() option, which names the common record id variable in each file, is required; 2) verbose is presumed but option noverbose will suppress some output; and 3) it will not stop if there is a differing number of observations in the two files. Generally, the id variable values should be unique within each file. If the id values are not unique then proper matching may not occur; cf3 will warn the user but will continue. Incorrectly-matched observations, where the variables being compared also differ, and unmatched observations will be reported as differences.

Language: Stata
Requires: Stata version 6.0
Keywords: file comparison; matching ids; variable values (search for similar items in EconPapers)
Date: 2001-04-06
Note: This module may be installed from within Stata by typing "ssc install cf3". The module is made available under terms of the GPL v3 (https://www.gnu.org/licenses/gpl-3.0.txt). Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations:

Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/c/cf3.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/c/cf3.hlp help file (text/plain)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s417901

Ordering information: This software item can be ordered from
http://repec.org/docs/ssc.php

Access Statistics for this software item

More software in Statistical Software Components from Boston College Department of Economics Boston College, 140 Commonwealth Avenue, Chestnut Hill MA 02467 USA. Contact information at EDIRC.
Bibliographic data for series maintained by Christopher F Baum ().

 
Page updated 2025-03-30
Handle: RePEc:boc:bocode:s417901