 The sense of "randomly determined" was first recorded in 1934, from German Stochastik.In order to determine the next event in a stochastic simulation, the rates of all possible changes to the state of the model are computed, and then ordered in an array.Next, the cumulative sum of the array is taken, and the final cell contains the number R, where R is the total event rate.