Verify distribution uniformity/Naive: Difference between revisions

Content added Content deleted
No edit summary
No edit summary
Line 34: Line 34:
lbnd := round((repetitions/7)*(100-delta)/100)
lbnd := round((repetitions/7)*(100-delta)/100)
ubnd := round((repetitions/7)*(100+delta)/100)
ubnd := round((repetitions/7)*(100+delta)/100)
text := "Distribution check:`n`nTotal elements = " repetitions "`n`nMargin = " delta "% --> Lbound = " lbnd ", Ubound = " ubnd "`n"
text := "Distribution check:`n`nTotal elements = " repetitions
. "`n`nMargin = " delta "% --> Lbound = " lbnd ", Ubound = " ubnd "`n"
Loop, % 7
Loop, % 7
{ text := text "`nBucket " A_Index " contains " bucket%A_Index% " elements."
{ text := text "`nBucket " A_Index " contains " bucket%A_Index% " elements."