Probability mass function: Difference between revisions

Content deleted Content added
Casper2k3 (talk | contribs)
m Reverted 1 edit by 129.29.227.4 identified as vandalism to last revision by Oleg Alexandrov. using TW
copy picture from binomial distribution.
Line 3:
 
==Mathematical description==
[[Image:Binomial distribution pmf.png|right|thumb|325px|Probability mass function for the [[binomial distribution]] for various parameters. The lines connecting the dots are added for clarity.]]
 
Suppose that ''X'' is a discrete random variable, taking values on some [[countable]] [[sample space]] &nbsp;''S'' &sube; '''R'''. Then the probability mass function &nbsp;''f''<sub>''X''</sub>(''x'')&nbsp; for ''X'' is given by
:<math>f_X(x) = \begin{cases} \Pr(X = x), &x\in S,\\0, &x\in \mathbb{R}\backslash S.\end{cases}</math>