Acknowledgements. We thank professor Jonathan Roiser (University College London, UK) and professor emeritus Ian Deary (University of Edinburgh, UK) for their input on task selection and statistical analysis. We also acknowledge all researchers who have contributed to the collection of data for the current study. Most importantly, we would like to thank all participants of Generation Scotland, and particularly those of the STRADL subcohort, for their participation in the research. Financial support. Stratifying Resilience and Depression Longitudinally is supported by the Wellcome Trust through a Strategic Award (Grant No. 104036/Z/14/Z) and through an Investigator Award (Grant No. 220857/Z/ 20/Z). The Chief Scientist Office of the Scottish Government Health Department (Grant No. CZD/16/6), Scottish Funding Council (Grant No. HR03006) and Wellcome Trust (Grant No. 216767/Z/19/Z) provided core support for Generation Scotland.Peer reviewedPublisher PD