Poker test: Generate four digits at a time, and repeat 1000 time (a thousand sets of 4 digits). Tabulate the sets as: i) all the same (e.g. 4444), ii) 3 digits the same (e.g. 4443, 3444 or 4344), iii) two pairs (e.g. 4334, 4433), iv) one pair (e.g. 4324 or4342), or v) none identical. In theory we would expect frequencies of 1, 36, 27, 432 & 504 respectively for a thousand sets of numbers (i.e. 4000 digits). You will not necessarily get those exact numbers.
Aucun commentaire:
Enregistrer un commentaire