Question

Given joint density function of x, y:

f(x, y) = +92),  0leq xleq 1, 0leq yleq 1

Find the coefficients of the the best linear predictor y=a+bx+e

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The estimates for the coefficients of linear predictor

Y=a+bX+epsilon

are given by

Coo(X, Y) Var X)

and

hat{a}=E(Y)-hat{b}E(X)

First we get the following

Marginal pdf of X

f (x)f(x, y)dy 0 З 11

Marginal pdf of Y

f(y) = | f(x,y)dr .1

The expected value of X is

egin{align*} E(X)&=int_0^1xf(x)dx &=int_0^1xrac{1}{2}(3x^2+1)dx &=rac{1}{2}left(left.3rac{x^4}{4} ight|_0^1+left. rac{x^2}{2} ight|_0^1 ight ) &=rac{1}{2}left(rac{3}{4}+rac{1}{2} ight ) &=rac{5}{8} end{align*}

The expected value of egin{align*}X^2 end{align*} is

egin{align*} E(X^2)&=int_0^1x^2f(x)dx &=int_0^1x^2rac{1}{2}(3x^2+1)dx &=rac{1}{2}left(left.3rac{x^5}{5} ight|_0^1+left. rac{x^3}{3} ight|_0^1 ight ) &=rac{1}{2}left(rac{3}{5}+rac{1}{3} ight ) &=rac{14}{30} end{align*}

the variance of X is

egin{align*} Var(X)=E(X^2)-[E(X)]^2&=rac{14}{30}-left(rac{5}{8} ight)^2= 0.0760 end{align*}

The expected value of Y is

egin{align*} E(Y)&=int_0^1yf(y)dy &=int_0^1yrac{1}{2}(3y^2+1)dy &=rac{1}{2}left(left.3rac{y^4}{4} ight|_0^1+left. rac{y^2}{2} ight|_0^1 ight ) &=rac{1}{2}left(rac{3}{4}+rac{1}{2} ight ) &=rac{5}{8} end{align*}

The expectation of X,Y is

egin{align*} E(X,Y)&=int_0^1int_0^1xyf(x,y)dxdy &=int_0^1int_0^1xyrac{3}{2}(x^2+y^2)dxdy &=rac{3}{2}int_0^1yleft(left.rac{x^4}{4} ight|_0^1+y^2 imes left.rac{x^2}{2} ight|_0^1 ight )dy &=int_0^1rac{3}{4}left(y^3+rac{y}{2} ight)dy &=rac{3}{4}left(left.rac{y^4}{4} ight|_0^1+left.rac{y^2}{2 imes 2} ight|_0^1 ight) &=rac{3}{8} end{align*}

Covariance of X,Y is

egin{align*} Cov(X,Y)&=E(X,Y)-E(X)E(Y)&=rac{3}{8}-rac{5}{8} imes rac{5}{8}=-0.0156 end{align*}

Now we have everything to get the estimates of coefficients

The slope estimate is

hat{b}=rac{Cov(X,Y)}{Var(X)}=rac{-0.0156}{0.0760}=-0.2055

The estimate of intercept is

hat{a}=E(Y)-hat{b}E(X)=rac{5}{8}-(-0.2055) imes rac{5}{8}=0.7534

The best linear predictor is

hat{y}=0.7534-0.2055x

Add a comment
Know the answer?
Add Answer to:
Given joint density function of x, y: ,   Find the coefficients of the the best linear...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT