Residuals

The residuals for a time series model subtract the trend from the values and are called the detrended values,

ei  =  yi − trendi

If the model under consideration fits well, there should be no pattern in the residuals — each should have the same chance of being positive or negative.