How to generate random data that is not normal (With a Given Distribution) ?
For instance, how to generate data for a weighted dice (also known as weighted or crooked die) with the following weights:
{ 1, 2, 2, 2, 3, 4, 4, 5, 6, 6, 6, 6 }
<math> \text{random list index} = (\text{random number between 0 and 1}) * 12 </math>
<math> 1 + 3 + 1 + 2 + 1 + 4 = 12 </math>