Protective factors for resilience in adolescence: analysis of a longitudinal dataset using the residuals approach | Synapse