Monte Carlo simulation
A mathematical method of using random draws to perform calculations for complex problems. Using Random Number Generation to simulate the results of an outcome over and over again a vast number of times, the overall result helps you calculate the probability an outcome occurring.
The ‘replicate’ function in R allows you to stipulate how many times you wish to re-run the experiment.