- Thread starter noetsi
- Start date

So yeah - you should definitely code your simulations in C. That's the best choice.

[I hate to code unless it is SAS code I already know].

http://www.amazon.ca/SAS-Monte-Carlo-Studies-Quantitative/dp/1590471415

I think that you can actually conduct the simulation using marbles in a pouch.

Essentially all simulations require random number generation of some sort. We can generate any distribution by transforming uniform random variables. We can generate uniform random variables from an infinite sequence of Bernoulli(.5) random variables. In practice we can just use a finite string of bernoullis. If we have a fair coin we can use that to generate bernoulli(.5) random variables.

Therefore if you want to do a simulation all you really need to do is flip a coin for a long time. This gets rid of all of the coding which I think would make noetsi very happy.