Affective variability and childhood abuse increase the risk for nonsuicidal self-injury following psychiatric hospitalization.