Managing Edit Checks and Database Cleaning with Stata
AbstractWe have developed a set of ado-files for use in data management, specifically designed to manage user-written edit checks and to complement the process of data cleaning. Collectively, these tools enable us to identify, distribute, and track edit-checks in several large multi-center clinical trials using Stata software. Our approach is successful because the coding is simple and the entire process is visible and familiar to most users. It does not depend on any particular database structure. The framework approximates an object-oriented environment, with the objects being (a) the database, open at the time a command is called, (b) an edit-check, consisting of a Stata do-file, a query message and a list of variables to be identified for review, and (c) the edit-check history, implemented as a Stata dataset. These objects can be manipulated directly or by using a command in Stata. Actions managed by command include creating or modifying an edit-check, generating a query-clean dataset, preparing and tracking a set of edit-check documents, and summarizing the edit-check history. Here, we present a brief overview of our process and describe the use of the commands in the context of clinical research.
Download InfoIf you experience problems downloading a file, check if you have the proper application to view it first. In case of further problems read the IDEAS help page. Note that these files are not on the IDEAS site. Please be patient as the files may be large.
Bibliographic InfoPaper provided by Stata Users Group in its series North American Stata Users' Group Meetings 2006 with number 11.
Date of creation: 23 Jul 2006
Date of revision:
This paper has been announced in the following NEP Reports:
You can help add them by filling out this form.
For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: (Christopher F Baum).
If references are entirely missing, you can add them using this form.