Simulation for statistical distribution