How Can I find the PDF of This?

  • Thread starter EngWiPy
  • Start date
  • Tags
    Pdf
In summary: It does not matter how you define the MGF. In my case I used the definition:\mathcal{M}_X(s)=\mathbb{E}_X\{e^{-sx}\}If I want to find the p.d.f from this definition of MGF, then I need just to find the inverse Laplace transform, however, if your definition is used, then the p.d.f will be the inverse Laplace transform of the M(-s).It is obvious that:\mathcal{M}_W(s)=\left(\mathcal{M}_m(s)\right)^N=2^N\,s^{N/2}\,K_1^N\left(2\sqrt{s}\
  • #1
EngWiPy
1,368
61
Hi,

I have this random variable:

[tex]Z=\left(\sum_{m=1}^NX_m^{-1}\right)^{-1}[/tex]

where Xm are i.i.d. exponential random variables with parameter 1, i.e. the PDF of these random variables is:

[tex]f_{X_m}(x)=e^{-x}[/tex]

How can I find the CDF, PDF, and the MGF of Z?

Thanks
 
Physics news on Phys.org
  • #2
S_David said:
Hi,

I have this random variable:

[tex]Z=\left(\sum_{m=1}^NX_m^{-1}\right)^{-1}[/tex]

where Xm are i.i.d. exponential random variables with parameter 1, i.e. the PDF of these random variables is:

[tex]f_{X_m}(x)=e^{-x}[/tex]

How can I find the CDF, PDF, and the MGF of Z?

Thanks

Hey S_David.

The first thing I would recommend is to first find the PDF/CDF of [tex]X_m^{-1}[/tex] first before you do anything. To do this use a transformation method. Something with the ideas along the lines of this:

http://www.math.uiuc.edu/~r-ash/Stat/StatLec1-5.pdf

The above shows the idea used, as for the implementation that will depend on the transformation but I think it will be ok since the inverse of e^-x is simply -log(x) in terms of the normal inverse function relations (f o f^-1) = (f^-1 o f) = x.

Once you get the PDF/CDF then you get the MGF and hence the MGF of the sum of these. I'm going to guess that the MGF of the sum will match the form of an individual, but if it is not you will need to see what kind of PDF structure the MGF of the sum of variables represents.

Then once you have done this you use the transformation theorem again to get the PDF of the inverse of the sum of inverse exponentials and using this PDF/CDF you get the MGF of the entire thing by using the definition of the MGF.1
 
Last edited:
  • #3
chiro said:
Hey S_David.

The first thing I would recommend is to first find the PDF/CDF of [tex]X_m^{-1}[/tex] first before you do anything. To do this use a transformation method. Something with the ideas along the lines of this:

http://www.math.uiuc.edu/~r-ash/Stat/StatLec1-5.pdf

The above shows the idea used, as for the implementation that will depend on the transformation but I think it will be ok since the inverse of e^-x is simply -log(x) in terms of the normal inverse function relations (f o f^-1) = (f^-1 o f) = x.

Once you get the PDF/CDF then you get the MGF and hence the MGF of the sum of these. I'm going to guess that the MGF of the sum will match the form of an individual, but if it is not you will need to see what kind of PDF structure the MGF of the sum of variables represents.

Then once you have done this you use the transformation theorem again to get the PDF of the inverse of the sum of inverse exponentials and using this PDF/CDF you get the MGF of the entire thing by using the definition of the MGF.1

I tried that, however, it does not give a close form, since the MGF has no closed form inverse. I was wondering if we can find a closed form expression form this!

Thanks
 
  • #4
S_David said:
I tried that, however, it does not give a close form, since the MGF has no closed form inverse. I was wondering if we can find a closed form expression form this!

Thanks

Can you show your working for getting (in order)

a) PDF for inverse of exponential distribution
b) MGF for inverse exponential
c) MGF for sum of i.i.d inverse exponentials

We'll take it from there since the rest will depend on what c) gives you.

So for a) have you used transformation method to get PDF for 1 inverse exponential distribution and if so what did you get? (Show working if you could please).
 
  • #5
chiro said:
Can you show your working for getting (in order)

a) PDF for inverse of exponential distribution
b) MGF for inverse exponential
c) MGF for sum of i.i.d inverse exponentials

