[CoLoCo] dice rolls in C

Jim Hutchinson jim at ubuntu-rocks.org
Wed Feb 13 03:18:09 GMT 2008


On Feb 12, 2008 8:04 PM, Jim Hutchinson <jim at ubuntu-rocks.org> wrote:
> Assuming I'm doing this
> right (and I may not be) this test seems rather useless.
>

OOPS. Very much not doing it right. I was dividing by the number or
trials not the expected value. Do'h. Attached is the corrected data
and it clearly shows the dice are not fair - as expected. Now I need
to do this with some real, i.e. not fudged, data.

-jim
-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: chi_data.ods
Type: application/vnd.oasis.opendocument.spreadsheet
Size: 11516 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-us-co/attachments/20080212/ee8cb672/attachment.ods 


More information about the Ubuntu-us-co mailing list