Investors tend to spot the signs well before economists