Managing Edit Checks and Database Cleaning with Stata
We 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.
When requesting a correction, please mention this item's handle: RePEc:boc:asug06:11. See general information about how to correct material in RePEc.
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.