I am studying Type I and Type II errors and basic concepts of testing hypotheses. To better develop my intuition I would like to write a few simple simulations.
What I'm hoping is to get a base simulation going, that I can then tweak to understand this area.
I am not looking for code in a specific language. However, pseudo code would be great, or references to a well documented example.