Cargando…
Evaluating the impact of covariate lookback times on performance of patient-level prediction models
BACKGROUND: The goal of our study is to examine the impact of the lookback length when engineering features to use in developing predictive models using observational healthcare data. Using a longer lookback for feature engineering gives more insight about patients but increases the issue of left-ce...
Autores principales: | , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
BioMed Central
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8403343/ https://www.ncbi.nlm.nih.gov/pubmed/34454423 http://dx.doi.org/10.1186/s12874-021-01370-2 |
_version_ | 1783745980843163648 |
---|---|
author | Hardin, Jill Reps, Jenna M. |
author_facet | Hardin, Jill Reps, Jenna M. |
author_sort | Hardin, Jill |
collection | PubMed |
description | BACKGROUND: The goal of our study is to examine the impact of the lookback length when engineering features to use in developing predictive models using observational healthcare data. Using a longer lookback for feature engineering gives more insight about patients but increases the issue of left-censoring. METHODS: We used five US observational databases to develop patient-level prediction models. A target cohort of subjects with hypertensive drug exposures and outcome cohorts of subjects with acute (stroke and gastrointestinal bleeding) and chronic outcomes (diabetes and chronic kidney disease) were developed. Candidate predictors that exist on or prior to the target index date were derived within the following lookback periods: 14, 30, 90, 180, 365, 730, and all days prior to index were evaluated. We predicted the risk of outcomes occurring 1 day until 365 days after index. Ten lasso logistic models for each lookback period were generated to create a distribution of area under the curve (AUC) metrics to evaluate the discriminative performance of the models. Calibration intercept and slope were also calculated. Impact on external validation performance was investigated across five databases. RESULTS: The maximum differences in AUCs for the models developed using different lookback periods within a database was < 0.04 for diabetes (in MDCR AUC of 0.593 with 14-day lookback vs. AUC of 0.631 with all-time lookback) and 0.012 for renal impairment (in MDCR AUC of 0.675 with 30-day lookback vs. AUC of 0.687 with 365-day lookback ). For the acute outcomes, the max difference in AUC across lookbacks within a database was 0.015 (in MDCD AUC of 0.767 with 14-day lookback vs. AUC 0.782 with 365-day lookback) for stroke and < 0.03 for gastrointestinal bleeding (in CCAE AUC of 0.631 with 14-day lookback vs. AUC of 0.660 with 730-day lookback). CONCLUSIONS: In general the choice of covariate lookback had only a small impact on discrimination and calibration, with a short lookback (< 180 days) occasionally decreasing discrimination. Based on the results, if training a logistic regression model for prediction then using covariates with a 365 day lookback appear to be a good tradeoff between performance and interpretation. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s12874-021-01370-2. |
format | Online Article Text |
id | pubmed-8403343 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | BioMed Central |
record_format | MEDLINE/PubMed |
spelling | pubmed-84033432021-08-30 Evaluating the impact of covariate lookback times on performance of patient-level prediction models Hardin, Jill Reps, Jenna M. BMC Med Res Methodol Research BACKGROUND: The goal of our study is to examine the impact of the lookback length when engineering features to use in developing predictive models using observational healthcare data. Using a longer lookback for feature engineering gives more insight about patients but increases the issue of left-censoring. METHODS: We used five US observational databases to develop patient-level prediction models. A target cohort of subjects with hypertensive drug exposures and outcome cohorts of subjects with acute (stroke and gastrointestinal bleeding) and chronic outcomes (diabetes and chronic kidney disease) were developed. Candidate predictors that exist on or prior to the target index date were derived within the following lookback periods: 14, 30, 90, 180, 365, 730, and all days prior to index were evaluated. We predicted the risk of outcomes occurring 1 day until 365 days after index. Ten lasso logistic models for each lookback period were generated to create a distribution of area under the curve (AUC) metrics to evaluate the discriminative performance of the models. Calibration intercept and slope were also calculated. Impact on external validation performance was investigated across five databases. RESULTS: The maximum differences in AUCs for the models developed using different lookback periods within a database was < 0.04 for diabetes (in MDCR AUC of 0.593 with 14-day lookback vs. AUC of 0.631 with all-time lookback) and 0.012 for renal impairment (in MDCR AUC of 0.675 with 30-day lookback vs. AUC of 0.687 with 365-day lookback ). For the acute outcomes, the max difference in AUC across lookbacks within a database was 0.015 (in MDCD AUC of 0.767 with 14-day lookback vs. AUC 0.782 with 365-day lookback) for stroke and < 0.03 for gastrointestinal bleeding (in CCAE AUC of 0.631 with 14-day lookback vs. AUC of 0.660 with 730-day lookback). CONCLUSIONS: In general the choice of covariate lookback had only a small impact on discrimination and calibration, with a short lookback (< 180 days) occasionally decreasing discrimination. Based on the results, if training a logistic regression model for prediction then using covariates with a 365 day lookback appear to be a good tradeoff between performance and interpretation. SUPPLEMENTARY INFORMATION: The online version contains supplementary material available at 10.1186/s12874-021-01370-2. BioMed Central 2021-08-28 /pmc/articles/PMC8403343/ /pubmed/34454423 http://dx.doi.org/10.1186/s12874-021-01370-2 Text en © The Author(s) 2021 https://creativecommons.org/licenses/by/4.0/Open AccessThis article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article's Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article's Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/ (https://creativecommons.org/licenses/by/4.0/) . The Creative Commons Public Domain Dedication waiver (http://creativecommons.org/publicdomain/zero/1.0/ (https://creativecommons.org/publicdomain/zero/1.0/) ) applies to the data made available in this article, unless otherwise stated in a credit line to the data. |
spellingShingle | Research Hardin, Jill Reps, Jenna M. Evaluating the impact of covariate lookback times on performance of patient-level prediction models |
title | Evaluating the impact of covariate lookback times on performance of patient-level prediction models |
title_full | Evaluating the impact of covariate lookback times on performance of patient-level prediction models |
title_fullStr | Evaluating the impact of covariate lookback times on performance of patient-level prediction models |
title_full_unstemmed | Evaluating the impact of covariate lookback times on performance of patient-level prediction models |
title_short | Evaluating the impact of covariate lookback times on performance of patient-level prediction models |
title_sort | evaluating the impact of covariate lookback times on performance of patient-level prediction models |
topic | Research |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8403343/ https://www.ncbi.nlm.nih.gov/pubmed/34454423 http://dx.doi.org/10.1186/s12874-021-01370-2 |
work_keys_str_mv | AT hardinjill evaluatingtheimpactofcovariatelookbacktimesonperformanceofpatientlevelpredictionmodels AT repsjennam evaluatingtheimpactofcovariatelookbacktimesonperformanceofpatientlevelpredictionmodels |