Longitudinal analysis of suicide mortality prediction in 31 countries