Jump to content

Verify distribution uniformity/Naive: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 34:
lbnd := 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"
. "`n`nMargin = " delta "% --> Lbound = " lbnd ", Ubound = " ubnd "`n"
Loop, % 7
{ text := text "`nBucket " A_Index " contains " bucket%A_Index% " elements."
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.