Lecture 10
Lecture 10
Distribution of Range
Let X 1 , X 2 , . . . , X n be a random sample of size n from a continuous population with PDF f(x)
and CDF F(x). Let the sample values are arranged in order of magnitude as
X 1 : n≤ X 2 : n≤. . .≤ X n : n where X 1 : n and X n: n are the smallest and largest value in the ordered
sample, respectively.
The sample range is defined as the difference between the highest and lowest order statistics. So the
range is
W = X n :n − X 1 : n
Let X 1 : n= x and X n : n= y
The joint density of X 1 : n and X n: n is
Eves through the integration to be carried out in (i) does not assume a manageable form in many
cases, the CDF of W does take on a simpler form and may be derived as
w0
Distribution of Median
Consider the sample size n to be odd. Then, from the distribution of rth order statistics we have PDF
of the sample median X¯ n= X (n+1)/ 2 :n to be
n +1 n+1
n! 2
−1 n−
2
f x̄ ( x)= [ F ( x)] f ( x) [1− F ( x)]
n
n+1 n+1
(
2
−1 ! n− )(2
! )
n! (n −1 )/ 2 (n−1)/ 2
= 2
[F ( x )] [1−F ( x )] f ( x)
n−1
( {2
)! }
n! (n−1)/ 2
= 2
{ F ( x )[1−F (x)] } f ( x) −∞ < x < ∞
n−1
( {2
)! }
which is the distribution of median when n is odd. From the PDF of the sample median it is
observes that it is symmetric about 0.
Suppose the sample size n is even. The the sample median is given by
1
X¯ n= X n + X n
2 2 :n 2 [
+1 : n ]
Therefore the joint density function of X n/ 2 : n and X (n / 2)+1 : n to be
n n
n! −1 −1
f n n (x 1 x 2)= [ F ( x1 )]2 [1−F (x 2 )] 2 f ( x 1) f (x 2 )
, +1 : n n n n n
2 2 ( −1)!( +1− −1)!( n− −1)!
2 2 2 2
n n
n! −1 −1
= [ F ( x 1 )] [1−F (x 2 )] 2 f ( x1 ) f ( x 2)
2
n n
( −1)!( −1)!
2 2
After Jacobian transformation, the joint density function becomes
f X n/2 :n , X̄ n (x 1 x)= f n n ( x 1 x 2 )|J |
, +1: n
2 2
n n
2 n! 2
−1
2
−1
= 2
[F ( x 1 )] [1−F (2 x− x1 )] f ( x 1) f (2 x− x 1);−∞ < x 1 < x < ∞
n
{( ) }
2
−1 !
. . .. . . . .(i)
The integration to be performed in equation (I) does not assume a manageable form in most cases.
Yet the CDF of the sample median X¯ n can written in a simpler form as
F X̄ ( x 0)=P [ X¯ 0≤x 0 ]
n
x0 x n n
2 n! −1 −1
= 2 ∫∫
[ F (x 1)] 2 [1−F (2 x−x 1)] 2 f (x 1 ) f ( 2 x−x 1 )dx1 dx
n
{( ) }
−∞ − ∞
−1 !
2
By employing Fulbini’s theorem and changing the order of integration, we derive the CDF of X¯ n
as
x0 n x n
F X̄ ( x 0)=
n
n
2 n!
2 ∫ [F ( x 1 )] 2
−1
f ( x1 ) [∫ [1−F (2 x− x 1)] 2
−1
]
f (2 x− x 1)dx dx 1
{( ) }
−∞ −∞
−1 !
2
x0 n n x0 n n
=
n
2 n!
n
[∫ [ F ( x1 )] 2
−1
2
[1−F (x 1)] f (x 1 ) dx 1−∫ [ F ( x 1)] 2
−1
2
[1−F (2 x0 −x 1)] f ( x1 )dx 1 ]
( )( )
2
−1 !
2
!
−∞ −∞
1
Example. The CDF of the midpoint or mid-range M= [ X − X n: n ] in random samples of
2 1:n
size n from a continuous population with CDF F(x) is
x
n−1
F (x)=n ∫ [ F ( 2 xm)−F ( m) ] f (x )dx
inf
Example. Suppose that a sample of size n (n is odd) from a standard uniform distribution. Find the
distribution of sample median.
Solution: Given that X ~U (0,1) then the density function becomes
f (x )=1 ; 0< x <1
and the distribution function is
F (x)=x
The distribution of sample median when n is odd. Therefore,
n+1 n+1
n! 2
−1 n−
2
f (n +1)/ 2 : n ( x )= [ F ( x)] [1−F ( x )] f (x)
n+1 n+1
( 2 )(
−1 ! n−
2
! )
n+1 n+1
n! 2
−1 n−
2
= [ x] [1−x ] .1
n+1 n+1
( 2 )(
−1 ! n−
2
! )
n −1 n−1
n! 2 2
= 2
x (1−x)
n−1
{( ) }
2
!
n−1
n! 2
= 2[
x (1−x) ]
n−1
{( ) }
2
!
This is the distribution of sample median of size n when it is drawn from standard uniform
distribution.
<><><><><><><><> End <><><><><><><><>
References
1. Balakrishnan, N. and A. C. Cohen (2004), Order Statistics and Inference: Estimation
Methods, Academy Press Inc., London.
2. Arnold, B.C., Balakrishnan, N. and Nagaraja, H.N. (2008), First Course in Order
Statistics, John Wiley and Sons, New York.
6. David, H.A. (2003), Order Statistics, 3rd Edition. Wiley Series, New Jersey, Canada.