Finding the Probability Density Function of Y with Given Continuous PDF f(x)

In summary: But, to paraphrase one of my favourite movies: "You keep using that word (elucidate). I do not think it means what you think it means."In summary, the conversation is about finding the probability density function of Y=F(X) given only the probability density function of X. There seems to be some confusion and uncertainty about what is being asked for, with suggestions to look into methods of generating random samples or defining Y as a function of X and finding its density function. The answer may involve taking the derivative of the cdf F(x).
  • #1
dkotschessaa
1,060
783

Homework Statement



Let the random variable X have the continuous probability density function f(x). find the probability density function of Y= F(x)


Homework Equations



I *think* we are meant to use something like [itex] h(y) = f(g^{-1}(y)) * ((dg^{-1}(y)) /dy)[/itex]

(That is as good as I know how to format right now - I hope that's readable).


But I'm given just f(x) and I'm being asked for F(x). And yet it's not asking for a CDF, it's asking for a PDF. So I'm really confused on what's being asked for here.

(Unless this is another one of my book typos) Does the question even make sense?

-Dave K
 
Physics news on Phys.org
  • #2
dkotschessaa said:

Homework Statement



Let the random variable X have the continuous probability density function f(x). find the probability density function of Y= F(x)


Homework Equations



I *think* we are meant to use something like [itex] h(y) = f(g^{-1}(y)) * ((dg^{-1}(y)) /dy)[/itex]

(That is as good as I know how to format right now - I hope that's readable).


But I'm given just f(x) and I'm being asked for F(x). And yet it's not asking for a CDF, it's asking for a PDF. So I'm really confused on what's being asked for here.

(Unless this is another one of my book typos) Does the question even make sense?

-Dave K

Find the cdf of Y as ##F_Y(y) = P\{ Y \leq y \} = P\{ F(X) \leq y \},## then find the density of Y (the pdf) by differentiation. This method applies even when the formula you use fails (for example, because of intervals or points where f(x) = 0 but inside the range of X). Doing a bit of on-line research, or looking into a book on simulation, may be very helpful.
 
  • #3
Ray Vickson said:
Find the cdf of Y as ##F_Y(y) = P\{ Y \leq y \} = P\{ F(X) \leq y \},## then find the density of Y (the pdf) by differentiation. This method applies even when the formula you use fails (for example, because of intervals or points where f(x) = 0 but inside the range of X). Doing a bit of on-line research, or looking into a book on simulation, may be very helpful.

So am I to integrate first for the CDF, and then differentiate back down again?

I think it's perhaps so trivial that I'm getting confused. I even have the "back of book" answer but I don't know the reasoning.
 
  • #4
dkotschessaa said:
So am I to integrate first for the CDF, and then differentiate back down again?

I think it's perhaps so trivial that I'm getting confused. I even have the "back of book" answer but I don't know the reasoning.

That is why I suggested you do a bit of on-line research or look into a book on simulation. Specifically, look at 'methods of generating random samples' or 'random variable generation' or something similar.
 
  • #5
Ray Vickson said:
That is why I suggested you do a bit of on-line research or look into a book on simulation. Specifically, look at 'methods of generating random samples' or 'random variable generation' or something similar.

I've looked everywhere online. But I'll try that.
 
  • #6
Is Y=F(x) exactly how it was written in your book? If so, it looks like a typo or two. You may want to ask your professor for clarification.

Perhaps you're supposed to find the cdf F(x) and then define the new random variable Y=F(X) (a function of X, not x) and find its density function.
 
  • #7
vela said:
Is Y=F(x) exactly how it was written in your book? If so, it looks like a typo or two. You may want to ask your professor for clarification.

Yes, and the book is full of typos. And the professor gets lost in the middle of class. and..and.. you get the idea.

Perhaps you're supposed to find the cdf F(x) and then define the new random variable Y=F(X) (a function of X, not x) and find its density function.

I'm not sure. I'm really confused and frustrated. I have something written down and I'm handing it in.

Thanks for the help everyone.

-Dave K
 
  • #8
Dang David, next time try running it by me. I already had that class so I should be able to work it out if I can see the problem in the book. :)
 
  • #9
vela said:
Is Y=F(x) exactly how it was written in your book? If so, it looks like a typo or two. You may want to ask your professor for clarification.

Perhaps you're supposed to find the cdf F(x) and then define the new random variable Y=F(X) (a function of X, not x) and find its density function.
No, I think Ray's interpretation is right. Yes, it should be Y=F(X), not F(x), but I doubt there's any relationship between f and F.
 
  • #10
But it doesn't sound like F(X) was specified, which makes it impossible to find fY(y).
 
  • #11
vela said:
But it doesn't sound like F(X) was specified, which makes it impossible to find fY(y).

No. Finding ##f_Y(y)## is "easy" (once you see it!); this is one of the important standard results that are used all the time in Monte-Carlo simulation.
 
  • #12
I don't see it. You're given random variable X with probability density fX(x). Then you're asked to find fY(y) where Y=F(X). Haruspex has suggested F(X) bears no relation to fX(x), so it's completely arbitrary. You have virtually no information about Y other than it's a function of X.
 
  • #13
vela said:
I don't see it. You're given random variable X with probability density fX(x). Then you're asked to find fY(y) where Y=F(X). Haruspex has suggested F(X) bears no relation to fX(x), so it's completely arbitrary. You have virtually no information about Y other than it's a function of X.

The answer will involve F'.
 
  • #14
vela said:
I don't see it. You're given random variable X with probability density fX(x). Then you're asked to find fY(y) where Y=F(X). Haruspex has suggested F(X) bears no relation to fX(x), so it's completely arbitrary. You have virtually no information about Y other than it's a function of X.

I will be happy to elucidate as soon as I am convinced the OP has already handed in his solution.
 
  • #15
dkotschessaa said:

Homework Statement



Let the random variable X have the continuous probability density function f(x). find the probability density function of Y= F(x)


Homework Equations



I *think* we are meant to use something like [itex] h(y) = f(g^{-1}(y)) * ((dg^{-1}(y)) /dy)[/itex]

(That is as good as I know how to format right now - I hope that's readable).


But I'm given just f(x) and I'm being asked for F(x). And yet it's not asking for a CDF, it's asking for a PDF. So I'm really confused on what's being asked for here.

(Unless this is another one of my book typos) Does the question even make sense?

-Dave K

In my previous responses I have been assuming all along that F is the cdf of X (just because of the notation you have used). If that is not what you meant then all my previous responses are irrelevant.
 
  • #16
Ray Vickson said:
I will be happy to elucidate as soon as I am convinced the OP has already handed in his solution.

I can attest to the fact that the assignment has been handed in. OP is on vacation now so you probably won't hear from him for a week.
 
  • #17
ArcanaNoir said:
I can attest to the fact that the assignment has been handed in. OP is on vacation now so you probably won't hear from him for a week.

OK, so if X has pdf f(x) and cdf F(x), then Y = F(X) is uniformly distributed on (0,1). This is true even if X does not have a density (such as for discrete random variables, or mixed random variables that are partly continuous and partly discrete); the only thing that matters is that F(x) is a well-defined function (defined so as to be right-continuous). See, eg.,
http://en.wikipedia.org/wiki/Inverse_transform_sampling
for illustration and proof.

This method is of fundamental importance in Monte-Carlo simulation.

Note: the OP did not actually *say* that F was the cdf of X, but I just assumed he meant that. If not, then F is a more-or-less arbitrary function and there will be no simple, general result.
 
  • #18
ArcanaNoir said:
Dang David, next time try running it by me. I already had that class so I should be able to work it out if I can see the problem in the book. :)

Oh, the whole assignment was a mess, as you know. I'd be bugging you for every question.

I am dropping the class anyway. My first drop, ever. I took some time on spring break to think about it. (I'm still there, just at a hotel in the middle of nowhere, PA). My final act was to get together with the class (we are down to about 8 people) and we agreed on some solutions to the assignment.

Thanks everyone.

-Dave K
 
  • #19
In post 17, Ray Vickson is assuming that F(x) is the integral of f(x). Is that true? My first thought was that they were unrelated functions.

In that case, [tex]P(y< Y)= P(F(x)< Y= \int_{-\infty}^Y F(t)f(t)dt[/tex] and the PDF is the derivative of that, with respect to Y.
 
  • #20
The question was word for word as found in the book. There was no further information and I don't know what we were supposed to assume.
 
  • #21
dkotschessaa said:
The question was word for word as found in the book. There was no further information and I don't know what we were supposed to assume.

Some (not all) books adopt a convention such as using the upper-case letter for the cdf corresponding to the lower case letter for the pdf, so f is paired with F, g is paired with G, etc. Maybe your book says somewhere that it will do that; I don't know, but that is a pretty common convention for writers of probabilty textbooks.
 

Related to Finding the Probability Density Function of Y with Given Continuous PDF f(x)

1. What is a probability density function (PDF)?

A probability density function is a mathematical function that describes the relative likelihood of a continuous random variable taking on a specific value. It is used to represent the probability distribution of a continuous variable.

2. How is the probability density function related to the cumulative distribution function (CDF)?

The cumulative distribution function (CDF) is the integral of the probability density function (PDF). It gives the probability that a random variable will take on a value less than or equal to a specific value. In other words, the CDF is the accumulation of probabilities from the PDF.

3. How do you find the probability density function of Y with a given continuous PDF f(x)?

To find the probability density function of Y, you first need to determine the relationship between Y and X. Then, you can use the change of variable formula to convert the given PDF from f(x) to f(y). This involves taking the derivative of the inverse function of Y with respect to X and multiplying it by the original PDF f(x).

4. What is the difference between a discrete and continuous probability density function?

A discrete probability density function is used to represent the probability distribution of a discrete random variable, where the random variable can only take on a finite or countably infinite number of values. A continuous probability density function, on the other hand, is used for continuous random variables, where the random variable can take on any value within a specified range.

5. Can the probability density function of Y be used to calculate the probability of Y taking on a specific value?

No, the probability density function of Y only gives the relative likelihood of Y taking on a specific value. To calculate the probability of Y taking on a specific value, you would need to use the cumulative distribution function (CDF) and integrate over the desired range of values.

Similar threads

Replies
11
Views
2K
  • Calculus and Beyond Homework Help
Replies
19
Views
1K
  • Calculus and Beyond Homework Help
Replies
3
Views
638
  • Calculus and Beyond Homework Help
Replies
6
Views
619
  • Calculus and Beyond Homework Help
Replies
5
Views
1K
  • Calculus and Beyond Homework Help
Replies
6
Views
1K
  • Computing and Technology
Replies
9
Views
609
  • Calculus and Beyond Homework Help
Replies
2
Views
562
  • Calculus and Beyond Homework Help
Replies
3
Views
4K
  • Calculus and Beyond Homework Help
Replies
8
Views
2K
Back
Top