stochastic models and applications