Latent variable model for suicide risk in relation to social capital and socio-economic status