This study compared two methods of estimating lung volumes for mechanical ventilation settings: predicted body weight (PBW), currently used in clinical practice, versus predicted forced vital capacity (PFVC) calculated using spirometric reference equations. We found that PBW systematically overestimates lung volumes in older, shorter, female, and non-White patients compared to younger, taller, male, and White patients, which leads to these groups receiving relatively higher tidal volumes during mechanical ventilation. This algorithmic bias was associated with increased mortality risk, suggesting that more personalized approaches to adjusting ventilators could lead to better outcomes in the ICU.
Initial Preprint: SSRN
Published Paper: The Lancet Respiratory Medicine
1 - VTFVC - Simulated data.Rmd- Generates simulated patient data and calculates PBW-based and FVC-based tidal volumes across different demographics2 - VTFVC - RICU data import.Rmd- Imports and processes data from MIMIC-IV and eICU databases3 - VTFVC - Incusion criteria.Rmd- Applies inclusion/exclusion criteria to create the final analytical cohort4 - VTFVC - Table 1.Rmd- Creates baseline characteristics table (Table 1) for the study population5 - VTFVC - Regression and sensitivity analyses.R- Performs primary regression analyses and sensitivity analyses6 - VTFVC - Regression Tables.Rmd- Formats regression results into publication-ready tables7 - VTFVC - Survival curves.R- Generates survival curves and related analyses
PBW vs FVC analyses and figures.qmd- This file includes generates figures and analysis used in the final manuscript. Notable changes from the original preprint include a direct comparison of PBW and predicted FVC (rather than VT/PBW and VT/FVC) and additional investigation of driving pressure and normalized elastance.
- R 4.0.0 or higher recommended
tidyverse- Core data science packagesdata.table- Fast data manipulationlubridate- Date/time handling
lme4,lmerTest- Mixed-effects modelssurvival,survminer- Survival analysismarginaleffects- Marginal effects calculationsbroom,broom.mixed- Tidy model outputs
ggplot2(via tidyverse) - Core plottingpatchwork- Combine plotsggpubr,ggbeeswarm- Publication-ready plotsggdag,dagitty- DAG visualization
rspiro- Spirometry calculationsfurrr- Parallel processingofficer,flextable- Document generation
- Run files 1-7 in numerical order
- Each R Markdown file can be knitted to generate outputs
- Results and figures will be saved to
results/andfigures/directories
- Ensure the preprint analysis has been completed first
- Run
PBW vs FVC analyses and figures.qmdto generate additional analyses
- Tables: Generated as Word documents and CSV files in the
results/directory - Figures: Saved as high-resolution images in the
figures/directory - Statistical Results: Regression outputs and model summaries saved as RDS files
This analysis uses data from:
- MIMIC-IV: Medical Information Mart for Intensive Care IV database
- eICU: eICU Collaborative Research Database
Both databases are available from PhysioNet and are subject to PhysioNet's data use agreements.
Sarma, et al. Evaluating the generalisability of formulas used to set tidal volumes in mechanically ventilated patients: an observational, multicohort, retrospective study. Lancet Respiratory Medicine 2025