Exercises

Contents

39.3. Exercises#

Exercise 39.1 (Random and colorblind)

The gene responsible for color blindness is located on the X chromosome. In other words, red-green color blindness is an X-linked recessive condition and is much more common in males (with only one X chromosome). According to the Howard Hughes medical institute about 7% of men and 0.4% of women are red-green colorblind. Furthermore, sccording to SCB, the Swedish population is 50,3% male and 49,7% female. What is the probability that a person selcted at random is colorblind?

Exercise 39.2 (Conditional discrete probability mass function)

The joint probability mass function of the discrete variables \(X,Y\) is

\[ p(x,y) = \frac{x+y}{18}, \quad \text{for } x,y \in \{0,1,2\}. \]
  • Find the conditional probability mass function \(\pdf{y}{x}\).

  • Verify that it is properly normalized.

Exercise 39.3 (Conditional probability for continuous variables)

The continuous random variables \(X,Y\) have the joint density

\[ p(x,y) = e^{-x}, \quad \text{for } 0 < y < x < \infty. \]

Find the probability \(\cprob{Y<2}{X=5}\).

Exercise 39.4 (Conditional expectation)

Assume that the continuous random variables \(X,Y\) have the joint density

\[ \p{x,y} = \frac{2}{xy}, \quad \text{for } 1 < y < x < e. \]

Find the conditional expectation \(\expect{Y \vert X=x}\).

Solutions#