Chapter 13: Inferential Statistics and Distributions 380
of integers. 0p1 must be true. numtrials must be an integer >0. If you do not specify x, a
list of probabilities from 0 to numtrials is returned. The probability density function (pdf) is:
where n = numtrials
binompdf(numtrials,p[,x])
binomcdf(
binomcdf(binomcdf(
binomcdf(
binomcdf( computes a cumulative probability at x for the discrete binomial distribution
with the specified numtrials and probability of success (p) on each trial. x can be a real
number or a list of real numbers. 0p1 must be true. numtrials must be an integer >0. If
you do not specify x, a list of cumulative probabilities is returned.
binomcdf(numtrials,p[,x])
fx() n
x
⎝⎠
⎛⎞
px1p()
nxx, 0,1,...,n==