Binomial distribution comparison
May 25, 2006 3:54 PM
Subscribe
Probability of one binomially-distributed variable being greater than another one - is there a closed form for this?
Specifically, the problem is this. (No, this isn't for homework)
I've got two random variables, X and Y, both drawn from binomial distributions. p is the same for each, but n differs; essentially, both X and Y are the number of heads that come up in a single instance of n coin flips if the coins are weighted such that there's a p probability of heads. X and Y are independent, and n can differ from one to the other (so call the two Ns n_x and n_y).
Is there a way to get a closed form in terms of p, n_x, and n_y for Pr[X≥Y]? I've been banging my head against this for hours and I thought I'd gotten somewhere but belatedly realized I'd made a mistake. I'm hoping some MeFi combanitorics whiz can help me out here.
posted by wanderingmind to science & nature (11 comments total)
4 users marked this as a favorite
\sum_{y=0}^{n_y} P(X \ge Y | Y = y) P(Y = y)
Both of the probability terms in this expression can be computed in closed form. It looks like you'd get a double summation for a result, not sure if that can be simplified...
I'll be back later if no one has addressed this in more detail.
posted by Galvatron at 4:48 PM on May 25, 2006