We'll take it from there since the rest will depend on what c) gives you.

So for a) have you used transformation method to get PDF for 1 inverse exponential distribution and if so what did you get? (Show working if you could please).

I am sorry, I have not noticed your post. Anyway, let:

[tex]Y=\frac{1}{X}[/tex]

Then the p.d.f of Y is given by:

[tex]f_Y(y)=\frac{1}{y^2}e^{-1/y}[/tex]

Now let:

[tex]W=\sum_{m=1}^NY_m[/tex]

Then the MGF of W is given by

[tex]\mathcal{M}_W(s)=\prod_{m=1}^{N}\mathcal{M}_m(s)[/tex]

where

[tex]\mathcal{M}_m(s)=\int_0^{\infty}\frac{1}{y^2}e^{-sy-\frac{1}{y}}\,dy=2\sqrt{s}K_1\left(2\sqrt{s}\right)[/tex]

where K1(.) is the modified Bessel function of the second kind and of order 1.

Ok, then what?
 
  • #6
I think your MGF is wrong.

The MGF is calculated by finding E[e^(sx)] for a PDF in terms of x. In your expression on the last line you have a -sy instead of a +sy.

After this is corrected, the next thing is to figure out the form of the MGF of the multiplied result of the independent MGF's. The key thing here is to see whether the resultant MGF has the same form as the individual MGF (the parameters will obviously change) and if it does not, then you need to recognize what form it is.

So for above, the first thing to do is to check if the product of the MGF's retains the same form as the individual MGF in terms of any parameters the MGF has.

I'll wait for this before I proceed further.
 
  • #7
chiro said:
I think your MGF is wrong.

The MGF is calculated by finding E[e^(sx)] for a PDF in terms of x. In your expression on the last line you have a -sy instead of a +sy.

After this is corrected, the next thing is to figure out the form of the MGF of the multiplied result of the independent MGF's. The key thing here is to see whether the resultant MGF has the same form as the individual MGF (the parameters will obviously change) and if it does not, then you need to recognize what form it is.

So for above, the first thing to do is to check if the product of the MGF's retains the same form as the individual MGF in terms of any parameters the MGF has.

I'll wait for this before I proceed further.

It does not matter how you define the MGF. In my case I used the definition:

[tex]\mathcal{M}_X(s)=\mathbb{E}_X\{e^{-sx}\}[/tex]

If I want to find the p.d.f from this definition of MGF, then I need just to find the inverse Laplace transform, however, if your definition is used, then the p.d.f will be the inverse Laplace transform of the M(-s).

It is obvious that:

[tex]\mathcal{M}_W(s)=\left(\mathcal{M}_m(s)\right)^N=2^N\,s^{N/2}\,K_1^N\left(2\sqrt{s}\right)[/tex]

because all the variables are i.i.d.
 
  • #8
S_David said:
It does not matter how you define the MGF. In my case I used the definition:

[tex]\mathcal{M}_X(s)=\mathbb{E}_X\{e^{-sx}\}[/tex]

If I want to find the p.d.f from this definition of MGF, then I need just to find the inverse Laplace transform, however, if your definition is used, then the p.d.f will be the inverse Laplace transform of the M(-s).

It is obvious that:

[tex]\mathcal{M}_W(s)=\left(\mathcal{M}_m(s)\right)^N=2^N\,s^{N/2}\,K_1^N\left(2\sqrt{s}\right)[/tex]

because all the variables are i.i.d.

OK, no worries I see what you mean now (and why you had to use Laplace transform to get the actual form of the expression).

Now when you have the MGF you have a few options.

One option is to see if someone else has figured it out or if there is an existing MGF for an existing distribution.

The other option is to use the MGF and all of it's derivatives to define the probability distribution or to use what is called a Probability Generating Function to get the probability information which can be derived from the MGF definition.

Now the PGF only works for discrete random variables but we can use the same kind of idea for continuous variables in what is called the characteristic function. Essentially we use a Fourier transform type analysis and replace the MGF s parameter with an is. Then we can use the definition of the MGF to get our PDF for that particular MGF. Since you have the MGF, you can get the PDF.

Then if you want to find the inverse of this distribution, you just use an ordinary transformation rule.

Here is a link for a PDF covering the characteristic function. Look at Theorem 10.5 on Page 34 of this document:

