The sCCA model linking 53 urban environmental categories to 21 psychiatric symptoms identified three significant canonical correlates in the training datasets (red dot), including affective symptom (r = 0.20, P perm < 0.001), anxiety symptom (r = 0.11, P perm < 0.001) and emotional instability symptom (r = 0.05, P perm < 0.001) groups. These results remained significant in the test datasets of affective (r = 0.22, P perm < 0.001, P FDR < 0.001), anxiety (r = 0.10, P perm < 0.001, P FDR < 0.001) and emotional instability (r = 0.03, P perm < 0.001, P FDR < 0.001) (orange square) symptom groups. P values were estimated using one-sided P perm with FDR correction for multiple comparisons (P FDR ).