Quantitative Variable Distributions: Multi Site, Anomaly Detection, Longitudinal Analysis
| dc.contributor | Patient-Centered Outcomes Research Institute |
| dc.contributor.author | PEDSnet Data Coordinating Center |
| dc.contributor.author | Wieand, Kaleigh |
| dc.contributor.author | Dickinson, Kimberley |
| dc.contributor.other | PEDSnet Data Coordinating Center |
| dc.date.accessioned | 2025-08-05T18:11:36Z |
| dc.date.created | 2025-07-30 |
| dc.description.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). |
| dc.identifier.uri | https://hdl.handle.net/20.500.14642/1172 |
| dc.identifier.uri | https://doi.org/10.24373/pdsp-476 |
| dc.publisher | PEDSnet |
| dc.relation.uri | https://github.com/ssdqa/quantvariabledistribution |
| dc.rights | a CC-BY Attribution 4.0 License. |
| dc.rights.uri | http://creativecommons.org/licenses/by/4.0 |
| dc.subject | Event-Level Analysis |
| dc.subject | Multi-Site Analysis |
| dc.subject | Data Anomaly Method |
| dc.subject | Longitudinal Analysis |
| dc.title | Quantitative Variable Distributions: Multi Site, Anomaly Detection, Longitudinal Analysis |
| dspace.entity.type | DQCheck |
| local.code.package | # install.packages("devtools") devtools::install_github('ssdqa/https://github.com/ssdqa/quantvariabledistribution') |
| local.description.raw | This check produces a raw data output containing 12 columns: <br> |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| {.dqcheck-table} |
| local.description.viz | 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 |
| local.dqcheck.category | Plausibility |
| local.dqcheck.clinicalprobe | Clinical Data Distributions |
| local.dqcheck.clinicalprobe | Clinical Consistency |
| local.dqcheck.probe | Selection Error or Bias Detection |
| local.dqcheck.probe | Information Density |
| local.dqcheck.requirement | cohort |
| local.dqcheck.requirement | qvd_value_file |
| local.dqcheck.requirement | omop_or_pcornet |
| local.dqcheck.requirement | multi_or_single_site |
| local.dqcheck.requirement | anomaly_or_exploratory |
| local.dqcheck.requirement | age_groups |
| local.dqcheck.requirement | time |
| local.dqcheck.requirement | euclidean_stat |
| local.dqcheck.type | Variable Testing |
| local.dqcheck.viz | Line Graph |
| local.dqcheck.viz | Radial Bar Graph |
| relation.isCodeOfDQCheck | 929c8dfc-2c8b-4e62-8e1d-0fa06c542832 |
| relation.isCodeOfDQCheck.latestForDiscovery | 929c8dfc-2c8b-4e62-8e1d-0fa06c542832 |
| relation.isDQResultOfDQCheck | ded286a9-4ed4-4ad8-9238-dc3b6046df59 |
| relation.isDQResultOfDQCheck.latestForDiscovery | ded286a9-4ed4-4ad8-9238-dc3b6046df59 |
