Results 1 to 2 of 2

Math Help - marginal density, conditional density, and probability

  1. #1
    Newbie
    Joined
    Mar 2008
    Posts
    21

    marginal density, conditional density, and probability

    I have some of this problem done, but I can't figure it all out, so I will post how I have tried to solve each part after I post the question. Thanks for the help!

    If X is the amount of money (in dollars) that the salesperson spends on gasoline during the day and Y is the corresponding amount of money (in dollars) for which he or she is reimbursed, the joint density of these two random variables is given by
    f(x,y) = { 1/25((20 - x) / x) for 10 < x < 20, x/2 <y < x
    0 elsewhere.
    Find a) the marginal density of X, b) the conditional density of Y given X = 12, and c) the probability that the salesperson will be reimbursed at least $8 when spending $12.

    For a), I tried to find the integral from x/2 to x of f(x,y), but I ended up with [1/25(lnx - x)] evaluated from x/2 to x. There is a mistake there somewhere because I know the correct answer is supposed to be g(x) = (20 - x)/ 50 for 10<x <20.
    For b), I used what I know the correct answer for a) was supposed to be and solved f(x,y) / g(x). I got 1/6 and I this is the correct answer.
    For c), I tried to use the integral from 8 to 12 of f(x,y), but, again, I am not getting the right answer (which is 1/3).

    Any help would be greatly appreciated!
    Follow Math Help Forum on Facebook and Google+

  2. #2
    Flow Master
    mr fantastic's Avatar
    Joined
    Dec 2007
    From
    Zeitgeist
    Posts
    16,948
    Thanks
    5
    Quote Originally Posted by TheHolly View Post
    I have some of this problem done, but I can't figure it all out, so I will post how I have tried to solve each part after I post the question. Thanks for the help!

    If X is the amount of money (in dollars) that the salesperson spends on gasoline during the day and Y is the corresponding amount of money (in dollars) for which he or she is reimbursed, the joint density of these two random variables is given by
    f(x,y) = { 1/25((20 - x) / x) for 10 < x < 20, x/2 <y < x
    0 elsewhere.
    Find a) the marginal density of X, b) the conditional density of Y given X = 12, and c) the probability that the salesperson will be reimbursed at least $8 when spending $12.

    For a), I tried to find the integral from x/2 to x of f(x,y), but I ended up with [1/25(lnx - x)] evaluated from x/2 to x. There is a mistake there somewhere because I know the correct answer is supposed to be g(x) = (20 - x)/ 50 for 10<x <20.
    For b), I used what I know the correct answer for a) was supposed to be and solved f(x,y) / g(x). I got 1/6 and I this is the correct answer.
    For c), I tried to use the integral from 8 to 12 of f(x,y), but, again, I am not getting the right answer (which is 1/3).

    Any help would be greatly appreciated!
    a) By definition, g(x) = \int f(x, y) \, dy = \frac{1}{25} \int_{x/2}^{x} \frac{20 - x}{x} \, dy


     = \frac{1}{25} \, \frac{20-x}{x} \, \int_{x/2}^{x} \, dy


    = \frac{20-x}{25 x} [y]_{x/2}^{x}


    =  \frac{20-x}{25x} \, \left( x - \frac{x}{2} \right)


    = \frac{20-x}{50} .


    c) \Pr(Y > 8 | X = 12) = \int_{8}^{12} \text{answer to (b)} \, dy.

    I get 2/3 .......?
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. joint/marginal/conditional density
    Posted in the Advanced Statistics Forum
    Replies: 3
    Last Post: October 22nd 2011, 05:45 PM
  2. Help with conditional probability of joint density functions.
    Posted in the Advanced Statistics Forum
    Replies: 6
    Last Post: November 17th 2009, 11:06 PM
  3. marginal probability density function
    Posted in the Advanced Statistics Forum
    Replies: 7
    Last Post: March 17th 2009, 12:04 PM
  4. Conditional probability density function
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: February 28th 2009, 08:52 PM
  5. Conditional Probability Density
    Posted in the Advanced Statistics Forum
    Replies: 0
    Last Post: February 2nd 2009, 09:04 PM

Search Tags


/mathhelpforum @mathhelpforum