2
$\begingroup$

Let $X_1$ and $X_2$ be independent random variables where $X_1 \sim \mathrm{Bin}(m, 1/2)$ and $ X_2 \sim \mathrm{Bin}(n,1/2)$.

  • How can we prove that $X_1 - X_2 + n \sim \mathrm{Bin}(m + n ,1/2)$?
  • Can a binomial variate be negative?
$\endgroup$
2
  • $\begingroup$ No, binomial distribution's support is non-negative natural numbers. Btw, see math.stackexchange.com/questions/1065487/… $\endgroup$
    – Tim
    Commented Jan 11, 2017 at 11:48
  • 1
    $\begingroup$ Replacing "$m$" by "$n$" would give $X_1 + (n-X_2)$. Since $n-X_2$ obviously is Binomial$(n,1-p)$ whenever $X_2$ is Binomial$(n,p)$ and the sum of independent Binomial$(,p)$ variables is Binomial$(,p)$, you would be done. $\endgroup$
    – whuber
    Commented Jan 11, 2017 at 16:07

1 Answer 1

2
$\begingroup$

(I'm assuming you have a typo and the constant in the random variable of interest should be $n$, not $m$. Otherwise the result cannot possibly hold, as already pointed out in the question.)

The moment-generating function of $T = X_1 - X_2 + n$ is equal to $$ M_T(t) = E[e^{(X_1 - X_2 + n)t}] = E[e^{X_1t}]E[e^{X_2(-t)}]e^{tn} = M_{X_1}(t)M_{X_2}(-t)e^{tn}, $$ where the second equality holds by the independence of $X_1$ and $X_2$. The moment-generating function of a $Bin(n, \theta)$-distributed random variable is $(1 - \theta + \theta e^t)^n$, see Wikipedia, and we have $$ M_T(t) = (0.5 + 0.5 e^t)^m (0.5 + 0.5 e^{-t})^n (e^t)^n = (0.5 + 0.5 e^t)^m (0.5 e^t+ 0.5)^n, $$ which further simplifies to $(0.5 + 0.5 e^t)^{m+n}$, the moment-generating function of $Bin(m + n, 1/2)$-distribution. Thus $X_1 - X_2 + n \sim Bin(m + n, 1/2)$.

In the question it was assumed that $m \neq n$ but the above did not use that in any way and as such holds also if $m = n$.

$\endgroup$
0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.