1. Not finding help here? Sign up for a free 30min tutor trial with Chegg Tutors
    Dismiss Notice
Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

Intuitive reason absolute values are used for transformations in statistics?

  1. Nov 30, 2012 #1
    1. The problem statement, all variables and given/known data



    2. Relevant equations



    3. The attempt at a solution

    this isn't really homework, but I was just wondering if someone could offer an intuitive reason as to why when random variables are transformed, we use absolute values of derivative of those functions, as opposed to the functions themselves?
     
  2. jcsd
  3. Nov 30, 2012 #2

    Mark44

    User Avatar
    Insights Author

    Staff: Mentor

    Can you give an example where this is happening?
     
  4. Nov 30, 2012 #3
    well, if say X distributed as f(X), and say i have Y=g(X), and I want to know the distribution of Y, in a simple case I can say that Y~f(g-1(y))|d/dy g-1(y)|.

    I don't know why we'd always want the absolute value, as opposed to the derivative in general.
     
  5. Nov 30, 2012 #4
    or did you want a specific case? say X~U(0,1), and I want to know say Y=X-1.
    then I can say g-1(y)=y-1., and d/dy g-1(y)=-y2, so then my distribution of Y would be

    f(g-1(y))|d/dy g-1(y)|=y-2.

    I get that if we didn't take the absolute value, then this function would be negative... But aside from that, I'm not seeing an intuitive idea as to why we'd always take the absolute value.
     
  6. Nov 30, 2012 #5

    Ray Vickson

    User Avatar
    Science Advisor
    Homework Helper

    [tex]P\{y < Y < y + dy\} = P\{y < g(X) < y + dy\}.[/tex] If g is an increasing function we have
    [tex] P\{y < g(X) < y+dy\} = P\{g^{-1}(y) < X < g^{-1}(y+dy) \} =
    P\{ g^{-1}(y) < X < g^{-1}(y) + {g^{-1}}^{\prime} (y) dy\} \doteq f[g^{-1}(y)] {g^{-1}}^{\prime}(y) \, dy.[/tex]
    If g is a decreasing function we have
    [tex] P\{y < g(X) < y+dy\} = P \{ g^{-1}(y+dy) < X < g^{-1}(y) \}
    = P\{ g^{-1}(y) - |{g^{-1}}^{\prime}(y)| \, dy < X < g^{-1}(y) \}
    \doteq f[g^{-1}(y)]\, | {g^{-1}}^{\prime}(y) | \, dy.[/tex] The point is that the *length* of the x-interval corresponding to dy is [itex] | {g^{-1}}^{\prime}(y) | \, dy [/itex], and you need the absolute value so that the length cannot be negative.
     
  7. Nov 30, 2012 #6
    Okay, that makes sense. Thank you.
     
Know someone interested in this topic? Share this thread via Reddit, Google+, Twitter, or Facebook

Have something to add?
Similar Discussions: Intuitive reason absolute values are used for transformations in statistics?
  1. Absolute value (Replies: 7)

  2. Absolute value (Replies: 10)

  3. Absolute Values (Replies: 2)

Loading...