A self driving car has a computer vision component that is used to distinguish between colors of a traffic light: red, yellow and green. This component sometimes makes a wrong decision. The red light is not recognized correctly in 5% of the cases (in 3% of the cases it is mistaken for the green light and in 2% for the yellow light); the yellow light is not recognized correctly in 2% of the cases (in 1% of the cases it is mistaken for the green light and in 1% of the cases for the red light(; and the green light is not recognized correctly in 4% of the cases (in 3% of the cases it is mistaken for the red light and in 1% for the yellow light). It is known that the traffic light in a town are showing red and green 45% of the time and yellow 10% of the time.
Let X be a random variable indicating the actual color of the traffic light and Y be a random variable indicating the outcome of the computer vision component. In both cases, we identify Green with 0, Yellow with 1, and Red with 3.
- Find the joint distribution of X and Y and write it in a form of a table.
- Find the marginal distributions of X and Y.
- Find the expectation of X and Y.
- Find the covariance of X and Y.
- Are X and Y independent?