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
Tiana buys a new cell phone with a retail price of $80.00.
frutty [35]

Answer:

$85.60

Step-by-step explanation:

We add the percentage of sales tax to the total.  This means we are paying 100% + 7% tax, or 107%.

107% = 107/100 = 1.07; this gives us

80(1.07) = 85.60.

7 0
3 years ago
Surface Area and Volume of Prisms and Cylinders.
erma4kov [3.2K]

Answer:

= 272 sq^2 inch

Step-by-step explanation:

A =  2(l x h) + 2(d x h) + 2(l x d)

A = 96 +96  +24 + 24 + 16+ 16

A = 192 + 48 +32

7 0
3 years ago
Find the percent of change and classify as a percent increase or decrease.
Veseljchak [2.6K]

Answer:

Increase by 72.5 percent

Step-by-step explanation:

Just dived 435 by 600 and you get your answer

7 0
3 years ago
Weight of Elephant in Pounds:
Dafna11 [192]

Answer: 2245 lbs or 1.1225 tons

Step-by-step explanation:

1 ton = 2000 lbs

adult weighs 3 tons or 6000 pounds

so I took the 3 year olds weight of 3755 and subtracted that from the adults weight in pounds to find the total weight in pounds needed to become an adult

6000-3755 = 2245 lbs and if you want it in tons then divide by 2000

2245 / 2000 = 1.1225 tons

7 0
3 years ago
At an amusement center, you use 2 tokens each time you play a game. After playing
ioda

Answer:

40 tokens total

Step-by-step explanation:

2 tokens each time for playing a game

After 4 games: 2*4 = 8 tokens used.

so, 32(that are left) + 8(used) = 40 tokens total

3 0
3 years ago
Other questions:
  • What is the Least Common Denominator?<br><br> 5/12 and -9/16
    8·1 answer
  • the initial cost to set up a website is $48. it cost $44 per month to maintain the website . how many months will you be able to
    5·1 answer
  • What is the answer for y+4 and 7/8=2
    12·2 answers
  • A kilometer is ___as large as a picometer
    11·2 answers
  • Rebecca carries a balance on her credit card each month. Today is the first day of the new, 28-day billing cycle. The current ba
    5·1 answer
  • ANSWER GET BRAINLIEST
    7·1 answer
  • Does anyone know what the formula for the area of a circle is?
    8·2 answers
  • Help plz<br> One equation with decimals<br> f.) 4.5x + 9 = 40
    14·1 answer
  • The price of an item has been reduced by 95%. The original price was $33.
    11·2 answers
  • On a child’s first day of kindergarten, a deposit of $7,500 is made in a trust fund that pays 3.75% interest, compounded continu
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!