Download Statistics and Probability Letters Product of n independent uniform

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts

Probability wikipedia , lookup

History of statistics wikipedia , lookup

Statistics wikipedia , lookup

Randomness wikipedia , lookup

Transcript
Statistics and Probability Letters 79 (2009) 2501–2503
Contents lists available at ScienceDirect
Statistics and Probability Letters
journal homepage: www.elsevier.com/locate/stapro
Product of n independent uniform random variables
Carl P. Dettmann, Orestis Georgiou ∗
School of Mathematics, University of Bristol, United Kingdom
article
abstract
info
Article history:
Received 9 July 2009
Received in revised form 3 September 2009
Accepted 9 September 2009
Available online 22 October 2009
We give an alternative proof of a useful formula for calculating the probability density
function of the product of n uniform, independently and identically distributed random
variables. Ishihara (2002) proves the result by induction; here we use Fourier analysis
and contour integral methods which provide a more intuitive explanation of how the
convolution theorem acts in this case.
© 2009 Elsevier B.V. All rights reserved.
To obtain the probability density function (PDF) of the product of two continuous random variables (r.v.) one can take the
convolution of their logarithms. This is explained for example by Rohatgi (1976). It is possible to use this repeatedly to obtain
the PDF of a product of multiple but a fixed number (n > 2) of random variables. This is however a very lengthy process, even
when dealing with uniform distributions supported on the interval [a, b]. We encountered the latter problem, with a = 31
and b = 3, in the article by Armstead et al. (2004) on the approximation for the open-ended stadium billiard dynamical
system; there are undoubtedly other applications in a variety of fields. A formula for calculating the PDF of the product
of n uniform independently and identically distributed random variables on the interval [0, 1] first appeared in Springer’s
book (1979) on ‘‘The Algebra of Random Variables’’. This was then generalized (see Ishihara, 2002) to accommodate for
independent but not identically (i.e. {[ai , bi ], i = 1, 2, . . . , n}) distributed uniform random variables through the use of the
proof by induction. In the current work we use Fourier analysis, as suggested by Springer, to re-derive a subset of Ishihara’s
results: the PDF of a product of n independent and identically distributed uniform [a, b] random variables. Through this
analysis one can see exactly how the n smooth components of the resulting PDF arise from contour integrals in Fourier
space and thus obtain a more intuitive idea of how the convolution theorem (see (Bracewell, 2000)) acts. Specifically, we
shall show that the convergence of the contour integrals defines the supports of the components of the PDF.
1
on the interval x ∈ [a, b] and 0 otherwise, where
Theorem 1. Let Xi be independent random variables with PDF fXi (x) = b−
a
Qn
0 ≤ a < b < ∞ and i = 1, 2, . . . , n, n ≥ 2. Then the PDF of X = i=1 Xi is given by a piecewise smooth function:
f X ( x) =

