Bill's game, from an earlier thread:
"Let's say n players are playing against a single dealer and all players wager a dollar. The players and dealer are a dealt a number in (0,1) randomly. The wagers are resolved depending on whether the players beat the dealer... Joint density? "
Regarding the joint distribution, I earlier observed that the number of winners k follows a binomial distribution binom(n,p,k), exceept you first have to choose p uniformly. So to get the joint dist'n, you have to integrate it:
P(k winners) = integral_0^1 [ (n choose k) p^k (1-p)^(n-k) ] dp
(where the part in square brackets is the binom).
What I just happened across (for unrelated reasons) is that this integral (except the n-choose-k part) is a special case of the Beta function. The cleanest description I've found is:
http://en.wikipedia.org/wiki/Beta_function
Now here's the interesting part: that wiki page relates the beta function evaluated in our special case to the combinations formula (see the last of Properties)! You can plug this into the above integral to show:
P(k winners) = 1/(n+1)
This is one of those things which I wouldn't necessarily guess to begin with, but seems so obvious after the fact: When p is drawn uniformly, all values of k are equally likely.
This leads to an easy way to compute the likelihood of any particular configuration of outcomes, by conditioning on k.
Lefty