http://www.dartmouth.edu/~chance/teaching_aids/books_articles/probability_book/Chapter10.pdf
 
  • #9
chiro said:
OK, no worries I see what you mean now (and why you had to use Laplace transform to get the actual form of the expression).

Now when you have the MGF you have a few options.

One option is to see if someone else has figured it out or if there is an existing MGF for an existing distribution.

The other option is to use the MGF and all of it's derivatives to define the probability distribution or to use what is called a Probability Generating Function to get the probability information which can be derived from the MGF definition.

Now the PGF only works for discrete random variables but we can use the same kind of idea for continuous variables in what is called the characteristic function. Essentially we use a Fourier transform type analysis and replace the MGF s parameter with an is. Then we can use the definition of the MGF to get our PDF for that particular MGF. Since you have the MGF, you can get the PDF.

Then if you want to find the inverse of this distribution, you just use an ordinary transformation rule.

Here is a link for a PDF covering the characteristic function. Look at Theorem 10.5 on Page 34 of this document:

http://www.dartmouth.edu/~chance/teaching_aids/books_articles/probability_book/Chapter10.pdf

Any other thoughts? I need a closed form p.d.f, and the above method does not seem to provide one!
 
  • #10
S_David said:
Any other thoughts? I need a closed form p.d.f, and the above method does not seem to provide one!

Since the method I have given is equivalent to finding the PDF given a MGF for a continuous function, unfortunately I can't think of a better way to do this.

However if you need this for doing calculations, then whether you need to generate your distribution as a RNG for that distribution, or whether you need to calculate the PDF densities, you could still probably get away with using for the first one, simulation algorithms like Metropolis-Hastings or something else and for the second one, just standard numerical integration techniques.

The key is figuring out the error you wish to tolerate and go from there.

Unfortunately I can't help you with getting a closed form PDF and since this will be the equivalent PDF, then if it is in a closed form, it must be able to generated from that integral.

If you need to use it for some applied purposes or even in a serious application like engineering, I would still urge you to consider using a numerical integration scheme and RNG algorithm like Metropolis-Hastings with some gauranteed error-bound for required accuracy since using the right implementation will give you something very accurate.

Perhaps you could talk this over with a senior engineer if you are doing this for some specific application where accuracy is vital, or some other senior scientist or your boss if this is vital in another endeavor.
 
  • #11
chiro said:
Since the method I have given is equivalent to finding the PDF given a MGF for a continuous function, unfortunately I can't think of a better way to do this.

However if you need this for doing calculations, then whether you need to generate your distribution as a RNG for that distribution, or whether you need to calculate the PDF densities, you could still probably get away with using for the first one, simulation algorithms like Metropolis-Hastings or something else and for the second one, just standard numerical integration techniques.

The key is figuring out the error you wish to tolerate and go from there.

Unfortunately I can't help you with getting a closed form PDF and since this will be the equivalent PDF, then if it is in a closed form, it must be able to generated from that integral.

If you need to use it for some applied purposes or even in a serious application like engineering, I would still urge you to consider using a numerical integration scheme and RNG algorithm like Metropolis-Hastings with some gauranteed error-bound for required accuracy since using the right implementation will give you something very accurate.

Perhaps you could talk this over with a senior engineer if you are doing this for some specific application where accuracy is vital, or some other senior scientist or your boss if this is vital in another endeavor.

Indeed it is for a wireless communication system, and I need closed form because I will use it in several steps further. For example, after I find the p.d.f, I need to compute the average probability of error using that p.d.f. Also, the existence of closed form expression helps giving more insight about the system performance.
 
  • #12
What about using upper bound like:

[tex]Z\geq\frac{1}{NX_{min}^{-1}}=\frac{X_{min}}{N}[/tex]

Is this relation true?
 
Last edited:
  • #13
S_David said:
What about using upper bound like:

[tex]Z\geq\frac{1}{NX_{min}^{-1}}=\frac{X_{min}}{N}[/tex]

Is this relation true?

In terms of Z^-1 (not Z), our upper bound for this will be

[tex]NX_{max}^{-1}[/tex]

which means our upper bound for Z should be

[tex]frac{1}{NX_{min}^-1}}[/tex]

which is true.

