1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
gtnhenbr [62]
3 years ago
11

Let X and Y have the joint density f(x, y) = e −y , for 0 ≤ x ≤ y. (a) Find Cov(X, Y ) and the correlation of X and Y . (b) Find

E(X|Y = y) and E(Y |X = x). (c) Find E(X) and Var(X) using, respectively, Theorems 1 and 2 in Note Set 8.
Mathematics
1 answer:
adoni [48]3 years ago
5 0

a. I assume the following definitions for covariance and correlation:

\mathrm{Cov}[X,Y]=E[(X-E[X])(Y-E[Y])]=E[XY]-E[X]E[Y]

\mathrm{Corr}[X,Y]=\dfrac{\mathrm{Cov}[X,Y]}{\sqrt{\mathrm{Var}[X]\mathrm{Var}[Y]}}

Recall that

E[g(X,Y)]=\displaystyle\iint_{\Bbb R^2}g(x,y)f_{X,Y}(x,y)\,\mathrm dx\,\mathrm dy

where f_{X,Y} is the joint density, which allows us to easily compute the necessary expectations (a.k.a. first moments):

E[XY]=\displaystyle\int_0^\infty\int_0^yxye^{-y}\,\mathrm dx\,\mathrm dy=3

E[X]=\displaystyle\int_0^\infty\int_0^yxe^{-y}\,\mathrm dx\,\mathrm dy=1

E[Y]=\displaystyle\int_0^\infty\int_0^yye^{-y}\,\mathrm dx=2

Also, recall that the variance of a random variable X is defined by

\mathrm{Var}[X]=E[(X-E[X])^2]=E[X^2]-E[X]^2

We use the previous fact to find the second moments:

E[X^2]=\displaystyle\int_0^\infty\int_0^yx^2e^{-y}\,\mathrm dx\,\mathrm dy=2

E[Y^2]=\displaystyle\int_0^\infty\int_0^yy^2e^{-y}\,\mathrm dx\,\mathrm dy=6

Then the variances are

\mathrm{Var}[X]=2-1^2=1

\mathrm{Var}[Y]=6-2^2=2

Putting everything together, we find the covariance to be

\mathrm{Cov}[X,Y]=3-1\cdot2\implies\boxed{\mathrm{Cov}[X,Y]=1}

and the correlation to be

\mathrm{Corr}[X,Y]=\dfrac1{\sqrt{1\cdot2}}\implies\boxed{\mathrm{Corr}[X,Y]=\dfrac1{\sqrt2}}

b. To find the conditional expectations, first find the conditional densities. Recall that

f_{X,Y}=f_{X\mid Y}(x\mid y)f_Y(y)=f_{Y\mid X}(y\mid x)f_X(x)

where f_{X\mid Y} is the conditional density of X given Y, and f_X is the marginal density of X.

The law of total probability gives us a way to obtain the marginal densities:

f_X(x)=\displaystyle\int_x^\infty e^{-y}\,\mathrm dy=\begin{cases}e^{-x}&\text{for }x\ge0\\0&\text{otherwise}\end{cases}

f_Y(y)=\displaystyle\int_0^ye^{-y}\,\mathrm dx=\begin{cases}ye^{-y}&\text{for }y\ge0\\0&\text{otherwise}\end{cases}

Then it follows that the conditional densities are

f_{X\mid Y}(x\mid y)=\begin{cases}\frac1y&\text{for }0\le x

f_{Y\mid X}(y\mid x)=\begin{cases}e^{x-y}&\text{for }0\le x

Then the conditional expectations are

E[X\mid Y=y]=\displaystyle\int_0^y\frac xy\,\mathrm dy\implies\boxed{E[X\mid Y=y]=\frac y2}

E[Y\mid X=x]=\displaystyle\int_x^\infty ye^{x-y}\,\mathrm dy\implies\boxed{E[Y\mid X=x]=x+1}

c. I don't know which theorems are mentioned here, but it's probably safe to assume they are the laws of total expectation (LTE) and variance (LTV), which say

