A device and method for detecting and treating airflow limitations in a
subject is provided. Levels of flow limited breathing may be
differentiated. Obstruction versus flow limited breathing may be
differentiated as well. The EMG complex characteristics may be used to
detect obstruction or flow limited breathing. The power spectral density
plot of the EMG may be used to detect obstruction or flow limited
breathing.