Stochastic model of years 1-5  contained in a function