Stochastic comparisons of conditional residual lifetimes with applications