The mean duration of IMV was significantly reduced in the H-NPPV group compared with the IMV group ( P < .0001 ) , without significant difference in duration of weaning ( P = .26 ) and total ventilatory support ( P = .45 ) .