Our previous lesson introduced the concepts of random variables and defined the two categories, recall:
An easy way to think about it is this: outcomes for a DRV are countable and outcomes for a CRV generally arise from variables we measure.
Now that we know the difference between a DRV and CRV, we want to take a closer look at DRVs, and in particular, we want to look at the distribution of their probabilities.
For the probability distribution of a discrete random variable, each outcome is assigned a probability.
For example, let's say we toss a coin twice and we're interested in how many tails we see.
Firstly, we can define our DRV: Let $X$X be the number of tails in a two-coin toss.
We then know that $X$X can take on the values of $0$0, $1$1 or $2$2.
The probability distribution for $X$X will show us the probabilities for each of these outcomes. An easy way to do that for this example is to look at a tree diagram.
We'll now examine our tree diagram and tabulate the probabilities.
$x$x | $0$0 | $1$1 | $2$2 |
---|---|---|---|
$Pr(X=x)$Pr(X=x) | $\frac{1}{4}$14 | $\frac{2}{4}$24 | $\frac{1}{4}$14 |
What we've just created is the probability distribution for the random variable $X$X.
A probability distribution consists of all the outcomes together with the probability of each outcome. There are a few ways to represent a probability distribution for a DRV:
The following table gives an example of the same probability distribution given in three different representations:
Table | Function | Graph | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
$\text{Pr}(x)=\frac{x}{10}$Pr(x)=x10 for $x=1,2,3,4$x=1,2,3,4. |
A probability distribution for a discrete random variable must adhere to the following conditions:
A special case of discrete probability distributions is the uniform distribution, where each outcome of the experiment is equally likely.
For example, when you roll a dice once, the probabilities of rolling a $1$1, $2$2, $3$3, $4$4, $5$5 or $6$6 are all equally likely, or uniform.
The graph of this probability distribution is shown below and we can observe each column is the same uniform height.