How would I find the cumulative distribution function of a binomial? I know I'd have to integrate it with its given parameters but how would someone go about doing that?

  • 1
    $\begingroup$ You don't have to integrate since this is a discrete distribution. Check this: en.wikipedia.org/wiki/… $\endgroup$ – jay-sun Nov 6 '12 at 23:20

Binomial distribution is discrete, so you can't integrate it, but rather sum. This is what you should look into. If $X \sim Binomial(n,p)$, then CDF of $X$ is $$ P(X\leq m)=\sum_{k=0}^{m}\binom{n}{k}p^{k}(1-p)^{n-k} $$ This expression does not exist in closed form, since partial sum of rows of Pascal triangle do not exist in closed form. Depending on what exactly you need you can find various approximations to this sum, e.g. using Central Limit Theorem for large $n$, since Binomial RV is a sum of Bernoulli RVs.

EDIT: OK, as the OP specified the parameters are $n=3,p=\frac{1}{2}$, so the CDF is just $$ P(X \leq m)=\sum_{k=0}^{m}\binom{3}{k}\frac{1}{2^{k}}\bigg(1-\frac{1}{2}\bigg)^{3-k}=\frac{1}{8}\sum_{k=0}^{m}\binom{3}{k} $$

  • $\begingroup$ Well I'm looking for the CDF with parameters (3,$\frac12$), so I guess I'm still a little confused on how you would do this. $\endgroup$ – TheHopefulActuary Nov 6 '12 at 23:30
  • $\begingroup$ Sorry that last comment was a fail but that was what I was going to put. Thanks! $\endgroup$ – TheHopefulActuary Nov 6 '12 at 23:38
  • $\begingroup$ The question is, do you know what exactly you need, since closed-form solution does not exist in this unless you know $m$, then you can easily sum up over $k$ for such small values $\endgroup$ – Alex Nov 6 '12 at 23:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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