Covariance - Exercise set 2

This exercise set contains some solved exercises on the computation of the covariance between absolutely continuous random variables. The theory needed to solve these exercises is introduced in the lecture entitled Covariance.

Exercise 2.1

Let [eq1] be an absolutely continuous random vector with support: [eq2]i.e. $R_{XY}$ is the set of all couples $left( x,yight) $ such that [eq3] and [eq4]. Let the joint probability density function of [eq1] be:[eq6]Compute the covariance between X and Y.

nav_button Solution

The support of X is:[eq7]thus, when [eq8], the marginal probability density function of X is 0, while, when [eq9], the marginal probability density function of X is:[eq10]Therefore, the marginal probability density function of X is:[eq11]The expected value of X is:[eq12]The support of Y is:[eq13]When [eq14], the marginal probability density function of Y is 0, while, when [eq15], the marginal probability density function of Y is:[eq16]Therefore, the marginal probability density function of Y is:[eq17]The expected value of Y is:[eq18]The expected value of the product $XY$ can be computed using the transformation theorem:[eq19]Hence, using the covariance formula, the covariance between X and Y is:[eq20]

Exercise 2.2

Let [eq1] be an absolutely continuous random vector with support: [eq22]and its joint probability density function be:[eq23]Compute the covariance between X and Y.

nav_button Solution

The support of Y is:[eq24]When [eq25], the marginal probability density function of Y is 0, while, when [eq26], the marginal probability density function of Y is:[eq27]Putting pieces together, the marginal probability density function of Y is:[eq28]The expected value of Y is:[eq29]The support of X is:[eq30]When [eq31], the marginal probability density function of X is 0, while, when [eq32], the marginal probability density function of X is:[eq33]We do not explicitly compute the integral, but we write the marginal probability density function of X as follows:[eq34]The expected value of X is:[eq35]The expected value of the product $XY$ can be computed using the transformation theorem:[eq36]Hence, using the covariance formula, the covariance between X and Y is:[eq37]

Exercise 2.3

Let X and Y be two random variables such that:[eq38]

Compute the following covariance:[eq39]

nav_button Solution

Using bilinearity of the covariance operator:[eq40]

by
About | Contacts | Privacy and terms of use | Sitemap