A stochatic model for estimation of time to stop enrolement for recruitment