Estimating a Physiological Lung Function Score and Biological Sex Using Pulmonary Function Tests and Machine
Patrick W Johnson1, Zachary S Quicksall1, Jieun Lee1
1Department of Quantitative Health Sciences, Mayo Clinic Hospital, 4500 San Pablo Road S, Jacksonville, FL, 32224, United States, 1 9049536728.
Background:
Sex and age have long been known to affect lung function. Several biological variables and anatomical factors may contribute to sex- and age-related differences in pulmonary metrics.
Objective:
We hypothesized that a machine learning model could be trained to predict a person's lung age and self-reported sex using pulmonary function test data.
Methods:
We retrospectively analyzed complete pulmonary function tests from 6392 healthy adults across 3 Mayo Clinic regions. Four models of increasing complexity were trained using gradient-boosted machines to predict chronological age and biological sex. Model interpretability was assessed using Shapley additive explanation values and partial dependence plots. Quantile regression was used to estimate reference percentiles for predicted lung age.
Results:
The best-performing age model (model 4, inclusive of time-series features) achieved a root mean square error of 7.01 years (95% CI 6.73-7.30) and a mean absolute error of 5.55 years (95% CI 5.32-5.80). The best-performing sex classification model (model 4) achieved an area under the curve of 0.981 (95% CI 0.975-0.988), sensitivity of 91.7% (95% CI 89.0%-93.9%), and specificity of 95.6% (95% CI 93.9%-97%). Key predictors for lung age included residual volume as a percentage of total lung capacity (TLC), forced expiratory volume in 1 second, and alveolar volume. For sex classification, peak expiratory flow, height, and age were among the most influential features. Age-stratified evaluation showed the overestimation of lung age in younger adults and underestimation in older adults. Predicted lung age increased broadly with chronological age, and quantile regression provided normative reference ranges.
Conclusions:
Applying artificial intelligence to pulmonary function data allows the prediction of a patient's sex and estimation of lung age. The ability of an artificial intelligence algorithm to determine physiological lung age, with further validation, may serve as a measure of overall respiratory health.
Related Concept Videos
Pulmonary Function Tests
Pulmonary Function Tests are crucial diagnostic tools for assessing respiratory function, particularly in patients with chronic respiratory disorders. They comprehensively evaluate lung volumes, ventilatory function, breathing mechanics, diffusion, and gas exchange. These tests help diagnose pulmonary diseases and play a significant role in monitoring disease progression, evaluating disability, and assessing response to therapy.
PFTs involve using a spirometer, a...
Lung Capacity
Statistical Methods for Analyzing Epidemiological Data
Factors Affecting Pulmonary Ventilation
Alveolar Surface Tension
The alveolar fluid lines the luminal surface of the alveoli and exerts a force called surface tension. This force is caused by the polar water molecules in the liquid being more strongly attracted to each...