fXk (x),
0,
an−k+1 bk−1 ≤ x ≤ an−k bk ,
k = 1, 2, . . . , n,
otherwise,
where
fXk (x) =
n−k
X
j =0
(−1)j
(b − a)n (n − 1)!
n
j
ln
bn−j aj
n−1
x
.
l
d k
Remark 1. It is interesting to note that the components’ derivatives ( dx
l fX (x)), of order l = 1, 2, . . . , (n − 2), are continuous
at their end-points while the (n − 1)th derivative is not (see Springer, 1979).
∗
Corresponding author.
E-mail addresses: [email protected] (C.P. Dettmann), [email protected] (O. Georgiou).
0167-7152/$ – see front matter © 2009 Elsevier B.V. All rights reserved.
doi:10.1016/j.spl.2009.09.004
2502
C.P. Dettmann, O. Georgiou / Statistics and Probability Letters 79 (2009) 2501–2503
Remark 2. The known result that ln X = ln i=1 Xi =
i=1 ln Xi is Gamma distributed (∼ − 0 (n, 1)), as explained by
Devroye (1986), is only valid for a = 0, with the natural normalization b = 1. Unfortunately, we cannot find a representation
in terms of standard distributions if a > 0. We can however comment that according to the Central Limit Theorem (CLT),
the distribution of ln X converges asymptotically to the Normal distribution. In fact, since the third central moment of ln Xi
exists and is finite, then by the √
Berry–Essen theorem (see Feller, 1972), the convergence is uniform and the convergence
rate is at least of the order of 1/ n; this can be used to approximate fX (x) for large n where direct numerical computation
is inefficient.
Qn
Pn
1
Proof. Let Yi = ln Xi . Then the PDF of Yi is fYi (y) = b−
ey = κ ey supported on y ∈ (ln a, ln b) and is zero otherwise. We find
a
the characteristic function by taking the Fourier transform of fYi (y):
F (fYi (y))(η) = E(e
iηYi
) = fˆYi (η) =
∞
Z
κ ey eiηy dy,
−∞
=
κ
beiη ln b − aeiη ln a .
(1 + iη)
(1)
The convolution theorem (see Bracewell, 2000) states that the characteristic function (c.f.) of the sum of n random variables
Pn
ˆ
is given by the product of the individual c.f. of each r.v. Hence, the c.f. of Y =
i=1 Yi is given by the nth power of fYi (η)
which we expand here using the binomial theorem:
[fˆYi (η)]n = fˆY (η) =
n
X
κ n (−1)j n (n−j) j iηλj
b
ae
(1 + iη)n j
j =0
(2)
where λj = (n − j) ln b + j ln a. To perform the inverse Fourier transform we shall use Cauchy’s residue theorem (see Knopp,
1996). Note that according to Springer (1979), we should expect n piecewise
continuous
components which make up a C n−2
curve. Also note that the inverse Fourier transform of Eq. (2), F −1 [fˆYi (η)]n (y), will have support only in the interval
(n ln a, n ln b).
Z ∞
1
F −1 [fˆYi (η)]n (y) =
fˆY (η)e−iηy dη
2π −∞
n
Z ∞X
n κ n (−1)j
b(n−j) aj eiη(λj −y)
j
=
dη
2π (η − i)n (i)n
−∞ j=0
Z ∞X
n
≡
hj (η, y)dη,
(3)
−∞ j=0
where the integral–sum order can be interchanged. We define two contours γm (m = 1, 2) such that γ1 goes along the real
axis from −R to R and then into the upper complex plane along an anticlockwise semicircular arc of radius R > 1, centered
at the origin, γc1 ⊂ γ1 . Contour γ2 is defined similarly but going into the lower complex plane along a clockwise semicircular
arc of radius R, γc2 ⊂ γ2 . Notice that for all j there is only one pole due to hj (η, y) enclosed by γ1 , that it is of order n, that it
is situated at η0 = i and that there are no poles in γ2 . We use the residue theorem to calculate
I
hj (η, y)dη = 2π iRes hj (η, y), i
γ1
(κ)n (−1)j
=
(n − 1)!
n
j
(n−1) y
λj − y
e .
(4)
The choice of contour to be used for every 0 ≤ j ≤ n and y ∈ (n ln a, n ln b) when calculating (3) depends on the sign of
the exponential. In other words, m depends on both j and y. Explicitly, we write η = R(cos φ + i sin φ) and estimate the
integrals over the semicircular arcs γc1 and γc2 :
Z
γcm
hj (η, y)dη =
Z
γcm
g (R, φ)e−R sin φ(λj −y) dφ,
(5)
where g (R, φ) = O (R−n+1 ), as R → ∞. For n ≥ 2 we know that if the exponent −R sin φ(λj − y) ≤ 0, then the integrals in
(5) will converge to zero. We rearrange this inequality to find that for γ1 we need j ≤ j∗ (y) while for γ2 we need j > j∗ (y),
n ln b−y
where j∗ (y) = b ln b−ln a c and b.c denotes the floor function. Note that when λj = y, both contour integrals (along γc1 and
C.P. Dettmann, O. Georgiou / Statistics and Probability Letters 79 (2009) 2501–2503
2503
γc2 ) converge and we see that (4) is identically zero. Hence we obtain the following equation:
n Z ∞
X
hj (η, y)dη
fY (y) =
j =0
=
−∞
j∗ (y) I
X
γ1
j =0
hj (η, y)dη −
!
Z
γc1
hj (η, y)dη
n
X
+
I
j=j∗ (y)+1
hj (η, y)dη −
γ2
!
Z
γc2
hj (η, y)dη
(6)
as R → ∞, where all integrals along γc1 , γ2 and γc2 vanish and the remaining integral is given by (4). Note that the sums
in (6) only make sense if 0 ≤ j∗ (y) < n, as expected from the known support of y. We find n intervals on which fY (y) is
supported and number them with k = 1, 2, . . . , n, where k = n − j∗ (y). To obtain fX (x), as given in Theorem 1, simply
transform back to X = exp(Y ). Pn H
j =0
γm hj (η, y)dη = 0 for both m = 1 and m = 2 and for any
(n−1)
y as R → ∞. To see this for m = 1, expand (λj − y)
using the binomial theorem, collect the j-dependent terms and
interchange the sums to obtain
Remark 3. It is an interesting exercise to show that
n X
H
γ1
hj (η, y)dη =
n−1
P
l=0
j=0
(κ)n (ln ba ) ey
(n−1)!(i)n−1
l
n −1
l
(n ln b − y)n−1−l
n
P
(−1)j
j =0
n
j
jl .
To show that the last sum over j is zero, we write it as
n
X
n l ls j
(−1)
je j
j =0
=
s =0
n
dl X
dsl j=0
(−1)
j
n
j
e ls
s =0
n dl
= l 1 − es = 0,
ds
s=0
for all 0 ≤ l ≤ (n − 1). For m = 2, the contour integral is zero as there are no poles enclosed by the contour.
Remark 4. To prove Ishihara’s general result (where the Xi ’s are not identically distributed), one would have to expand the
product
Qn
j =1
(bj e
iη ln bj
−a j e
(bj −aj )
iη ln aj
)
and evaluate the (n − 1)th derivative at η = i, and then look at the various contour integrals
as above. While possible in principle, this would defeat the purpose of this work, namely a simpler but more explicit and
intuitive derivation of the result.
Acknowledgements
We would like to thank Dr S. Volkov for helpful discussions and the anonymous referee for helpful suggestions.
References
Armstead, D.N., Hunt, B.R., Ott, E., 2004. Power-law decay and self-similar distributions in stadium-type billiards. Physica D 193, 96–127.
Bracewell, R.N., 2000. Convolution theorem. In: The Fourier Transform and Its Applications, 3rd ed. McGraw-Hill, Boston.
Devroye, L., 1986. Non-Uniform Random Variate Generation. Springer-Verlag, New York, p. 405.
Feller, W., 1972. An Introduction to Probability Theory and Its Applications, vol. II, 2nd ed. John Wiley and Sons Inc., New York.
Ishihara, T., 2002. The distribution of the sum and the product of independent uniform random variables distributed at different intervals, Transactions of
the Japan Society for Industrial and Applied Mathematics, 12, (3), 197 (in Japanese).
Knopp, K., 1996. The residue theorem. In: Theory of Functions, Part I. Dover, New York, pp. 129–134.
Rohatgi, V.K., 1976. An Introduction to Probability Theory and Mathematical Statistics. John Wiley and Sons Inc., New York, p. 141.
Springer, M.D., 1979. The Algebra of Random Variables. John Wiley and Sons Inc., New York.