Seven-sided dice from five-sided dice: Difference between revisions
Content added Content deleted
m (→{{header|jq}}: ce) |
|||
Line 1,258: | Line 1,258: | ||
this is higher than would be expected for a fair die. |
this is higher than would be expected for a fair die. |
||
High-entropy die results: |
|||
["DEBUG:",[9,11,9,10,15,11,5]] |
["DEBUG:",[9,11,9,10,15,11,5]] |
||
The χ2 statistic for a trial of 70 virtual tosses is 5.4. |
The χ2 statistic for a trial of 70 virtual tosses is 5.4. |
||
Line 1,264: | Line 1,264: | ||
this is consistent with the die being fair. |
this is consistent with the die being fair. |
||
</pre> |
</pre> |
||
Results for 1,000,000 trials: |
'''Results for 1,000,000 trials:''' |
||
<pre> |
<pre> |
||
Low |
Low-entropy die results: |
||
["DEBUG:",[41440,57949,15946,44821,117168,339337,383339]] |
["DEBUG:",[41440,57949,15946,44821,117168,339337,383339]] |
||
The χ2 statistic for a trial of 1000000 virtual tosses is 982157.0011039999. |
The χ2 statistic for a trial of 1000000 virtual tosses is 982157.0011039999. |
||
Line 1,272: | Line 1,272: | ||
this is higher than would be expected for a fair die. |
this is higher than would be expected for a fair die. |
||
High |
High-entropy die results: |
||
["DEBUG:",[142860,143087,142213,142065,143359,143494,142922]] |
["DEBUG:",[142860,143087,142213,142065,143359,143494,142922]] |
||
The χ2 statistic for a trial of 1000000 virtual tosses is 12.298347999999999. |
The χ2 statistic for a trial of 1000000 virtual tosses is 12.298347999999999. |