This repository contains the code for the analyses in "The Search for Optimal Oxygen Saturation Targets in Critically Ill Patients: Observational Data from Large ICU Databases" (https://doi.org/10.1016/j.chest.2019.09.015).