One of the most challenging problems in intensive care is the process of discontinuing mechanical ventilation, called weaning process. An unnecessary delay in the discontinuation process and an early weaning trial are undesirable. This paper proposes to analysis the respiratory pattern variability of these patients using autoregressive modeling techniques: autoregressive models (AR), autoregressive moving average models (ARMA), and autoregressive models with exogenous input (ARX). A total of 153 patients on weaning trials from mechanical ventilation were analyzed: 94 patients with successful weaning (group S); 38 patients that failed to maintain spontaneous breathing (group F), and 21 patients who had successful weaning trials, but required reintubation in less than 48 h (group R). The respiratory pattern was characterized by their time series. The results show that significant differences were obtained with parameters as model order and first coefficient of AR model, and final prediction error by ARMA model. An accuracy of 86% (84% sensitivity and 86% specificity) has been obtained when using order model and first coefficient of AR model, and mean of breathing duration.