Statistical models to analyse customer lifecycle