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
SUMMARY

This discussion focuses on deriving the probability density function (pdf) of a transformed univariate random variable using the cumulative distribution function (CDF). The integral for the CDF of the transformed variable Y is correctly expressed as \(P(Y PREREQUISITES

  • Understanding of probability density functions (pdf) and cumulative distribution functions (CDF)
  • Familiarity with transformations of random variables
  • Knowledge of the \(\chi^2\) distribution and standard normal distribution
  • Basic calculus, specifically differentiation and integration
NEXT STEPS
  • Study the derivation of the pdf for the \(\chi^2\) distribution in detail
  • Learn about transformations of random variables in probability theory
  • Explore the properties of the standard normal distribution and its applications
  • Investigate the use of Jacobians in transforming multivariate random variables
USEFUL FOR

Statisticians, data scientists, and students in probability theory who are interested in understanding the behavior of transformed random variables and their probability distributions.

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