Let X be a continuous random variable with PDF fX(x)=1√2πe−x22∀x∈R. and let Y=√|X|, find fY(y).
I know that that x1=y2 and x2=−y2
And g′(x)=x2|x|3/2
I can't find the PDF. I've tried these formulas:
fY(y)=fX(g(x1))⋅|g′(x1)|+fX(g(x2))⋅|g′(x2)|
fY(y)=n∑I=1fX(x)|g′(x)|
fY(y)=fX(y2)+fX(−y2)
I can't figure out what formula to use, because every site i'm checking is saying another formula, I know the result is: 4y1√2πe−y42
Answer
To find the pdf of a continuous random variable, it is more general to start with finding its cdf, from which then taking the derivative. It's more useful for transformations such as in your question, for which a direct Jacobian is not available due to the non-differentiability of the absolute value function.
Clearly, Y has range [0,+∞), so for each y∈(0,+∞),
we have
FY(y)=P[Y≤y]=P[√|X|≤y]=P[|X|≤y2]=P[−y2≤X≤y2]=Φ(y2)−Φ(−y2)=2Φ(y2)−1,
where Φ(⋅) is the cdf of standard normal distribution. By convention, we use ϕ (i.e., fX in your question) to denote the density of standard normal. It follows that the density of Y can be obtained by
fY(y)=F′Y(y)=2ϕ(y2)×2y=4yϕ(y2)=4y√2πe−12y4,0<y<∞.
No comments:
Post a Comment