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.
Year of publication: |
2006-07-23
|
---|---|
Authors: | Buros, Jacqueline L. |
Institutions: | Stata User Group |
Saved in:
Saved in favorites
Similar items by person
-
Charlett, André, (2005)
-
How to face lists with fortitude
Cox, Nicholas J., (2002)
-
Stata and the One-Armed Bandit
Weiss, Martin, (2008)
- More ...