>> So why follow the link when I can explain it here?
Uh, because I didn't grok it, quite frankly! And besides, you've explained it much more clearly. Thanks.
Still, I'm going to focus on the uniform distribution calculation until I have that worked out first. But I will be sure to move on to the chi-squared test, eventually.