recategorized by
1,929 views
0 votes
0 votes
Two fair coins are tossed independently. $X$ is a random variable that takes a value of $1$ if both tosses are heads and $0$ otherwise. $Y$ is a random variable that takes a value of $1$ if at least one of the tosses is heads and $0$ otherwise.

The value of the covariance of $X$ and $Y$ is $\_\_\_\_\_\_\_$ (rounded off to three decimal places).
recategorized by

1 Answer

2 votes
2 votes

 

 

So,

 

$\mathbb{E}[X]=0*\frac{3}{4}+1*\frac{1}{4}=\frac{1}{4}$

 

$\mathbb{E}[Y]=0*\frac{1}{4}+1*\frac{3}{4}=\frac{3}{4}$

 

$\mathbb{E}[XY]=1*1*\frac{1}{4}=\frac{1}{4}$

 

$Cov[X,Y]=\mathbb{E}[XY]-\mathbb{E}[X]E[Y]=\frac{1}{16}$

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

If we have a real-valued function $g(X_1,X_2)$ such that $g: R^2 \rightarrow R$ then in case of discrete distribution:

$E[g(X_1,X_2)]=\Sigma_{x_1} \Sigma_{x_2}g(X_1,X_2)\;  p_{X_1,X_2} (x_1,x_2)$

Where  $p_{X_1,X_2} (x_1,x_2)$ represents the joint probability distribution and $x_1$ and $x_2$ are instances of $X_1$ and $X_2.$

So, here, we need to find $E[XY],$ It means $g(X_1,X_2)=XY$

Hence,

$E[XY]=\Sigma_{x} \Sigma_{y}XY\;  p_{X,Y} (x,y)$ 

Where x and y are instances of $X$ and $Y.$

 and Joint Distribution is given in the above table as:

1. When $x=0,y=0$ then  $p_{X,Y} (x,y) =\frac{1}{4}$

2. When $x=0,y=1$ then  $p_{X,Y} (x,y) =\frac{1}{2}$

3. When $x=1,y=0$ then  $p_{X,Y} (x,y) =0$

4. When $x=1,y=1$ then  $p_{X,Y} (x,y) =\frac{1}{4}$

Therefore,

$E[XY]=0*0*\frac{1}{4}+0*1*\frac{1}{2}+1*0*0+1*1*\frac{1}{4}=\frac{1}{4}$

edited ago by
Answer:

Related questions

780
views
1 answers
0 votes
Arjun asked Feb 16
780 views
Let $f: \mathbb{R} \rightarrow \mathbb{R}$ be the function $f(x)=\frac{1}{1+e^{-x}}$.The value of the derivative of $f$ at $x$ where $f(x)=0.4$ is $\_\_\_\_\_\_\_$. (roun...
907
views
2 answers
0 votes
Arjun asked Feb 16
907 views
The sample average of $50$ data points is $40$. The updated sample average after including a new data point taking the value of $142$ is $\_\_\_\_\_\_\_\_$.
1.1k
views
1 answers
0 votes
Arjun asked Feb 16
1,081 views
Consider a joint probability density function of two random variables $X$ and $Y$\[f_{X, Y}(x, y)=\left\{\begin{array}{rll}2 x y, & 0<x<2, & 0<y<x \\ 0, & \text { otherwi...
1.1k
views
1 answers
0 votes
Arjun asked Feb 16
1,126 views
Let $\text{u}=\left[\begin{array}{l}1 \\ 2 \\ 3 \\ 4 \\ 5\end{array}\right]$, and let $\sigma_{1}, \sigma_{2}, \sigma_{3}, \sigma_{4}, \sigma_{5}$ be the singular values ...