The following parameters were compared at the beginning of the trial while subjects were on HI-NIV , and after 3 months on optimal target V ( T ) NIV : sleep quality by polysomnography , overnight gas exchange , subjects ' tolerance , overnight pneumotachygraphic measurements during NIV , health-related quality of life ( severe respiratory insufficiency questionnaire ) , exercise capacity ( 6-min walk test ) , and lung function .