Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Random variable
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Example 3=== Suppose <math>X</math> is a random variable with a [[standard normal distribution]], whose density is :<math> f_X(x) = \frac{1}{\sqrt{2\pi}}e^{-x^2/2}.</math> Consider the random variable <math> Y = X^2.</math> We can find the density using the above formula for a change of variables: :<math>f_Y(y) = \sum_{i} f_X(g_{i}^{-1}(y)) \left| \frac{d g_{i}^{-1}(y)}{d y} \right|. </math> In this case the change is not [[Monotonic function|monotonic]], because every value of <math>Y</math> has two corresponding values of <math>X</math> (one positive and negative). However, because of symmetry, both halves will transform identically, i.e., :<math>f_Y(y) = 2f_X(g^{-1}(y)) \left| \frac{d g^{-1}(y)}{d y} \right|.</math> The inverse transformation is :<math>x = g^{-1}(y) = \sqrt{y}</math> and its derivative is :<math>\frac{d g^{-1}(y)}{d y} = \frac{1}{2\sqrt{y}} .</math> Then, :<math> f_Y(y) = 2\frac{1}{\sqrt{2\pi}}e^{-y/2} \frac{1}{2\sqrt{y}} = \frac{1}{\sqrt{2\pi y}}e^{-y/2}. </math> This is a [[chi-squared distribution]] with one [[Degrees of freedom (statistics)|degree of freedom]].
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)