Supppse X
La respuesta de algún libro de texto de teoría de la probabilidad es
f Z ( z ) = { 1 / 2 , si 0 ≤ z ≤ 1 1 / ( 2 z 2 ) , si z > 1 0 , de lo contrario .
Me pregunto, por simetría, no debe f Z ( 1 / 2 ) = f Z ( 2 )
Supppse X
La respuesta de algún libro de texto de teoría de la probabilidad es
f Z ( z ) = { 1 / 2 , si 0 ≤ z ≤ 1 1 / ( 2 z 2 ) , si z > 1 0 , de lo contrario .
Me pregunto, por simetría, no debe f Z ( 1 / 2 ) = f Z ( 2 )
Respuestas:
La lógica correcta es que con X , Y ∼ U ( 0 , 1 ) independientes , Z = YX,Y∼U(0,1) X y
Z-1=XZ=YX Y tiene la mismadistribucióny por lo tanto para0<z<1 P { YZ−1=XY 0<z<1
X ≤z}= P { XY ≤z}= P { YX ≥1z }FZ(z)= 1 - F Z ( 1z )
fuente
Esta distribución es simétrica, si la miras de la manera correcta.
La simetría que ha observado (correctamente) es que Y / X y X / Y = 1 / ( Y / X ) deben distribuirse de manera idéntica. Cuando trabajas con razones y potencias, realmente estás trabajando dentro del grupo multiplicativo de los números reales positivos. El análogo de la medida invariante de ubicación d λ = d x en los números reales aditivos R es la medida invariante de escala d μ = d x / xY/X X/Y=1/(Y/X) dλ=dx R dμ=dx/x en el grupo multiplicativo R∗R∗ of positive real numbers. It has these desirable properties:
dμdμ is invariant under the transformation x→axx→ax for any positive constant aa : dμ(ax)=d(ax)ax=dxx=dμ.
dμdμ is covariant under the transformation x→xbx→xb for nonzero numbers bb : dμ(xb)=d(xb)xb=bxb−1dxxb=bdxx=bdμ.
dμdμ is transformed into dλdλ via the exponential: dμ(ex)=dexex=exdxex=dx=dλ.
(3) establishes an isomorphism between the measured groups (R,+,dλ)(R,+,dλ) and (R∗,∗,dμ)(R∗,∗,dμ) . The reflection x→−xx→−x on the additive space corresponds to the inversion x→1/xx→1/x on the multiplicative space, because e−x=1/exe−x=1/ex .
Let's apply these observations by writing the probability element of Z=Y/XZ=Y/X in terms of dμdμ (understanding implicitly that z>0z>0 ) rather than dλdλ :
fZ(z)dz=gZ(z)dμ=12{1dz=zdμ,if 0≤z≤11z2dz=1zdμ,if z>1.
That is, the PDF with respect to the invariant measure dμdμ is gZ(z)gZ(z) , proportional to zz when 0<z≤10<z≤1 and to 1/z1/z when 1≤z1≤z , close to what you had hoped.
This is not a mere one-off trick. Understanding the role of dμdμ makes many formulas look simpler and more natural. For instance, the probability element of the Gamma function with parameter kk , xk−1exdxxk−1exdx becomes xkexdμxkexdμ . It's easier to work with dμdμ than with dλdλ when transforming xx by rescaling, taking powers, or exponentiating.
The idea of an invariant measure on a group is far more general, too, and has applications in that area of statistics where problems exhibit some invariance under groups of transformations (such as changes of units of measure, rotations in higher dimensions, and so on).
fuente
If you think geometrically...
In the XX -YY plane, curves of constant Z=Y/XZ=Y/X are lines through the origin. (Y/XY/X is the slope.) One can read off the value of ZZ from a line through the origin by finding its intersection with the line X=1X=1 . (If you've ever studied projective space: here XX is the homogenizing variable, so looking at values on the slice X=1X=1 is a relatively natural thing to do.)
Consider a small interval of ZZ s, (a,b)(a,b) . This interval can also be discussed on the line X=1X=1 as the line segment from (1,a)(1,a) to (1,b)(1,b) . The set of lines through the origin passing through this interval forms a solid triangle in the square (X,Y)∈U=[0,1]×[0,1](X,Y)∈U=[0,1]×[0,1] , which is the region we're actually interested in. If 0≤a<b≤10≤a<b≤1 , then the area of the triangle is 12(1−0)(b−a)12(1−0)(b−a) , so keeping the length of the interval constant and sliding it up and down the line X=1X=1 (but not past 00 or 11 ), the area is the same, so the probability of picking an (X,Y)(X,Y) in the triangle is constant, so the probability of picking a ZZ in the interval is constant.
However, for b>1b>1 , the boundary of the region UU turns away from the line X=1X=1 and the triangle is truncated. If 1≤a<b1≤a<b , the projections down lines through the origin from (1,a)(1,a) and (1,b)(1,b) to the upper boundary of UU are to the points (1/a,1)(1/a,1) and (1/b,1)(1/b,1) . The resulting area of the triangle is 12(1a−1b)(1−0)12(1a−1b)(1−0) . From this we see the area is not uniform and as we slide (a,b)(a,b) further and further to the right, the probability of selecting a point in the triangle decreases to zero.
Then the same algebra demonstrated in other answers finishes the problem. In particular, returning to the OP's last question, fZ(1/2)fZ(1/2) corresponds to a line that reaches X=1X=1 , but fZ(2)fZ(2) does not, so the desired symmetry does not hold.
fuente
Just for the record, my intuition was totally wrong. We are talking about density, not probability. The right logic is to check that
∫k1fZ(z)dz=∫11/kfZ(z)=12(1−1k)
and this is indeed the case.
fuente
Yea the link Distribution of a ratio of uniforms: What is wrong? provides CDF of Z=Y/X. The PDF here is just derivative of the CDF. So the formula is correct. I think your problem lies in the assumption that you think Z is "symmetric" around 1. However this is not true. Intuitively Z should be a skewed distribution, for example it is useful to think when Y is a fixed number between (0,1) and X is a number close to 0, thus the ratio would be going to infinity. So the symmetry of distribution is not true. I hope this help a bit.
fuente