Finding the pdf of a transformed univariate random variable

  • Context: Undergrad 
  • Thread starter Thread starter Hamiltonian
  • Start date Start date
  • Tags Tags
    Cdf Integral Pdf
Click For Summary

Discussion Overview

The discussion centers on finding the probability density function (pdf) of a transformed univariate random variable, specifically through the use of cumulative distribution functions (CDFs) and integration techniques. Participants explore the relationship between the pdf of the original variable and the transformed variable, addressing both theoretical and practical aspects of the transformation process.

Discussion Character

  • Technical explanation
  • Mathematical reasoning
  • Debate/contested

Main Points Raised

  • One participant questions the inclusion of the pdf of the original variable, ##f_X(x)##, in the integral for the CDF of the transformed variable, suggesting that the integral should be based solely on the transformation function, ##r(X)##.
  • Another participant argues that the pdf, ##f_X(x)##, is necessary because it represents the probability density associated with the values of ##x## that satisfy the condition ##r(x) < y##, emphasizing the importance of integrating with respect to ##dx##.
  • A third participant outlines a method for deriving the pdf of a transformed variable, ##Y=f(X)##, by first finding the CDF of ##Y## and then differentiating it with respect to ##y##, providing an example involving the chi-squared distribution.
  • One participant acknowledges a potential oversight regarding the case where multiple ##x## values yield the same ##r(x)##, but maintains that the integral limits allow for the summation of associated densities.
  • A later post corrects a reference to a website that provided a formula for the general normal distribution, clarifying that the standard normal distribution should be used with specific parameters.

Areas of Agreement / Disagreement

Participants express differing views on the role of the original pdf in the transformation process, with no consensus reached on the correct formulation of the integral for the CDF of the transformed variable. The discussion remains unresolved regarding the best approach to derive the pdf of the transformed variable.

Contextual Notes

Participants note potential complications arising from multiple values of ##x## leading to the same transformed value, as well as the need for careful manipulation of the CDF based on the specific transformation function.

Hamiltonian
Messages
296
Reaction score
193
TL;DR
Confused as to how to obtain the cdf of a transformed random variable.
1701139076070.png

The above theorem is trying to find the pdf of a transformed random variable, it attempts to do so by "first principles", starting by using the definition of cdf, I don't understand why they have a ##f_X(x)## in the integral wouldn't ##\int_{\{x:r(x)<y\}}r(X) dx## be the correct integral for the cdf of Y.
 
Physics news on Phys.org
No. The way ##r(x)## gets into the equation is only in the limit of the integral, ##r(x) \lt y##. Suppose ##r(x) \lt y##. What is the probability (density) of that? It is the probability (density) of that associated ##x## value, which is ##f_X(x)##. So those are the probabilities that we want to total for the integral. (Notice that the integral is with respect to ##dx##, not ##dy##)

PS. I may have ignored the situation where multiple ##x## values give the same ##r(x)##. That still works out because the integral limit allows the associated ##x## densities to be summed
 
Last edited:
Suppose ##Y=f(X)## and we know the pdf of X. To get the pdf of Y, we can find the CDF of Y ##P(Y<y)## then differentiate it wrt to y to get the pdf.
$$P(Y<y)=P(f(X)<y)$$
And depending on X you have to do an appropriate manipulation to get the cdf of Y. Here's and example, deriving the pdf of a ##\chi^2## function with a deg of freedom of one. This variable here is just ##Z^2##, Z is a standard normal distribution. The pdf of Z is a bit complex but you can find it here.
https://www.thoughtco.com/normal-distribution-bell-curve-formula-3126278 lets call this function f(x).
And cdf of f is ##\int_{-\infty}^{x}f(x) dx## and called F(x). Let X be a standard normal variable, and ##\chi=X^2##. So
$$P(\chi<y)=P(-\sqrt{y}<X<\sqrt{y})$$
which is ##F(\sqrt{y})-F(-\sqrt{y}## differentiating wrt y
$$P(\chi=y)\frac{1}{2\sqrt{y}} f(\sqrt{y})+\frac{1}{2\sqrt{y}} f(\sqrt{y})=\frac{1}{\sqrt{y}} f(\sqrt{y})$$
 
Apologies the website gave gives the formula for the general normal distribution for the standard normal, take ##\sigma=1,\mu=0## in the equation
 

Similar threads

  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 16 ·
Replies
16
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 10 ·
Replies
10
Views
6K
  • · Replies 5 ·
Replies
5
Views
6K