Stratified Sampling Using a Stochastic Model