rayge
- 25
- 0
Transformations always give me trouble, but this one does in particular.
Assume X_1, X_2 independent with binomial distributions of parameters n_1, n_2, and p=1/2 for each.
Show Y = X_1 - X_2 + n_2 has a binomial distribution with parameters n= n_1 + n_2, p = 1/2.
My first instinct was to pick a variable Z = X_2, define a joint distribution of Y and Z, and sum over all values of Z. I ran into some complex algebra when summing this joint distribution over all values of Z, 0 to n_2. If anyone knows how to sum over all values of z for (n_1 choose y+z-n_2)*(n_2 chooze z) so as to get (n_1 + n_2 choose y), I would love to hear how, but I'm pretty sure this is a no-go.
My next thought was to still choose Z = X_2, but this time get the mgf of Y and Z. This boils down to (1/2 + exp(t_1)/2)^{n_1}(1/2 + exp(t_2)/2)^{n_2}. When I set t = t_1 + t_2, I get an mgf which fits what we're looking for, i.e. the binomial distribution with parameters n_1, n_2, and p=1/2. But I don't know if that is valid algebra, as a means of obtaining an mgf for a univariate distribution from an mgf for a bivariate distribution.
Any thoughts welcome!
Assume X_1, X_2 independent with binomial distributions of parameters n_1, n_2, and p=1/2 for each.
Show Y = X_1 - X_2 + n_2 has a binomial distribution with parameters n= n_1 + n_2, p = 1/2.
My first instinct was to pick a variable Z = X_2, define a joint distribution of Y and Z, and sum over all values of Z. I ran into some complex algebra when summing this joint distribution over all values of Z, 0 to n_2. If anyone knows how to sum over all values of z for (n_1 choose y+z-n_2)*(n_2 chooze z) so as to get (n_1 + n_2 choose y), I would love to hear how, but I'm pretty sure this is a no-go.
My next thought was to still choose Z = X_2, but this time get the mgf of Y and Z. This boils down to (1/2 + exp(t_1)/2)^{n_1}(1/2 + exp(t_2)/2)^{n_2}. When I set t = t_1 + t_2, I get an mgf which fits what we're looking for, i.e. the binomial distribution with parameters n_1, n_2, and p=1/2. But I don't know if that is valid algebra, as a means of obtaining an mgf for a univariate distribution from an mgf for a bivariate distribution.
Any thoughts welcome!