Computes the residuals for when X is the cumulative cases. Used internally.
residual.cases(Yhat, Y)
Yhat
The fitted regression line.
Y
The cumulative births.