The CDF from the characteristic function

Click For Summary

Discussion Overview

This thread discusses the process of finding the cumulative distribution function (CDF) of a random variable defined as the sum of ratios of independent and identically distributed exponential random variables. The discussion involves the use of characteristic functions (CF) and addresses issues related to numerical integration and the evaluation of integrals.

Discussion Character

  • Exploratory
  • Technical explanation
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • One participant outlines their approach to finding the CDF of the random variable Y, emphasizing the use of the characteristic function due to undefined means of the involved random variables.
  • Another participant questions the existence of undefined integrals and seeks clarification on the results obtained from numerical evaluations.
  • Some participants discuss the implications of using the Gil-Pelaez theorem for CDF inversion and express confusion over the imaginary part of the integral yielding non-real results.
  • There are mentions of discrepancies in the characteristic function derived for one of the random variables, with calls for clarification on the integration process and limits applied.
  • Participants share their attempts to derive the probability density function (PDF) from the characteristic function and express frustration over not obtaining the expected results.
  • One participant suggests that Mathematica may not be handling the characteristic function correctly, leading to unexpected outputs.

Areas of Agreement / Disagreement

Participants express differing views on the evaluation of integrals and the correctness of the derived characteristic functions. There is no consensus on the source of the issues encountered in numerical evaluations or the derivation of the CDF and PDF.

Contextual Notes

Participants note potential limitations in their mathematical manipulations, particularly regarding the handling of limits in integrals and the assumptions made during derivations. The discussion reflects ongoing uncertainty about the correct application of theorems and integration techniques.

  • #31
Look at post #27. \int_0^{\infty}\frac{sin(tx)}{t}dt=0,\ for\ x=0
 
Physics news on Phys.org
  • #32
Ooops! I forgot about that. My mistake. Thanks!

So, this is an indication that the derivation is correct, right? The only difference in my equations is that I use the formula ##\text{ci}(x)\pm j\,\text{si}(x) = \text{Ei}(\pm j\,x)##, where ##\text{Ei}(x) = -\int_{-x}^{\infty}\frac{e^{-t}}{t}\,dt = -E_1(-x)##. The question is: why the numerical integration doesn't evaluate as a CDF for the general case using MATLAB and Mathematica? Is it a precision issue in the software tools?
 
  • #33
I don't know how MATLAB or Mathematica were set up. There may be some limitations to their applicability. Since I have never used them I can't help here. When I need complicated integrals I look up the table I previously mentioned.
 
  • #34
mathman said:
I don't know how MATLAB or Mathematica were set up. There may be some limitations to their applicability. Since I have never used them I can't help here. When I need complicated integrals I look up the table I previously mentioned.

But theoretically, the derivation should be correct, right? Because I just raise the CF of a single X to the power K, and then solve for the CDF as we did for a single X.
 
  • #35
The basic theory (invert the nth power of the char. function gives the cdf of the sum of n terms) is correct. But as we have seen with the case n=1, the calculation can be very tricky. The Gil-Pelaez theorem had to be used and getting the imaginary part can be messy.
 
  • #36
Yes, but supposedly, the software tools take care of the imaginary part using their functions to extract the imaginary part. We don't have to concern ourselves with doing that manually.
 
  • #37
I can't comment on these tools, since I've never used them. If you are sure they should work, I suggest you check the input if the answer doesn't look right.
 

Similar threads

  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 9 ·
Replies
9
Views
2K
  • · Replies 14 ·
Replies
14
Views
2K
  • · Replies 5 ·
Replies
5
Views
3K