Socio-economic analysis of floods