For example, diagnostic analytics can be used to identify why sales decreased during a specific time period or why website traffic decreased after a website redesign predictive analytics can then be used to forecast future sales or customer behavior.