DATACHECK: Stata module to perform data checks and produce informative output
Krishnan Bhaskaran ()
Additional contact information
Krishnan Bhaskaran: London School of Hygiene and Tropical Medicine, UK
Statistical Software Components from Boston College Department of Economics
datacheck is a simple utility for carrying out data checks and reporting on problems or errors in a dataset. A datacheck statement specifies a condition which one or more variables in the dataset must meet. If the data 'fail' the check, the program displays meaningful and customizable output identifying the problem observation(s). In contrast to assert, datacheck does not halt Stata or produce any errors, so a number of datacheck statements can be included in a do-file to run in sequence. This allows a suite of data checks to be performed in a single run, with the customized output serving as a user-friendly log detailing problems with the data.
Requires: Stata version 8.2
Keywords: data management; data check; consistency; consistency check; data cleaning; check; verify; assert; assertk (search for similar items in EconPapers)
Note: This module should be installed from within Stata by typing "ssc install datacheck". Windows users should not attempt to download these files with a web browser.
References: Add references at CitEc
Citations: Track citations by RSS feed
Downloads: (external link)
http://fmwww.bc.edu/repec/bocode/d/datacheck.ado program code (text/plain)
http://fmwww.bc.edu/repec/bocode/d/datacheck.hlp help file (text/plain)
http://fmwww.bc.edu/repec/bocode/d/datacheck_examples.do sample program (text/plain)
http://fmwww.bc.edu/repec/bocode/s/scores.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/d/drug.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/v/visits.dta sample data file (application/x-stata)
http://fmwww.bc.edu/repec/bocode/c/CheckingDataWithDatacheck.pdf documentation (application/pdf)
This item may be available elsewhere in EconPapers: Search for items with the same title.
Export reference: BibTeX
RIS (EndNote, ProCite, RefMan)
Persistent link: https://EconPapers.repec.org/RePEc:boc:bocode:s457246
Ordering information: This software item can be ordered from
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 ().