Application Of Simulation In Statistics