In a randomized crossover trial , we tested the hypothesis that iVAPS , with automated selection of ventilator settings , was non-inferior to standard PS ventilation , with settings determined by an experienced health-care professional , for controlling nocturnal hypoventilation in patients naive to NIV .