At least 18 months of history. For best results, 24 to 36 months help uncover seasonality and more reliable behavior patterns.