Quantitative Variable Distributions: Multi Site, Anomaly Detection, Longitudinal Analysis


Created

Last Modified

Click on the thumbnail above to preview images.

Domain

Category

Parameters

Publisher

PEDSnet

Abstract

This check provides raw data and visualizations to aid a user in evaluating whether the distribution of quantitative variables aligns with clinical expectations. It can summarize the distribution of a quantitative variable (like lab result values) or patient counts (like number of patients with an outpatient visit).

Probe

Clinical Assessment

Access Package

# install.packages("devtools") devtools::install_github('ssdqa/https://github.com/ssdqa/quantvariabledistribution')

Visualization Output

This check displays the Euclidean distance between two time series: the smoothed (Loess) summary statistic as selected by the user for a given site and the all-site statistic. Three graphs are output:

  1. A line graph displaying the smoothed summary statistuc at each site over time, with the Euclidean distance available in the tooltip when hovering over the line
  2. A line graph displaying the raw (not smoothed) summary statistic at each site over time
  3. A circular bar graph displaying the Euclidean distance from the all-site value where the fill represents the average Loess statistic over time

Raw Output

This check produces a raw data output containing 12 columns:

Column Data Type Definition
site character the name of the site being targeted OR “combined” if multiple sites were provided
time_start date the start of the time period being examined
value_type character the type of value being measured
mean_val or median_val numeric the mean or median of the value_type being measured, based on the user’s selection
allsite_var numeric the euclidean_stat of interest across all sites
date_numeric numeric the numeric equivalent of time_start
site_loess numeric the euclidean_stat value with Loess regression applied
dist_eucl_mean numeric the Euclidean distance of site_loess from allsite_var
euclidean_stat character the summary statistic selected by the user for the computation
output_function character a string indicating the type of visualization that should be generated by qvd_output

Funder(s)

This research was made possible through the generous support of Patient-Centered Outcomes Research Institute. The statements presented in this work are solely the responsibility of the author(s) and do not necessarily represent the views of PCORI, its Board of Governors, or its Methodology Committee.

Provenance

Description

Clinical Subjects Headings

Related Data Quality Result

Quantitative Variable Distribtion Study Results III: PRESERVE
Created:2025-04-08Affiliation:PEDSnet Data Coordinating Center
The results of a Quantitative Variable Distribution check using the Multi-Site, Anomaly Detection, Longitudinal parameters. This check evaluates the median value across time for blood pressure, eGFR, and urine protein.

Related Person

Related Code

Study-Specific Quality, Utility, and Breadth Assessment
Created:2025-11Affiliation:PEDSnet Data Coordinating Center
This suite of R packages allows one to investigate multiple facets of data quality and customize analyses based on your study-specific needs. Each module allows up to 8 different analyses in either the OMOP or PCORnet CDM, all aimed at taking a different view of the data while still addressing the same data quality probe.

##### [View pkgdown summary here.](https://ssdqa.github.io/squba/)

Related Data Quality Check

Related Publications

Creative Commons license

Except where otherwised noted, this item's license is described as a CC-BY Attribution 4.0 License.

Cite this Data Quality Check

PEDSnet Data Coordinating Center., Wieand, K., & Dickinson, K. (2025, July). Quantitative Variable Distributions: Multi Site, Anomaly Detection, Longitudinal Analysis. [D Q Check]. PEDSpace Knowledge Bank. https://doi.org/10.24373/pdsp-476