The assessment of extubation readiness remains primarily a clinical judgement. A variety of physiological indices have been studied as a means of augmenting this assessment. Examples include the rapid shallow breathing index (RSBI). In this study we analyze physiological data around successful and unsuccessful trial of extubation to ascertain whether patterning of physiological data can be used to develop models that predict extubation failure.