Re: Baseball



On Apr 11, 8:11 am, Phil Carmody <thefatphil_demun...@xxxxxxxxxxx>
wrote:
"mensana...@xxxxxxxxxxx" <mensana...@xxxxxxx> writes:
On Apr 10, 5:07 pm, Phil Carmody <thefatphil_demun...@xxxxxxxxxxx>
wrote:
B) Get a better random number generator, yours has failed the chi-squared test.

Nothing wrong with the random number generator,
it's what happens over 100 seasons with integer arithmetic.
The differences are past the decimal point, so everyone
is tied, like I said.

I hope you made sure your probabilities were all integers too,
just to be consistent.

Python:

import random

outcome = random.randint(0,1) # reurns integer 0 or 1


Phil
--
"Home taping is killing big business profits. We left this side blank
so you can help." -- Dead Kennedys, written upon the B-side of tapes of
/In God We Trust, Inc./.


.



Relevant Pages