4. Random Vectors
1 The General Case: Joint cdf
Multivariate random variable: A dimensional random variable (or: random vector) is a function with domain and codomain The function is usually written for simplicity as
Remark: If we have the bivariate random variable or two dimensional random variable
Joint cumulative distribution function: Let be a bivariate random variable. The real function of two real variables with domain and defined by is the joint cumulative distribution function of the two dimensional random variable
Example 1.1 Random Experiment: Roll two different dice (one red and one green) and write down the number of dots on the upper face of each die.
Random vector: , where is the of dots the die, with green or red.
Some probabilities:
Example 1.2 Random experiment: Two different and fair coins are tossed once.
Random vector: , where represents the number of heads obtained with coin , with .
Some probabilities:
Properties of the joint cumulative distribution function:
is non decreasing with respect to and
, and
is right continuous with respect to and : and
Example 1.3 Random experiment: Two different and fair coins are tossed once.
Random vector: , where represents the number of heads obtained with coin , with .
Joint cumulative distribution function:
2 The General Case: Marginal cdf
The (marginal) cumulative distribution functions of and can be obtained form the Joint cumulative distribution functions of
The Marginal cumulative distribution function of
The Marginal cumulative distribution function of
Remark: The joint distribution uniquely determines the marginal distributions, but the inverse is not true.
Example 2.1 Random experiment: Two different and fair coins are tossed once.
Random vector: , where represents the number of heads obtained with coin , with .
Joint cululative distribution function: Marginal cumulative distribution function for :
Example 2.2 Let be a jointly distributed random variable with CDF: Marginal cumulative distribution function of the random variable is:
Marginal cumulative distribution function of the random variable Y is:
3 The General Case: Independence
Definition: The jointly distributed random variables and are said to be independent if and only if for any two sets we have
Remark: Independence implies that for any
Theorem: If and are independent random variables and if and are two functions of and respectively, then the random variables and are also independent random variables.
Example 3.1 Random experiment: Two different and fair coins are tossed once.
Random vector: , where represents the number of heads obtained with coin , with .
Are these random variables independent?
One can easily verify that .
Example 3.2 Let be a jointly distributed random variable with CDF: Marginal cumulative distribution function of the random variable and are:
and are independent random variables because:
since
4 Discrete Random Variables
4.1 Joint pmf
Let be the set of of discontinuities of the joint cumulative distribution function that is
Definition: is a two dimensional discrete random variable if and only if
Remark: As in the univariate case, a multivariate discrete random variable can take a finite number of possible values where where and are finite integers, or a countably infinite where and . For the sake of generality we consider the latter case. That is
Joint probability mass function: If and are discrete random variables, then the function given by for is called the joint probability mass function of (joint pmf) or joint probability distribution of the random variables and
Theorem: A bivariate function can serve as joint probability mass function of the pair of discrete random variables and if and only if its values satisfy the conditions:
for any
Remark: We can calculate any probability using this function. For instance
Example 4.1 Let and be the random variables representing the population of monthly wages of husbands and wives in a particular community. Say, there are only three possible monthly wages in euros: , , . The joint probability mass function is
The probability that a husband earns euros and the wife earns euros is given by
4.2 Joint cdf
Joint cumulative distribution function: If and are discrete random variables, the function given by for is called the joint distribution function or joint cumulative distribution of and
4.3 Marginal pmf’s
Marginal probability distribution/function: If and are discrete random variables and is the value of their joint probability distribution at the function given by
are respectively is the Marginal probability distribution of the r.v. and , where and are the range of and respectively.
Example 4.2
Applying these formulas we have:
4.4 Independence
Independence of random variables: Two discrete random variables and are independent if and only if, for all ,
Are these two random variables independent?
thus and are not independent.
4.5 Conditional pmf’s
Conditional probability mass function of given :A conditional probability function of a discrete random variable given another discrete variable taking a specific value is defined as The conditional probability function of given is defined by
Remarks:
The conditional probability functions satisfy all the properties of probability functions, and therefore
If and are independent and
example Consider the joint probability function
Compute .
4.6 Conditional cdf’s
Definition: The conditional CDF of given is defined by
for a fixed , with .
Remark: It can be checked that is indeed a CDF.
Exercice: Verify that is non-decreasing and and .
Example 4.3 Consider the conditional probability of given that previously deduced:
Then the conditional CDF of given that is
5 Continuous Random Variables
5.1 Joint pdf and joint cdf
Definition: is a two-dimensional continuous random variable with a joint cumulative distribution function if and only if and are continuous random variables and there is a non-negative real function such that
The function is the joint (probability) density of and .
Remark: Let be a set in the . Then,
::: {.example} Joint probability density function of the two dimensional random variable where represents the price and the total sales (in 10000 units).
Joint probability density function:
Joint cumulative distribution function: To get the CDF we need to make the following computations:
If , then and
If and , then
If and , then
Theorem: A bivariate function can serve as a joint probability density function of a pair of continuous random variables and if its values, , satisfy the conditions:
for all
Property: Let be a bivariate random variable and , then
Example 5.1 Let be a continuous bi-dimensional random variable with density function given by Find .
Solution: From the first condition, we know that . Therefore . Additionally, This is equivalent to
::: {.example} Let be a continuous bi-dimensional random variable with density function given by Compute .
Solution: Firstly, we notice that
Properties: Let be a continuous bivariate random variable. If represents the density function of and represents respectively joint CDF of . Then,
5.2 Marginal pdf’s
Marginal density functions of the random variable
Marginal density functions of the random variable
5.3 Marginal cdf’s
Marginal CDF of the random variable
Marginal CDF of the random variable
Example 5.2 Joint density function:
Marginal density function of :
Marginal cumulative distribution function:
5.4 Conditional pdf’s
Definition: If is the joint probability density function of the continuous random variables and and is the marginal density function of , the function given by is the conditional probability density function of given Similarly if is the marginal density function of is the conditional probability function of given .
Remark: Note that for any .
Example 5.3 is a random vector with the following joint density function:
Conditional density function of given that (with ):
Probability of
Remark:
The conditional density functions of and verify all the properties of a density function of a univariate random variable.
Note that we can always decompose a joint density function in the following way
5.5 Independence
- If and are independent and
Example 5.4 Consider the conditional density function of given that (with ):
is indeed a density function:
Example 5.5 Consider the conditional density function of given that (with ) and the marginal density function of .
The random variables are not independent because