How to Derive the PDF of a Continuous Random Variable?

  • Context: Graduate 
  • Thread starter Thread starter mcfc
  • Start date Start date
  • Tags Tags
    Distribution
Click For Summary
SUMMARY

The discussion focuses on deriving the probability density function (pdf) of a continuous random variable X with a given cumulative distribution function (cdf) F(x). The cdf is defined as F(x) = {0 for x < 0, (1/4)x² for 0 ≤ x ≤ 2, and 1 for x > 2}. The pdf of X is correctly derived as f(x) = F'(x) = {(1/2)x for 0 ≤ x ≤ 2, 0 elsewhere}. Additionally, the pdf of the transformed random variable Y = 2 - X is derived using the relationship G(y) = 1 - F(2 - y), leading to G(y) = 4y - (1/4)y² for 0 ≤ y ≤ 2.

PREREQUISITES
  • Understanding of cumulative distribution functions (cdf)
  • Knowledge of probability density functions (pdf)
  • Familiarity with differentiation of functions
  • Basic concepts of random variable transformations
NEXT STEPS
  • Study the properties of cumulative distribution functions (CDFs)
  • Learn about transformations of random variables in probability theory
  • Explore the relationship between pdf and cdf in continuous random variables
  • Investigate the implications of differentiating piecewise functions
USEFUL FOR

Students and professionals in statistics, data science, and mathematics who are involved in probability theory and need to understand the derivation of probability density functions from cumulative distribution functions.

mcfc
Messages
16
Reaction score
0
Hello

I'm not too sure if this is the correct location for my post, but it's the best fit I can see!

The cdf of the continuous random variable X is
F(x)=\left\{\begin{array}{cc}0&amp;\mbox{ if }x&lt; 0\\<br /> {1\over 4} x^2 &amp; \mbox{ if } 0 \leq x \leq 2\\<br /> 1 &amp;\mbox{ if } x &gt;2\end{array}\right.

Q1-Obtain the pdf of X
Q2-If Y = 2 - X, derive the pdf of the random variable Y

A1-I think the cdf is given by f(x) = F&#039;(x)=\left\{\begin{array}{cc}{1\over 2}x &amp;\mbox{ if } 0 \leq x \leq 2 \\<br /> 0 &amp;\mbox{ elsewhere } \end{array}\right.
Is that correct?

A2-For the pdf of Y: G(Y) = P(Y \leq y) = P(2 - x \leq y) = P(x \geq 2-y)<br /> but I'm not sure how to proceed??
Thanks
 
Physics news on Phys.org
A1 - you're right.

A2 G(y) = P(Y \leq y) = P(2 - X \leq y) = P(X \geq 2-y) = 1-P(X &lt; 2-y)=1-F(2-y)
G'(y)=F'(2-y) for the pdf
 
mathman said:
A1 - you're right.

A2 G(y) = P(Y \leq y) = P(2 - X \leq y) = P(X \geq 2-y) = 1-P(X &lt; 2-y)=1-F(2-y)
G'(y)=F'(2-y) for the pdf

Thanks,
Q1-how would I evaluate:
G(y) = 1-F(2-y)\<br /> \mbox{to give the cdf? Do I just substitute 2-y into }{1 \over 4} x^2 \mbox{ to give }<br /> G(Y) = 1 - {1 \over 4} (2-y)^2 = 4y - {1 \over 4}y^2\ for \ 0 \leq y \leq 2
\mbox{for the cdf of Y? and so for the pdf: } 4-{1 \over 2}y

Q2-Why are you able to make this step: 1-P(X &lt; 2-y)=1-F(2-y)
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 6 ·
Replies
6
Views
5K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
3K