Advanced modelling and analysis of tree-ring data