

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!


We would like to say that a random variable X is a “numerical outcome of a complicated experiment.” This is not sufficient. For example, suppose you sample 1,500 people at random and find that their average age is 25. Is X = 25 a “random variable”? Surely there is nothing random about the number 25!
What is random? The procedure that led to 25. This procedure, for a second sample, is likely to lead to a different number. Procedures are functions, and thence
Definition 8.1. A random variable is a function X from Ω to some set D which is usually [for us] a subset of the real line R , or d-dimensional space R d^.
In order to understand this, let us construct a random variable that models the number of dots in a roll of a fair six-sided die.
Define the sample space, Ω = {1, 2, 3, 4, 5, 6}.
We assume that all outcome are equally likely [fair die].
Define X(ω) = ω for all ω ∈ Ω, and note that for all k = 1,... , 6,
P ({ω ∈ Ω : X(ω) = k}) = P({k}) =
This probability is zero for other values of k. Usually, we write {X ∈ A} in place of the set {ω ∈ Ω : X(ω) ∈ A}. In this notation, we have
P{X = k} =
1 6 if^ k^ =^ 1,... , 6, 0 otherwise.
This is a math model for the result of a coin toss.
Suppose X is a random variable, defined on some probability space Ω. By the distribution of X we mean the collection of probabilities P{X ∈ A}, as A ranges over all sets in F.
If X takes values in a finite, or countably-infinite set, then we say that X is a discrete random variable. Its distribution is called a discrete distribution. The function f(x) = P{X = x}
is then called the mass function of X. Note that f(x) = 0 for all but a countable number of values of x. The values x for which f(x) > 0 are called the possible values of X.
Some important properties of mass functions:
x f(x) =^ 1.^ Proof:^
x f(x) =^
x P{X^ =^ x}, and this is equal to P(∪x {X = x}) = P(Ω), since the union is a countable disjoint union.
Suppose we perform n independent trials; each trial leads to a “success” or a “failure”; and the probability of success per trial is the same number p ∈ (0 , 1).
Let X denote the total number of successes in this experiment. This is a discrete random variable with possible values 0,... , n. We say then that X is a binomial random variable [“X = Bin(n , p)”].
Math modelling questions:
Now suppose x is an integer between zero and n. Note that f(x) = P{X = x} is the probability of getting exactly x successes and n − x failures. Let Si denote the event that the ith trial leads to a success. Then,
f(x) = P
S 1 ∩ · · · ∩ Sx ∩ Scx+ 1 ∩ · · · Scn
where we are summing over all possible ways of distributing x successes and n − x failures in n spots. By independence, each of these probabilities