4. Probability Distributions: Random Variables
Random Variables
Random Variable
A random variable is a variable for which you cannot know its outcome before it is observed. The set of values it may take are however known a priori. The formal definition for a random variable is: a variable that maps each outcome in the sample space of a random experiment to a numerical value.
Random variables are usually denoted by capital letters from the end of the Roman alphabet (e.g. , ). They can have any measurement level and, when numerical, be discrete or continuous.
Range of Random Variable
The set of values which a random variable can take is called the range of the random variable and is denoted by .
Consider the random experiment of rolling two dice. Let be the sum of the upward-facing dots. In this case, can take on any value between and .
is discrete.
Let be the time until a light bulb fails after it is first illuminated.
is continuous.
Let be the number of planes waiting to land at Schiphol airport.
is discrete.
In the examples above, different types of brackets are used. These are not applied randomly, but are used to describe properties of a set.
- Braces, and , are used for discrete random variables. They contain a finite number of discrete values or symbols (which do not all have to be shown).
- Square brackets, and , and parentheses, and , are used for continuous random variables. The value following or is the lower range of the set. This value is part of the set if is used and not part of the set if is used. The same applies to the upper range. A set without an upper or lower bound is described with and respectively , describes a set with values (ranging from zero to infinity).