Let's say that I want to calculate the probability of achieving more than 8 heads in 10 coin tosses. The easiest and most accurate way will be to simply use the binomial distribution and sum the probability of getting 9 an 10 heads.
However, it is also possible to simulate numerous coin tosses and then see which proportion of those answers our question. In which general scenario (doesn't have to be restricted to coin tosses) would this method of simulation be better than using the binomial and why?
Some advantages of simulation:
you can use it when you don't know how to do the exact calculation
you can use it to check you got the exact calculation correct
you can generalize the situation and examine sensitivity of the exact solution to changes in the circumstances (what if there's heterogeneity or dependence, for example?); often the simple situation can be done exactly but the more general cases may be somewhat trickier.
- Solved – How to combine two beta-binomial distributions
- Solved – How to evaluate a statistical test for fairness of a coin
- Solved – Using Bayes Theorem to calculate the probability of a coin being biased given a specific test outcome
- Solved – Why is p for 8 times heads out of 21 flips not 8/21
- Solved – MULTIPLE TESTING: Probability of specific outcomes from MULTIPLE experiments using randomized data