We assessed whether the number of previous mood episodes , age of illness onset , and illness duration predicted or moderated the likelihood of recovery and time until recovery from a depressive episode in patients in the two treatments .