Intuitive reason absolute values are used for transformations in statistics?

phiiota
Messages
29
Reaction score
0


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?
 
Physics news on Phys.org
phiiota said:
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?

Can you give an example where this is happening?
 
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.
 
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.
 
phiiota said:
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.

P\{y < Y < y + dy\} = P\{y < g(X) < y + dy\}. If g is an increasing function we have
P\{y &lt; g(X) &lt; y+dy\} = P\{g^{-1}(y) &lt; X &lt; g^{-1}(y+dy) \} = <br /> P\{ g^{-1}(y) &lt; X &lt; g^{-1}(y) + {g^{-1}}^{\prime} (y) dy\} \doteq f[g^{-1}(y)] {g^{-1}}^{\prime}(y) \, dy.
If g is a decreasing function we have
P\{y &lt; g(X) &lt; y+dy\} = P \{ g^{-1}(y+dy) &lt; X &lt; g^{-1}(y) \}<br /> = P\{ g^{-1}(y) - |{g^{-1}}^{\prime}(y)| \, dy &lt; X &lt; g^{-1}(y) \}<br /> \doteq f[g^{-1}(y)]\, | {g^{-1}}^{\prime}(y) | \, dy. The point is that the *length* of the x-interval corresponding to dy is | {g^{-1}}^{\prime}(y) | \, dy, and you need the absolute value so that the length cannot be negative.
 
Okay, that makes sense. Thank you.
 
There are two things I don't understand about this problem. First, when finding the nth root of a number, there should in theory be n solutions. However, the formula produces n+1 roots. Here is how. The first root is simply ##\left(r\right)^{\left(\frac{1}{n}\right)}##. Then you multiply this first root by n additional expressions given by the formula, as you go through k=0,1,...n-1. So you end up with n+1 roots, which cannot be correct. Let me illustrate what I mean. For this...
Back
Top