From the arrival and disposition times of cases (a disposition missing
or after the horizon: still pending), the time-average backlog equals
the filing rate times the mean time to disposition when every case has
been disposed (Little 1961): resid is that identity's residual, 0 up
to rounding. The backlog counts each pending case to the horizon; the
mean time is over the disposed cases, which understates the truth when
cases are pending (see losbnd()). Given a target backlog, need is
the mean time to disposition that holds it at the present filing rate.
See proof("bklog").
Value
An object of class bklog, a list: est, a named vector
(cases, pending, rate the filing rate, wait the mean time to
disposition, backlog, occup the case-time, resid); horizon;
and need (with target).
References
Little, J. D. C. (1961). A proof for the queuing formula: L = lambda W. Operations Research, 9(3), 383-387. doi:10.1287/opre.9.3.383