Using ambulatory assessment to measure dynamic risk processes in affective disorders · Study