Predicting a noisy signal: the costs and benefits of time averaging as a noise mitigation strategy