Does 'upper' option in binocdf give p(X>x) or P(X>=x)

2 views (last 30 days)
I have a variable x following a binomial distribution X~B(N,P).
If I want to know what is the probability P(X <= x) I can use the fonction:
binocdf(x,N,P)
How can I compute (P(X >= x) ? If I use:
binocdf(x,N,P,'upper')
I have the feeling I obtain P(X > x) instead.

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!