Recurrence of depression can be foreseen by monitoring mental states with statistical process control.