The analysis of complex socioeconomic systems