Pdf of Difference of Random Variables

Click For Summary
SUMMARY

The discussion focuses on deriving the probability density function (pdf) of the difference of two random variables (RV's), specifically p_{\Delta Y} = p_{(Y_1 - Y_2)}. The random variables Y_1 and Y_2 follow a uniform distribution defined by p_{\theta} = \mathrm{rect}\left(\frac{\theta}{\pi}\right) with support in the range -\pi/2 to \pi/2. The user initially attempts to use convolution to find p_{\Delta Y} but encounters difficulties with the resulting quartic expression. They then shift to using characteristic functions, identifying that the characteristic function of p_Y is a Bessel function, leading to the expression p_{\Delta Y} = F^{-1}(\varphi_Y^2), but struggle to compute the inverse Fourier transform of the squared Bessel function.

PREREQUISITES
  • Understanding of probability density functions (pdf) and random variables (RV's)
  • Knowledge of convolution and its application in probability theory
  • Familiarity with characteristic functions and Fourier transforms
  • Basic understanding of Bessel functions and their properties
NEXT STEPS
  • Research the properties of Bessel functions and their applications in probability theory
  • Learn about the convolution theorem in the context of probability distributions
  • Study numerical integration techniques for evaluating complex integrals
  • Explore the use of characteristic functions in deriving distributions
USEFUL FOR

Mathematicians, statisticians, and data scientists interested in probability theory, particularly those working with random variables and their distributions.

marcusl
Science Advisor
Messages
2,967
Reaction score
684
I want to find the probability density function (pdf) of the difference of two RV's,
p_{\Delta Y} = p_{(Y_1 - Y_2)},where y = \sin \theta, and where \theta_1 and \theta_2 are random variables with the same uniform distribution p_{\theta}=\mathrm{rect}\left(\frac{\theta}{\pi}\right). This has support -\pi/2\leq\theta\leq \pi/2. (Please let me know if I am misusing terminology, as Math is not my native language :oops:)

I can derive the distribution of y p_Y=\frac{\mathrm{rect}\left(\frac{y}{2}\right)}{\pi \sqrt{1-y^2}}by starting from the uniform distribution. This is nonzero over |y| \leq 1. I get bogged down with the pdf of Δy, however. A direct approach involving the convolutionp_{\Delta Y}(\Delta y)=p(y)*p(y)=\int_{-\infty}^{\infty}p_Y(\Delta y-u)p_Y(u)duresults in the square root of a quartic in the denominator, which seems like a dead end.

I instead tried characteristic functions. From tables of Fourier transforms (FT's), I find that the CF of p_Y is a Bessel function\varphi_Y(z)=\frac{1}{2\pi}J_0(z)p_{\Delta Y} is then the inverse FT of the product of two of these CF'sp_{\Delta Y}=F^{-1}(\varphi_{\Delta Y})=F^{-1}(\varphi_Y^2)=\frac{F^{-1}\left(J_0^2(z)\right)}{4\pi^2}but I cannot find the inverse FT of the square of the Bessel function. Can anyone help me finish this off?
 
Physics news on Phys.org
marcusl said:
A direct approach involving the convolutionp_{\Delta Y}(\Delta y)=p(y)*p(y)=\int_{-\infty}^{\infty}p_Y(\Delta y-u)p_Y(u)du...
That doesn't look quite right to me. I think it should be:
$$
p_{\Delta Y}(\Delta y)=p(y)*p(y)=\int_{-1}^{1}p_Y(\Delta y+u)p_Y(u)du
$$
which is equal to:
$$
\int_{-1-\min(\Delta y,0)}^{1-\max(\Delta y, 0)}p_Y(\Delta y+u)p_Y(u)du
$$
I would be inclined to stop there and just use numerical integration. Expressing the result as a Bessel function may look more compact, but will still involve numerical integration to evaluate the Gamma function inside the Bessel sum.
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 30 ·
2
Replies
30
Views
5K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 25 ·
Replies
25
Views
3K
  • · Replies 5 ·
Replies
5
Views
3K
  • · Replies 1 ·
Replies
1
Views
3K
  • · Replies 6 ·
Replies
6
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K