E[X]=E[E[X\mid Y]]

\mathrm{Var}[X]=E[\mathrm{Var}[X\mid Y]]+\mathrm{Var}[E[X\mid Y]]

We've found that E[X\mid Y]=\frac Y2 and E[Y\mid X]=X+1, so that by the LTE,

E[X]=E[E[X\mid Y]]=E\left[\dfrac Y2\right]\implies E[Y]=2E[X]

E[Y]=E[E[Y\mid X]]=E[X+1]\implies E[Y]=E[X]+1

\implies2E[X]=E[X]+1\implies\boxed{E[X]=1}

Next, we have

\mathrm{Var}[X\mid Y]=E[X^2\mid Y]-E[X\mid Y]^2=\dfrac{Y^2}3-\left(\dfrac Y2\right)^2\implies\mathrm{Var}[X\mid Y]=\dfrac{Y^2}{12}

where the second moment is computed via

E[X^2\mid Y=y]=\displaystyle\int_0^y\frac{x^2}y\,\mathrm dx=\frac{y^2}3

In turn, this gives

E\left[\dfrac{Y^2}{12}\right]=\displaystyle\int_0^\infty\int_0^y\frac{y^2e^{-y}}{12}\,\mathrm dx\,\mathrm dy\implies E[\mathrm{Var}[X\mid Y]]=\frac12

\mathrm{Var}[E[X\mid Y]]=\mathrm{Var}\left[\dfrac Y2\right]=\dfrac{\mathrm{Var}[Y]}4\implies\mathrm{Var}[E[X\mid Y]]=\dfrac12

\implies\mathrm{Var}[X]=\dfrac12+\dfrac12\implies\boxed{\mathrm{Var}[X]=1}

You might be interested in
A 9​-pound bag of wildflower seed covers 15 square feet. How many pounds of seed does it take to cover 1 square​ foot?
Angelina_Jolie [31]

Answer:

It would take .6 lbs of seed to cover 1 square foot

Step-by-step explanation:

8 0
3 years ago
Last year, sales at a book store increased from $5,000 to $10,000. This year, sales decreased to $5,000 from $10,000. What perce
Grace [21]
Increased 100%, decreased 50%
4 0
3 years ago
Read 2 more answers
Find area of the shape
pentagon [3]
The answer is a. You find the area of each shape and add them
4 0
3 years ago
20 POINTS!!! Determine the domain and range of the function
azamat
Domain is all Real Numbers and Range is from 0, but not including 0, to infinity.  So it would be the first one
8 0
3 years ago
Read 2 more answers
Please answer these three or at least two of them thank you<br> 1. =<br> 2. =<br> 3. =
Andrew [12]

Answer:

1 conductors

2 insulators

3.Modern turnout jackets and pants are made of fire resistant fabrics (mainly Aramids such as Nomex and Kevlar) or polybenzimidazole (PBI).

5 0
3 years ago
Other questions:
  • Solving multi-step<br>1.2+1.25g=8.62<br>g=​
    12·1 answer
  • Terrence walks at a pace of 2mi/h to the theater and watches a movie for 2 h and 15 min. He rides back home, taking the same rou
    13·1 answer
  • Help!!!!!!!!!!!!!!!!!!!!! No. 58
    14·1 answer
  • Find the product mentally. <br> (z - 12)(z + 12)
    12·1 answer
  • A new battery's voltage may be acceptable (A) or unacceptable (U). A certain flashlight requires two batteries, so batteries wil
    10·1 answer
  • A bag contains 90 marbles, some red and some blue. If there are 60 blue marbles, what is the ratio of blue to red marbles?
    11·1 answer
  • For an angle Θ with the point (5, -12) on its terminating side, what is the value of cosine
    7·1 answer
  • Factor completely: 1331x^3 - 729y^3
    6·1 answer
  • Y^2+7y+4= please i need the answer
    14·1 answer
  • Find the missing side length, 28,25 and x
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!