Quantitative Variable Distributions: Single Site, Anomaly Detection, Cross-Sectional Analysis
Created
Last Modified
Click on the thumbnail above to preview images.
Files
1 Download↓
Tags
Publisher
PEDSnet
Data Requirements
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).
How to Access This Check
- You may access the module’s R package in GitHub.
Or, run in R
install_github('ssdqa/https://github.com/ssdqa/quantvariabledistribution')
- Using the provided vignettes on GitHub or help in R, follow parameter input instructions for “Single Site”, “Anomaly Detection”, “Cross-Sectional” requirements.
Check Output
Visualization Output
This check outputs a bar graph visualizing the proportion of values that are considered outliers based on the number of standard devations they fall from the mean. The outliers are stratified by upper and lower outlier types so the user can differentiate between outliers above and below the mean.
Raw Output
This check produces a raw data output containing 8 columns:
Column | Data Type | Definition |
---|---|---|
site |
character | the name of the site being targeted OR “combined” if multiple sites were provided |
value_type |
character | the type of value being measured |
outlier_type |
character | a string indicating whether the outlier is in the upper (positive) or lower (negative) direction |
total_vals |
numeric | the total number of values |
sd_threshold |
numeric | the number of standard deviations a value should fall in either direction of the mean to be considered an outlier |
n_outlier |
numeric | the number of outlying values |
prop_outlier |
numeric | the proportion of outlying values |
output_function |
character | a string indicating the type of visualization that should be generated by qvd_output |
Affiliation(s)
Funder(s)
This research was made possible through the generous support of the Patient-Centered Outcomes Research Institute .
Provenance
Description
Development Code
Clinical Subjects Headings
Related Publications
Creative Commons license
Except where otherwised noted, this item's license is described as a CC-BY 4.0 Attribution license.