Traffic risk modelling using time-series