Analysis, modelling and prediction of deterministic and stochastic complex systems