Math Help Forum

Math Help Forum Feed Site Feed

Go Back   Math Help Forum > University Math Help > Advanced Probability and Statistics
Reply
 
Thread Tools Display Modes
  #1  
Old October 10th, 2008, 04:21 PM
Junior Member
 
Join Date: Oct 2007
Posts: 55
Country:
Thanks: 20
Thanked 0 Times in 0 Posts
brd_7 is on a distinguished road
Default Uniform

Let X have the uniform distribution (0,2) and let the conditional distribution of Y given X=x be uniform on (0,x^2).

a) Find the condition expectation and variance of Y given X=x. USe these to find the marginal expectation and variance of Y...

Many thanks
Reply With Quote
Advertisement
 
  #2  
Old October 10th, 2008, 05:26 PM
mr fantastic's Avatar
Flow Master

 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 12,002
Country:
Thanks: 2,510
Thanked 4,694 Times in 4,131 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by brd_7 View Post
Let X have the uniform distribution (0,2) and let the conditional distribution of Y given X=x be uniform on (0,x^2).

a) Find the condition expectation and variance of Y given X=x. USe these to find the marginal expectation and variance of Y...

Many thanks
The pdf of X is f_X(x) = \frac{1}{2} for 0 \leq x \leq 2 and zero elsewhere.

The conditional distribution of Y given X = x is f_Y(y | x) = \frac{1}{x^2} for 0 \leq y \leq x^2 and zero elsewhere.

Now apply the standard definitions and do the necessary calculations:

E(Y | X = x) = \int_0^{x^2} y \, f_Y(y | x) \, dy.

E(Y^2 | X = x) = \int_0^{x^2} y^2 \, f_Y(y | x) \, dy.

Var(Y | X = x) = E(Y^2 | X = x) - [E(Y | X = x)]^2.


E(Y) = E[E(Y | X = x)] = \int_{-\infty}^{+\infty} E(Y | X = x) \, f_X(x) \, dx = \int_0^2 E(Y | X = x) \, \frac{1}{2} \, dx.

To get Var(Y), read this: Law of total variance - Wikipedia, the free encyclopedia and do the necessary computation.
__________________
There are two things you should never try to prove: the impossible and the obvious.

The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low and achieving our mark. (Michelangelo Buonarroti)

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
The following users thank mr fantastic for this useful post:
Donate to MHF
  #3  
Old October 11th, 2008, 05:00 AM
Junior Member
 
Join Date: Oct 2007
Posts: 55
Country:
Thanks: 20
Thanked 0 Times in 0 Posts
brd_7 is on a distinguished road
Default

Ive got it all upto the Variance of Y.. Ive got an example thats with numbers, but i cant seem to figure out what to do, and its especially confusing because of it being a uniform distribution.. Any ideas?

And i just need to do the Var(Y) now..

Last edited by brd_7; October 11th, 2008 at 05:54 AM.
Reply With Quote
  #4  
Old October 11th, 2008, 03:19 PM
mr fantastic's Avatar
Flow Master

 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 12,002
Country:
Thanks: 2,510
Thanked 4,694 Times in 4,131 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by brd_7 View Post
Ive got it all upto the Variance of Y.. Ive got an example thats with numbers, but i cant seem to figure out what to do, and its especially confusing because of it being a uniform distribution.. Any ideas?

And i just need to do the Var(Y) now..
To save the wheel getting re-invented, if you give all your answers (with working would be ideal) it will be easier to show how to get the variance.
__________________
There are two things you should never try to prove: the impossible and the obvious.

The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low and achieving our mark. (Michelangelo Buonarroti)

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
  #5  
Old October 11th, 2008, 04:42 PM
Junior Member
 
Join Date: Oct 2007
Posts: 55
Country:
Thanks: 20
Thanked 0 Times in 0 Posts
brd_7 is on a distinguished road
Default

Sorry, i did write down the answers, but realised they were wrong, made a careless mistake. Anyway.. I got the following..

x^2/2

x^4/3

x^4/12

1/3

With just Var(Y) to work out..

Many Thanks
Reply With Quote
  #6  
Old October 11th, 2008, 08:51 PM
mr fantastic's Avatar
Flow Master

 
Join Date: Dec 2007
Location: Zeitgeist
Posts: 12,002
Country:
Thanks: 2,510
Thanked 4,694 Times in 4,131 Posts
mr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond reputemr fantastic has a reputation beyond repute
Default

Quote:
Originally Posted by brd_7 View Post
Sorry, i did write down the answers, but realised they were wrong, made a careless mistake. Anyway.. I got the following..

x^2/2

x^4/3

x^4/12

1/3

With just Var(Y) to work out..

Many Thanks
So you need to calculate E[Var(Y | X)] = E\left[\frac{X^4}{12}\right] and Var[E(Y | X)] = Var\left[ \frac{X^2}{2}\right].

E\left[\frac{X^4}{12}\right] = \int_0^2 \left( \frac{x^4}{12}\right) \left(\frac{1}{2} \right) \, dx.



Var\left[ \frac{X^2}{2}\right]:

You need the pdf of U = \frac{X^2}{2}. This can be got by calculating G(u), the cdf of U. Then g(u) = \frac{dG}{du}, where g(u) is the pdf of U.

Then Var \left[ \frac{X^2}{2}\right] = Var (U) = E(U^2) - [E(U)]^2.


G(u) = \Pr(U < u) = \Pr\left( \frac{X^2}{2} < u\right) = \Pr( -\sqrt{2u} < X < \sqrt{2u}) = \Pr(0 < X < \sqrt{2u}) since 0 \leq x \leq 2

= \int_0^{\sqrt{2u}} \frac{1}{2} \, dx = \, .... for 0 \leq u \leq 2.

Therefore g(u) = \frac{dG}{du} = \, ..... for 0 \leq u \leq 2 and zero elsewhere.
__________________
There are two things you should never try to prove: the impossible and the obvious.

The greater danger for most of us lies not in setting our aim too high and falling short; but in setting our aim too low and achieving our mark. (Michelangelo Buonarroti)

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

  • To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Reply With Quote
The following users thank mr fantastic for this useful post:
Donate to MHF
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off
Forum Jump


All times are GMT -7. The time now is 07:37 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
©2005 - 2009 Math Help Forum


Math Help Forum is a community of maths forums with an emphasis on maths help in all levels of mathematics.
Register to post your math questions or just hang out and try some of our math games or visit the arcade.