<< dbeta Probability Distribution Functions dchisq >>

Stixbox >> Stixbox > Probability Distribution Functions > dbinom

dbinom

The binomial probability function

Calling Sequence

P = dbinom(k,n,p)

Parameters

k

nonnegative integer

n

nonnegative integer such that k<=n

p

probability number (k,n,p can be real or matrix, the size of matrix must be the same)

P

prob(X=k) where X is a binomial variable B(n,p)

Description

The binomial probability function.

Examples

n=60;plot2d2(0:n,dbinom(0:n,n,0.5))
<< dbeta Probability Distribution Functions dchisq >>