Probability· Note 04
Random Variables
August 27th
Definition
A random variable (r.v.) is a probability space in which the outcomes are possible values of a variable (denoted by a capital letter: )
number of dots on a roll of a single die
number of dots on a roll two dice
number of times die is rolled until it lands on a 3
weight of newborn baby in kg.
note that this is an interval, not distinct values
are discrete random values — countable (finite or subset of )
is a continuous r.v., the possible values form a continuous interval
The probability function of a discrete rv gives the probability of assuming each of its possible values, ie , meaning, the probability that will indeed be .
= Roll of one die
Roll two dice
A probability function can be written as a list, or a table, or when possible, by a formula.
Going back to r.v. , where is the number of rolls until we get a 3:
What is ?
[list of values, see above example]
Since all outcomes are disjoint and their union (over all possible values ) is ,
The number of flowers purchased by a customer in a certain flower store in a single purchase is a random variable , with the probability function:
Find the value of the constant .
(Do not confuse with )
Rewrite formula as table:
| 1 | |
| 2 | |
| 3 | |
| 4 | |
| 5 | 0 |
| 0 |
We know that the , that is, the sum of all values for must be one, so let’s add them up:
If is a random variable with the following probability function, find the value of :