Supposons que et sont standard uniformément distribués dans , et ils sont indépendants, quel est le PDF de ?
La réponse d'un manuel de théorie des probabilités est
Je me demande, par symétrie, ne doit pas ? Ce n'est pas le cas selon le PDF ci-dessus.
Réponses:
La bonne logique est qu'avec indépendant , Y ∼ U ( 0 , 1 ) , Z = YX,Y∼U(0,1) et
Z-1=XZ=YX ont la mêmedistributionet donc pour0<z<1 P { YZ−1=XY 0<z<1
où l'équation avec les CDF utilise le fait queY
la source
This distribution is symmetric--if you look at it the right way.
The symmetry you have (correctly) observed is thatY/X and X/Y=1/(Y/X) must be identically distributed. When working with ratios and powers, you are really working within the multiplicative group of the positive real numbers. The analog of the location invariant measure dλ=dx on the additive real numbers R is the scale invariant measure dμ=dx/x on the multiplicative group R∗ of positive real numbers. It has these desirable properties:
(3) establishes an isomorphism between the measured groups(R,+,dλ) and (R∗,∗,dμ) . The reflection x→−x on the additive space corresponds to the inversion x→1/x on the multiplicative space, because e−x=1/ex .
Let's apply these observations by writing the probability element ofZ=Y/X in terms of dμ (understanding implicitly that z>0 ) rather than dλ :
That is, the PDF with respect to the invariant measuredμ is gZ(z) , proportional to z when 0<z≤1 and to 1/z when 1≤z , close to what you had hoped.
This is not a mere one-off trick. Understanding the role ofdμ makes many formulas look simpler and more natural. For instance, the probability element of the Gamma function with parameter k , xk−1exdx becomes xkexdμ . It's easier to work with dμ than with dλ when transforming x 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).
la source
If you think geometrically...
In theX -Y plane, curves of constant Z=Y/X are lines through the origin. (Y/X is the slope.) One can read off the value of Z from a line through the origin by finding its intersection with the line X=1 . (If you've ever studied projective space: here X is the homogenizing variable, so looking at values on the slice X=1 is a relatively natural thing to do.)
Consider a small interval ofZ s, (a,b) . This interval can also be discussed on the line X=1 as the line segment from (1,a) to (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] , which is the region we're actually interested in. If 0≤a<b≤1 , then the area of the triangle is 12(1−0)(b−a) , so keeping the length of the interval constant and sliding it up and down the line X=1 (but not past 0 or 1 ), the area is the same, so the probability of picking an (X,Y) in the triangle is constant, so the probability of picking a Z in the interval is constant.
However, forb>1 , the boundary of the region U turns away from the line X=1 and the triangle is truncated. If 1≤a<b , the projections down lines through the origin from (1,a) and (1,b) to the upper boundary of U are to the points (1/a,1) and (1/b,1) . The resulting area of the triangle is 12(1a−1b)(1−0) . From this we see the area is not uniform and as we slide (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) corresponds to a line that reaches X=1 , but fZ(2) does not, so the desired symmetry does not hold.
la source
Just for the record, my intuition was totally wrong. We are talking about density, not probability. The right logic is to check that
and this is indeed the case.
la source
Yea the link Distribution of a ratio of uniforms: What is wrong? provides CDF ofZ=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.
la source