As for the RHS argument, the problem is that [tex]frac{1}{X_{min}^-1}[/tex] is not the same as [tex]X_{min}[/tex] because the minimum of say X is not the same as the reciprocal of the minimum of 1/X. The For example with {1,4} as our set 1 = min(X), but 1/4 = Min(1/X).

Did you mean to say max of something instead of min?
 
  • #14
chiro said:
In terms of Z^-1 (not Z), our upper bound for this will be

[tex]NX_{max}^{-1}[/tex]

which means our upper bound for Z should be

[tex]frac{1}{NX_{min}^-1}}[/tex]

which is true.

As for the RHS argument, the problem is that [tex]frac{1}{X_{min}^-1}[/tex] is not the same as [tex]X_{min}[/tex] because the minimum of say X is not the same as the reciprocal of the minimum of 1/X. The For example with {1,4} as our set 1 = min(X), but 1/4 = Min(1/X).

Did you mean to say max of something instead of min?

Oh, you are the same guy who I was arguing with on another section about this! I did not notice that.

No, this is different, I am not saying:

[tex]\underset{m}{\text{min}}X_m^{-1}[/tex]

but I am saying:

[tex]X_{\text{min}}^{-1}[/tex]

and simply:

[tex]\frac{1}{X_{\text{min}}^{-1}}=X_{\text{min}}[/tex]
 
  • #15
S_David said:
Oh, you are the same guy who I was arguing with on another section about this! I did not notice that.

No, this is different, I am not saying:

[tex]\underset{m}{\text{min}}X_m^{-1}[/tex]

but I am saying:

[tex]X_{\text{min}}^{-1}[/tex]

and simply:

[tex]\frac{1}{X_{\text{min}}^{-1}}=X_{\text{min}}[/tex]

Yeah I'm that guy :).

Well as long as the middle term is correct and your RHS is what you meant in your latest post then that should be fine.

The easiest way to prove it if you want to is you could start off with 1/Z and show the supremum of that and then show what happens when you invert 1/Z to get Z in terms of lower or upper bounds or start with 1/Z first.

Since this is for a wireless communications system I would double check to make absolutely sure, but if you need a bit of guidance to prove it then you could start off with the 1/Z case in terms of min and maximums and then look at what happens to 1/Z in terms of same min and maximums and keep in mind what happens when you take the reciprocal (max becomes min and min becomes max). That's the idea behind how to show it.
 

1. How can I find the PDF of this document?

There are a few different ways to find a PDF of a document. One option is to search for the document on a search engine and include "PDF" in your search terms. You can also try searching for the document on a specific PDF search engine, or on a website that specializes in hosting and sharing PDFs.

2. Can I convert a document into a PDF?

Yes, there are several tools available for converting documents into PDFs. Some word processing programs, like Microsoft Word, have a "Save as PDF" option. There are also online converters that allow you to upload a document and convert it into a PDF. Make sure to check the quality and formatting of the converted PDF before using it.

3. How do I know if a PDF is safe to download?

It's important to be cautious when downloading any files from the internet. To ensure the safety of a PDF, try downloading it from a reputable source, such as the website of the document's publisher. You can also run a virus scan on the PDF before opening it, or use a secure PDF viewer that has built-in security features.

4. Is there a way to search for keywords within a PDF?

Yes, most PDF viewers have a search function that allows you to search for specific words or phrases within a PDF. Some PDF viewers also offer advanced search options, such as searching for specific font types or formatting within the document.

5. Can I edit a PDF document?

Yes, there are software programs and online tools available for editing PDF documents. However, the level of editing capabilities may vary depending on the program or tool. Some options may only allow you to make minor changes, while others may offer more advanced editing features such as adding or deleting pages, changing text, or adding images. It's important to carefully review the features and capabilities of a program before using it to edit a PDF.

Similar threads

  • Set Theory, Logic, Probability, Statistics
Replies
3
Views
744
  • Set Theory, Logic, Probability, Statistics
Replies
4
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
482
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Set Theory, Logic, Probability, Statistics
Replies
6
Views
4K
  • Set Theory, Logic, Probability, Statistics
Replies
16
Views
2K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
929
  • Set Theory, Logic, Probability, Statistics
Replies
5
Views
902
  • Set Theory, Logic, Probability, Statistics
Replies
7
Views
1K
Back
Top