Described is a system including an air pressure supply arrangement, a sensor and a titration device. The air pressure supply arrangement provides air pressure to a patients airways. The sensor detects input data corresponding to a patients breathing patterns of a plurality of breaths. The titration device receives and analyzes the input data to determine existence of breathing disorder and corresponding characteristics. The titration device generates output data for adjusting the air pressure supplied to the patient as a function of an index of abnormal respiratory events included in the input data.