Verify distribution uniformity/Naive: Difference between revisions
Content added Content deleted
(→{{header|Elixir}}: change Dict(deprecated) -> Map) |
m (added whitespace before the TOC (table of contents), added a ;Task: (bold) header.) |
||
Line 1: | Line 1: | ||
{{task|Probability and statistics}} |
{{task|Probability and statistics}} |
||
<small>This task is an adjunct to [[Seven-sided dice from five-sided dice]].</small> |
<small>This task is an adjunct to [[Seven-sided dice from five-sided dice]].</small> |
||
;Ttask: |
|||
Create a function to check that the random integers returned from a small-integer generator function have uniform distribution. |
Create a function to check that the random integers returned from a small-integer generator function have uniform distribution. |
||
The function should take as arguments: |
The function should take as arguments: |
||
Line 17: | Line 21: | ||
See also: |
See also: |
||
*[[Verify distribution uniformity/Chi-squared test]] |
*[[Verify distribution uniformity/Chi-squared test]] |
||
<br><br> |
|||
=={{header|Ada}}== |
=={{header|Ada}}== |