ROC curves for classifying OSA/non-OSA in either NREM or REM sleep demonstrate that sex-based models improve the classification performance at both AHIths = 15 and 30 events/h. AHIths = apnea-hypopnea index threshold, AUC = area under the curve, NREM = non-rapid eye movement, OSA = obstructive sleep apnea, REM = rapid eye movement, ROC = receiver operating characteristic.