Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Random Variables
Probability Distribution
Let’s see an example. We’ll start with tossing coins. I want to know how many
heads I might get if I toss two coins. Since I only toss two, the number of heads I could
get is zero, one, or two heads. So, I define X (my random variable) to be the number of
heads that I could get.
The number of heads that can come up when tossing two coins is a discrete
random variable because heads can only come up a certain number of times: 0, 1, 2.
Also, we want to know the probability associated with each value of the random.
In the table, you will notice the probabilities. We will see how to calculate the
probabilities associated with each value of the variable. However, what we see above is
called a probability distribution for the number of heads (our random variable) when you
toss two coins. A probability distribution has all the possible values of the random
variable and the associated probabilities.
When we have to use intervals for our random variable or all values in an interval
are possible, we call it a continuous random variable. Thus, continuous random variable
are random variable that are found from measuring – like the height of a group of
people or distance traveled while grocery shopping or student test scores. In this case,
x is continuous because X represent an infinite number line.
Test Scores Frequency (% of students)
0 to <20% 5
20% < 40% 20
40% < 60% 30
60% < 80% 35
80% < 100% 10
Since I know there are one hundred students in all, I could also have a column with
relative frequency or percentage of student that scored in the different intervals. We
calculated this by dividing each frequency by the total (in this case, 100). We then either
convert it to a percentage. Thus, like the coin example, the random variable (in this
case, the intervals) would have certain probabilities or percentages associated with it.
And this would be a probability distribution for the test scores.