Data scientists regularly incorporate many different datasets into data analyses. Yet, communication tools for organizing important information about the different datasets used and how they relate to the key variables of the analysis are lacking. Therefore, in this paper we propose a new communication tool: the variTable. The variTable is a seven-column table that consolidates, organizes, and summarizes high-level variable development information for inclusion in original research articles. Specifically, the variTable shows for the key variables in an analysis what data sources were used, how they were used, and whether they were altered for the analysis. Additionally, to make building variTables easier, we present the variTable R package. We illustrate use of the variTable structure and R package for a real-world observational study that used nine different datasets to examine the association between air pollution and asthma in children. Ultimately, we hope that the variTable can serve as a practical communication tool for sharing and understanding important information about the variable development process in data analysis.
In data analysis, unexpected results often prompt researchers to revisit their procedures to identify potential issues. While some researchers may struggle to identify the root causes, experienced researchers can often quickly diagnose problems by checking a few key assumptions. These checked assumptions, or expectations, are typically informal, difficult to trace, and rarely discussed in publications. In this paper, we introduce the term analysis validation checks to formalize and externalize these informal assumptions. We then introduce a procedure to identify a subset of checks that best predict the occurrence of unexpected outcomes, based on simulations of the original data. The checks are evaluated in terms of accuracy, determined by binary classification metrics, and independence, which measures the shared information among checks. We demonstrate this approach with a toy example using step count data and a generalized linear model example examining the effect of particulate matter air pollution on daily mortality.
Pub. online:12 Jun 2025Type:Data Science In ActionOpen Access
Journal:Journal of Data Science
Volume 24, Issue 1 (2026): Special Issue: Statistical aspects of Trustworthy Machine Learning, pp. 239–253
Abstract
A challenge that data scientists face is building an analytic product that is useful and trustworthy for a given audience. Previously, a set of principles for describing data analyses were defined that can be used to create a data analysis and to characterize the variation between analyses. Here, we introduce a concept called the alignment of a data analysis, which is between the data analyst and an audience. We define an aligned data analysis as the matching of principles between the analyst and the audience for whom the analysis is developed. In this paper, we propose a model for evaluating the alignment of a data analysis and describe some of its properties. We argue that more generally, this framework provides a language for characterizing alignment and can be used as a guide for practicing data scientists to building better data products.