Background

The Binomial distribution models a situation where:
1. There a fixed number of trials (denoted by n)
2. Each trial results in either success or failure
3. Each trial is independent of all other trials
4. Each trial has the same probability of success, denoted by p
and we are counting the number of successes as the random variable.

In[46]:=

Begin["BinomialProperties`"] ;

In[47]:=

lowsupport = 0

highsupport = n

p = 0.6

n = 12

pmf[x_, n_, p_] := n !/(x ! (n - x) !) p^x (1 - p)^(n - x)

Out[47]=

0

Out[48]=

12

Out[49]=

0.6

Out[50]=

12


Created by Mathematica  (July 20, 2006) Valid XHTML 1.1!