Si se trata de tarea o de autoaprendizaje, agregue la etiqueta correspondiente. No (usualmente) resolvemos tales problemas por usted, sino que lo ayudamos a guiarlo hacia una solución usted mismo, lo que en general le dará una mejor comprensión de cómo resolver dichos problemas en el futuro.
¿Has intentado crear una segunda variable? DecirW=X+Y? Entonces podría obtener la distribución conjunta deW,Z e integrarse W para obtener la distribución de Z.
1
No veo dónde está utilizando el hecho de que la función de densidad Beta es cero en el complemento del intervalo [0,1].
whuber
@whuber Creo que encontré el error. ¿Desea dar una respuesta completa o lo hago yo solo?
tam
Respuestas:
9
Después de algunos comentarios valiosos, pude encontrar la solución:
We have fX(x)=1B(1,K−1)(1−x)K−2 and fY(y)=12KΓ(K)yK−1e−y/2.
Also, we have 0≤x≤1. Thus, if x=zy, we get 0≤zy≤1 which implies that z≤y≤∞.
There is a pleasant, natural statistical solution to this problem for integral values of K, showing that the product has a χ2(2) distribution. It relies only on well-known, easily established relationships among functions of standard normal variables.
When K is integral, a Beta(1,K−1) distribution arises as the ratio
Any χ2(n) distribution is that of the sum of squares of n independent standard Normal variates. Consequently, X+Z is distributed as the squared length of a 2+2K−2=2K vector with a standard multinormal distribution in R2K and X/(X+Z) is the squared length of the first two components when that vector is radially projected to the unit sphere S2K−1.
The projection of a standard multinormal n-vector onto the unit sphere has a uniform distribution because the multinormal distribution is spherically symmetric. (That is, it is invariant under the orthogonal group, a result that follows immediately from two simple facts: (a), the orthogonal group fixes the origin and by definition does not change covariances; and (b) the mean and covariance completely determine the multivariate normal distribution. I illustrated this for the case n=3en https://stats.stackexchange.com/a/7984 ). De hecho, la simetría esférica muestra inmediatamente que esta distribución es uniforme condicional a la longitud del vector original. El radioX/(X+Z)por lo tanto es independiente de la longitud.
Lo que todo esto implica es que multiplicar X/(X+Z) por un independiente χ2(2K) variable Y creates a variable with the same distribution as X/(X+Z) multiplied by X+Z; to wit, the distribution of X, which has a χ2(2) distribution.
Very nice analogy! I feel a bit uncertain about the final paragraph though as the simplification only occur because X+Z is on both sides of the multiplication, which cannot work for an independentχ2(2K).
Xi'an
1
But after some further musing in the Paris métro, I realised that because X/(X+Z) and (X+Z) are independent, using (X+Z)×X/(X+Z) or using Y×X/(X+Z) lead to the same distribution. Congrats!
Xi'an
1
addendum: the reasoning goes for non-integer K's as well, if one defines a χ2q as a Gamma Ga(q/2,1/2).
Xi'an
1
@Xi'an Thank you for those revealing comments. Indeed, one way to exploit the recognition that X/(X+Z) and X+Z are independent is to pursue the implication that their density functions will be separable: and that idea applies without modification to the general case of non-integral K. Even for those who prefer to compute the convolution XY directly, these statistical insights suggest a simple and effective way of proceeding with the integration by means of an appropriate change of variables.
whuber
3
I greatly deprecate the commonly used tactic of finding the density of Z=g(X,Y) by computing first computing the joint density of Z and
X (or Y) because it is "easy" to use Jacobians, and then getting
fZ as a marginal density (cf. Rusty Statistician's answer). It is much easier to find the CDF of Z directly and then differentiate
to find the pdf. This is the approach used below.
X and Y are independent random variables with densities
fX(x)=(K−1)(1−x)K−21(0,1)(x) and
fY(y)=12K(K−1)!yK−1e−y/21(0,∞)(y).
Then, with Z=XY, we have for z>0,
P{Z>z}=P{XY>z}=∫∞y=z12K(K−1)!yK−1e−y/2[∫1x=zy(K−1)(1−x)K−2dx]dy=∫∞y=z12K(K−1)!yK−1e−y/2(1−zy)K−1dy=∫∞y=z12K(K−1)!(y−z)K−1e−y/2dy=e−z/2∫∞012K(K−1)!tK−1e−t/2dyon settingy−z=t=e−z/2on noting that the integral is that of a Gamma pdf
It is well-known that if V∼Exponential(λ), then P{V>v}=e−λv. It follows that Z=XY has an
exponential density with parameter λ=12,
which is also the χ2(2) distribution.
Respuestas:
Después de algunos comentarios valiosos, pude encontrar la solución:
We havefX(x)=1B(1,K−1)(1−x)K−2 and fY(y)=12KΓ(K)yK−1e−y/2 .
Also, we have0≤x≤1 . Thus, if x=zy , we get 0≤zy≤1 which implies that z≤y≤∞ .
Hence:
SoZ follows an exponential distribution of parameter 12 ; or equivalently, Z∼χ22 .
fuente
There is a pleasant, natural statistical solution to this problem for integral values ofK , showing that the product has a χ2(2) distribution. It relies only on well-known, easily established relationships among functions of standard normal variables.
WhenK is integral, a Beta(1,K−1) distribution arises as the ratio
Anyχ2(n) distribution is that of the sum of squares of n independent standard Normal variates. Consequently, X+Z is distributed as the squared length of a 2+2K−2=2K vector with a standard multinormal distribution in R2K and X/(X+Z) is the squared length of the first two components when that vector is radially projected to the unit sphere S2K−1 .
The projection of a standard multinormaln -vector onto the unit sphere has a uniform distribution because the multinormal distribution is spherically symmetric. (That is, it is invariant under the orthogonal group, a result that follows immediately from two simple facts: (a), the orthogonal group fixes the origin and by definition does not change covariances; and (b) the mean and covariance completely determine the multivariate normal distribution. I illustrated this for the case n=3 en https://stats.stackexchange.com/a/7984 ). De hecho, la simetría esférica muestra inmediatamente que esta distribución es uniforme condicional a la longitud del vector original. El radioX/(X+Z) por lo tanto es independiente de la longitud.
Lo que todo esto implica es que multiplicarX/(X+Z) por un independiente χ2(2K) variable Y creates a variable with the same distribution as X/(X+Z) multiplied by X+Z ; to wit, the distribution of X , which has a χ2(2) distribution.
fuente
I greatly deprecate the commonly used tactic of finding the density ofZ=g(X,Y) by computing first computing the joint density of Z and
X (or Y ) because it is "easy" to use Jacobians, and then getting
fZ as a marginal density (cf. Rusty Statistician's answer). It is much easier to find the CDF of Z directly and then differentiate
to find the pdf. This is the approach used below.
It is well-known that ifV∼Exponential(λ) , then P{V>v}=e−λv . It follows that Z=XY has an
exponential density with parameter λ=12 ,
which is also the χ2(2) distribution.
fuente