Statistics for Simulation of optical processes