Cohort Attrition: Multi-Site, Exploratory, Cross-Sectional Analysis
Created
Last Modified
Files
Domain
Category
Parameters
Publisher
Abstract
This check provides an exploratory analysis of patient eligibility criteria for a study. It summarizes each step of attrition criteria in the cohort construction for a given site.
Data Requirements
Probe
Clinical Assessment
Access Package
# install.packages(""devtools"")
devtools::install_github('ssdqa/https://github.com/ssdqa/cohortattrition')Visualization Output
This check outputs a line graph visualization with a reference table. The user inputs the attrition step at which the visualization should begin and selects a variable to facet by (num_pts, prop_retained_start, prop_retained_prior or prop_diff_prior). Each line represents a site, distinguishable by color. A thick red line represent the ‘All Site Median’. Hovering over any point along the graph displays a tooltip with the site name, the description of the attrition step, the patient count and the value of the user-selected variable (ex: prop_retained_start). The accompanying reference table describes all the attrition steps.
Raw Output
The raw data output of this check produces nine columns of data:
| Column | Data Type | Definition |
|---|---|---|
num_pts |
numeric | the number of patients associated with a given attrition step - provided in the attrition table by the user |
step_number |
numeric | an integer indicating the step associated with the attrition - provided in the attrition table by the user |
attrition_step |
character | a string describing the attrition step - provided in the attrition table by the user |
site |
character | the name of the site being targeted |
... |
any additional columns that were included in the user-provided attrition table will also appear in the output | |
prop_retained_prior |
numeric | the proportion of patients retained from the previous attrition step |
ct_diff_prior |
numeric | the difference in patient count between a given attrition step and the previous step |
prop_diff_prior |
numeric | the proportion difference between a given attrition step and the previous step |
prop_retained_start |
numeric | the proportion of patients retained from the user-defined “start” attrition step |

