Validity Checks

Ensure (x) 0 for all x by plotting it.

In[9]:=

Histogram[pmf[x, n, p], {x, 0, n}, PlotRange→Automatic] ;

Ensure p(x) sums to exactly 1 over the random variable's support.

In[52]:=

Underoverscript[∑, i = lowsupport, arg3] pmf[i, n, p]

Out[52]=

1.


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