Vous êtes sur la page 1sur 12

Journal of Modern Applied Statistical

Methods
Volume 9 | Issue 1 Article 26

5-1-2010

A Comparative Study for Bandwidth Selection in


Kernel Density Estimation
Omar M. Eidous
Yarmouk University, Irbid, Jordan, omarm@yu.edu.jo

Mohammad Abd Alrahem Shafeq Marie


Yarmouk University, Irbid, Jordan, mohammadmarie@yahoo.com

Mohammed H. Baker Al-Haj Ebrahem


Yarmouk University, Irbid, Jordan, malhaj@yu.edu.jo

Follow this and additional works at: http://digitalcommons.wayne.edu/jmasm


Part of the Applied Statistics Commons, Social and Behavioral Sciences Commons, and the
Statistical Theory Commons

Recommended Citation
Eidous, Omar M.; Marie, Mohammad Abd Alrahem Shafeq; and Ebrahem, Mohammed H. Baker Al-Haj (2010) "A Comparative
Study for Bandwidth Selection in Kernel Density Estimation," Journal of Modern Applied Statistical Methods: Vol. 9 : Iss. 1 , Article 26.
DOI: 10.22237/jmasm/1272687900
Available at: http://digitalcommons.wayne.edu/jmasm/vol9/iss1/26

This Regular Article is brought to you for free and open access by the Open Access Journals at DigitalCommons@WayneState. It has been accepted for
inclusion in Journal of Modern Applied Statistical Methods by an authorized editor of DigitalCommons@WayneState.
Journal of Modern Applied Statistical Methods Copyright © 2010 JMASM, Inc.
May 2010, Vol. 9, No. 1, 263-273 1538 – 9472/10/$95.00

A Comparative Study for Bandwidth Selection in Kernel Density Estimation

Omar M. Eidous Mohammad Abd Alrahem Shafeq Marie Mohammed H. Baker Al-Haj Ebrahem
Yarmouk University, Irbid, Jordan

Nonparametric kernel density estimation method does not make any assumptions regarding the functional
form of curves of interest; hence it allows flexible modeling of data. A crucial problem in kernel density
estimation method is how to determine the bandwidth (smoothing) parameter. This article examines the
most important bandwidth selection methods, in particular, least squares cross-validation, biased cross-
validation, direct plug-in, solve-the-equation rules and contrast methods. Methods are described and
expressions are presented. The main practical contribution is a comparative simulation study that aims to
isolate the most promising methods. The performance of each method is evaluated on the basis of the
mean integrated squared error for small-to-moderate sample size. Simulation results show that the
contrast method is the most promising methods based on the simulated families considered.

Key words: Probability Density Function, Bandwidth, Least Squares Cross-Validation, Biased Cross-
Validation, Contrast Method, Direct Plug-In, Solve-The-Equation Rules.

Introduction minimizing the MISE or AMISE. Unfortunately,


The Kernel method is widely used in none of these are available in practice because
nonparametric density estimation. It produces a all of them depend on the unknown probability
kernel estimator for the unknown probability density function. (See Bowman, 1984; Stone,
density function (p.d.f) f (x) . Many researchers 1984; Hall & Marron, 1985; Scott & Terrell,
have observed that the choice of the bandwidth 1987; Sheather & Jones, 1991.)
(smoothing) parameter, h, is crucial for the Marron (1988) presented a list of
effective performance of the kernel estimator various methods with discussion, and a survey
(for example, see Scott, 1992). A method that of smoothing methods for density estimation is
provided by Titterington (1985). Sheather
uses the data X 1 , X 2 ,..., X n to produce a value (1992) applied several bandwidth selectors to
for the bandwidth h is termed a bandwidth the Old Faithful data. Janssen, et al. (1995)
selector or data-driven selector. developed and improved scale measures for use
Various data-driven methods for in bandwidth selection. Ahmad and Fan (2001)
selecting the bandwidth have been proposed and obtained the optimal theoretical bandwidth h in
studied. Most of these methods are based on the general case. Ahmad and Mugdadi (2003)
discussed data-based choices of the bandwidth
and analyze the kernel density estimation.
Let X 1 , X 2 ,..., X n be a random sample
Omar M. Eidous is Associate Professor on the
of size n from a continuous univariate
Faculty of Science in the Department of
Statistics. Email: omarm@yu.edu.jo. distribution with an unknown pdf f (x) , then
Mohammad Abd Alrahem Shafeq Marie is A the kernel density estimator of f (x) , x ∈ R is
graduate Student on the Faculty of Science in defined by Silverman (1986) as
the Department of Statistics. Email:
mohammadmarie@yahoo.com. Mohammed H. 1 n
Baker Al-Haj Ebrahem is Associate Professor on fˆ ( x ; h ) =  K h(x − X i ) . (1.1)
n i =1
the Faculty of Science in the Department of
Statistics. Email: malhaj@yu.edu.jo.

263
BANDWIDTH SELECTION IN KERNEL DENSITY ESTIMATION

−1
where K h (u ) = h K (uh ) . K is the kernel
−1 Formula (1.3) is disappointing because the
optimal bandwidth is a function of the second
function and is assumed to be symmetric
derivative of the density function being
(Silverman, 1986), and h is the bandwidth (or
estimated. Therefore, unless the true density is
the smoothing parameter) that controls the
known, it is impossible to know the optimal
degree of smoothing applied to the data. Both K
bandwidth. Moreover, when the true density is
and h are under the control of the user, therefore,
known, no estimation problem exists.
their determination is necessary in order to ∞
Nonetheless, the quantity in
analyze results about the kernel estimator.
The bandwidth can be chosen to
 (f
−∞
′′( x )) 2 dx

minimize the asymptotic mean integrated square (1.3) can be estimated by using a kernel
error, or AMISE (Silverman, 1986). In this case, estimator.
h can be obtained by minimizing
Methodology
∞ Selecting the Bandwidth
(
 B ia s fˆ ( x )
) + V a r ( fˆ ( x ))  d x .
2
M IS E = 
−∞
  The practical implementation of the
(1.2) kernel density estimator requires specification of
the bandwidth h. A widely used criterion is to
choose an h that minimizes the AMISE: the
If Bias fˆ( x ) and V ar (fˆ ( x )) are substituted bandwidth controls the smoothness of the fitted
into (1.2), then h is obtained by solving the density curve. Note that a larger h provides a
following equation smoother estimate with smaller variance and
larger bias, while a smaller h produces a rougher
min AMISE = estimate with larger variance and smaller bias.
h
Most methods for choosing the
 1 2


2
f ( x)

 bandwidth presented in the literature are
min   h f ′′( x)k2  +  K 2
(t ) dt  dx proposed when the underlying probability
h
 2
−∞   nh −∞  density function, f(x) has support ( −∞, ∞ ) . In
addition, by surveying the literature, it was
Taking the derivative of AMISE with respect to found that the methods represented herein are
h and equating to zero yields, commonly used to estimate the smoothing
1/ 5 − 1/ 5
parameter h in practice.
 ∞   ∞ 
  K (t ) d t    f ′′ ( t ) d t 
−2 /5
h=k 2 2
n − 1/ 5
2 Least squares cross-validation (LSCV)
 − ∞   − ∞ 
1/ 5
Least squares cross-validation (LSCV),
 μ (K )  proposed by Rudemo (1982) and Bowman
=  ,
 k 2 R ( f ′′ ) n 
2
(1984), is a completely automatic method for
(1.3) choosing the bandwidth h. Following Rudemo’s
(1982) derivations, the optimal bandwidth
where estimator can be obtained by minimizing:

t LSCV( h ) =
2
k2 = K (t ) dt ,
−∞ ∞ n n

 fˆ 2 ( x; h ) dx − 2 n −1 ( n − 1) −1   K h ( X i − X j )
μ (K ) = K
2
(t ) dt , −∞ i =1 j ≠ i
−∞
and (1.4)

R (f ′′) =  f ′′ (t ) dt .
2
According to Rudemo (1982), formula (1.4) is
−∞
derived based on the exact MISE. If the kernel
function is Gaussian density, then

264
EIDOUS, SHAFEQ MARIE & AL-HAJ EBRAHEM


is the Gaussian kernel. Because k 2 = 1 and
 fˆ 2 ( x; h ) dx
1
−∞ μ (K ) = , BCV(h) is given by
1 ∞ x − Xi   x − X j 
n n 2 π
= 2 2  K  K  dx
n h −∞ i =1 j =1  h   h  BC V (h) =
n n ( X i − X j )2 1
1 − +
=
2n 2 h π
e
i =1 j =1
2 h2
2 nh π
3  n n −
( X i − X j )2

 h4  e 4h2
and 32n 2h5 π 
 i =1 j =1

n n ( X i − X j )2
( X i − X j )2 −
n n
1 n n
1 − −h 2
  (X − X j) e 2 4h2

 
i =1 j ≠ i
Kh ( X i − X j ) =  
h i =1 j ≠ i 2π
e 2 h2
. i =1 j =1
i

1 n n −
( X i − X j )2 
+
12
  (X i − X j) e 4 4h2 

i =1 j =1

Therefore,

LSCV(h)=
The optimal value of h is obtained by
n n ( X i − X j )2 minimizing BCV(h) over h.
1 −

2n h π
2  e 2 h2

i =1 j =1 Direct Plug-In (DPI)


n n ( X i − X j )2 The DPI method is based on the idea of
1 −
− 2n −1 (n − 1)−1 h −1  e 2 h2 plugging in an estimate of unknown quantity
i =1 j ≠ i 2π μ (f ( r ) ) in equation (1.6):
(1.5)

 (f )
2
The optimal bandwidth h is obtained by μ (f (r )
)= (r )
(x ) dx , r = 2, 4, 6, 8, …
−∞
minimizing the right side of (1.5) over h.

Biased Cross-Validation (BCV) Sheather and Jones (1991) developed an


While LSCV method used exact MISE, estimator for μ (f ( r ) ) based on the kernel
the biased cross-validation (BCV) is based on estimator with bandwidth g, which is given by:
the AMISE (Scott & Terrell, 1987). The BCV
method suggests the use of the second derivative n

of the traditional kernel estimator as opposed to μ( f (r )


) = n − 1  fˆ ( r ) ( X i ; g )
the unknown second derivative of f(x). The BCV i =1
n n
objective function is thus given by:
= n −2  K (r )
g ( X i − X j ).
i =1 j =1
h4 2 ˆ (1.7)
BCV(h) = k2 μ ( f ′′( x; h)) + (nh) −1 μ ( K )
4
(1.6) According to Wand and Jones (1995), the bias
term of the estimator (1.7) can be made to
∞ vanish by choosing g to be equal
where μ (f ) = f
2
dt and fˆ ′′( x ; h ) is the
1 /( r + 3 )
−∞  − 2 K ( r ) (0 )  (1.8)
second derivative of the kernel estimator and K g =  
 μ (f
(r +2)
)k2 n 

265
BANDWIDTH SELECTION IN KERNEL DENSITY ESTIMATION

The problem is persistent because it is apparent  2 K ( 4) (0) k 2 


1/ 7

from (1.8) that the optimal bandwidth g for γ (h ) =   ( −ψˆ 4 ( g 1 ) / ψˆ 6 ( g 2 ))1/ 7 h 5 / 7


estimating μ (f ( r ) ) depends on μ (f ( r + 2) ) . To  R (K ) 
overcome this problem Sheather and Jones
where ψˆ 4 ( g 1 ) and ψˆ 6 ( g 2 ) are kernel estimates
(1991) suggested estimating μ (f ( r ) ) at some
stage and using a simple estimate of bandwidth of ψ4 and ψ 6 , respectively (Sheather & Jones,
g chosen with reference to a parametric family, 1991). The choice of g 1 and g 2 may be
usually a normal density.
Thus, a family of DPI bandwidth determined by using:
selectors exist which depends on the number of 1/ 7
stages of functional estimation before a normal  − 2 K ( 4 ) (0 ) 
g1 =  
scale (NS) is used. Such a rule will be called an  ψˆ 6 k 2 n 
l-stage DPI bandwidth selector and is denoted by and
hˆDPI ,l . The NS may be considered to be a zero-
1/ 9
 − 2 K ( 6 ) (0 ) 
g2 =  
stage DPI bandwidth selector. Wand and Jones  ψˆ 8 k 2 n 
(1995) pointed out that no method exists for where:
objective choice of the number of iterations that 105
ψˆ 8 = ,
should be used. If f is a normal density with 32 π σˆ 9
mean 0 and variance σ , then according to
2

Wand and Jones (1995), r will be − 15


ψˆ 6 = ,
16 π σˆ 7
(−1) r / 2 r !
μ ( f (r ) ) = .
(2σ ) r +1 (r / 2)! π K (4)
(0 ) = 3 2π ,
and
Note that simulation results presented for the K (6)
(0) = − 15 2π .
DPI method in the simulation are based on the
use of a two-stage DPI bandwidth selector to Note that this two-stage STE bandwidth selector
find the bandwidth. An algorithm for the two- was used to find the bandwidth in the simulation
stage DPI method is given by Sheather and
Jones (1991). and the algorithm used to find the hˆSTE ,2 was
based on Sheather and Jones (1991).
Solve-the-Equation (STE)
The solve-the-equation (STE) rule is Contrast Method (CONT)
based on the formula for the AMISE-optimal Ahmad and Ran (1998) introduced the
bandwidth. Many authors (Scott, et al., 1977; concept of kernel contrast to select the
Sheather, 1986; Park & Marron, 1990; Sheather bandwidth h by studying its finite sample and
& Jones, 1991) have required that h be chosen to asymptotic properties. The first step in the
satisfy the relationship: CONT method is to define the kernel density
estimations f ˆj ( x ; h ) based on q kernels,
1/ 5
 μ (K )  K1 , K 2 ,..., K q , q ≥ 2 . After selecting the
h = 2 
 k 2ψˆ 4 (γ (h ))n  contrast coefficients p1 , p2 ,..., pq , where
q

where the pilot bandwidth for the estimation of p j = 0 , the bandwidth that minimizes the
ψ 4 is a function γ of h. The choice of γ may
j =1

MISE(h)CONT is selected. However, a reasonable


be denoted by:
choice for estimating h is to minimize

266
EIDOUS, SHAFEQ MARIE & AL-HAJ EBRAHEM

ISE(h)CONT , which does not depend on the ISE(h)CONT =


unknown density function f(t). This method was  1 ∞ 2
 n  x − Xi 
proposed by Ahmad and Ran (2004), where  2 2
 2n h −∞   K1 
 h
  dx

 i =1
∞  q 
2

M IS E ( h ) C O N T = E     p j fˆ j ( x ; h )  d x  1
∞ n n
  x− Xj 
 x − Xi
 − ∞  j = 1   − 2 2
nh   K 
−∞ i =1 j =1
K 2  h  dx
 
1
 h
and
1

 n  x − X j 
2

+ 2 2    K 2   dx 
2 2n h −∞  j =1  h   

 q  
ISE ( h ) C O N T =    p j fˆ j ( x ; h )  dx .
−∞  j =1 
where:
( x − X i )2
Ahmad and Mugdadi (2003) showed that the  x − Xi  1 −
K1  = e 2 h2
estimator based on the ISE(h)CONT for f(x) is  h  2π
consistent. The density estimation using a kernel and
contrast is denoted by
(x− X )2
 x − X j  1 −
j

q
K2  = e 8h2 .
 h  2 2 π
fˆ ( x; h ) =  c j fˆ j ( x; h ).
j =1
Therefore,
The kernels may have an equal weight if q is
chosen as an even integer, where ISE ( h ) CONT =
 ∞ n ( x − X i )2 
2
1 1 −
= 2 2     dx
q 2

= 1 ; c j = 1/ q for j=1,…, q e 2h
c j  2n h −∞  i =1 2π 
j =1
 
∞ n ( x − X i )2 n ( x − X j )2
and 1 1 − 1 −
− 2 2  
2
8h2
e 2h
e dx
n h −∞ i =1 2π j =1 2 2π

q
pj = 0; p j = −p2 j for j=1,…, q / 2. ∞  n ( x− X j ) 2

2

1 1
 dx 

+ −∞  

j =1 2
e 8h
2n 2h 2 2 2π  
 j =1  
The simulation results in this article were found
( X i − X j )2
by taking, p1 = −p2 , p 2 = −1 , c1 = c2 = 1/ 2 , 31 n n −
= − 2 2
8h π n h
e 10 h 2

where K1, K2 are the two kernels N(0,1) and i =1 j =1

N(0,4), respectively. Therefore,


Simulation Study
ISE(h)CONT =
A simulation study was conducted to
1  n 
2 compare the several methods discussed for

1  x − Xi  n 1  x − X j 
   K1 − K2    dx  selecting the bandwidth of a kernel density
2  −∞  nh  h  j =1 nh  h   
  i =1  estimator. The methods compared to estimate
the bandwidth h - and consequently f(x) - are:
least squares cross-validation (LSCV), biased
Thus,
cross-validation (BCV), direct plug-in (DPI),
solve-the-equation (STE) rules and contrast
(CONT). It is important to understand the effects

267
BANDWIDTH SELECTION IN KERNEL DENSITY ESTIMATION

of the different methods for the estimator of f(x) Fryer (1976) and Deheuvels (1977) first
for different values of the sample size, n. In this showed that the MISE could be calculated
study, four different normal mixture densities exactly when both the underlying density and
were simulated; these densities are (Marron & the kernel function are Gaussian. The integrated
Wand, 1992): squared error (ISE) of the estimator - if the true
underlying density is known to be f(x) as in
a. Gaussian: equation (1.37) - is given by Marron and Wand
f 1 (x ) = φ (x ) . (1992) as

∞ 2
b. Kurtotic Unimodal: ISE( fˆ ) =   fˆ ( x; h) − f ( x )  dx
−∞  
f 2 ( x ) = 23 φ ( x ) + 1
3
φ1 /1 0 ( x )
n n
1
= 2  φh 2 ( X i1 − X i2 )
c. Bimodal: n i1 =1 i2 =1
f 3 ( x ) = 12 φ2 / 3 ( x + 1) + 12 φ 2 / 3 ( x − 1) 2 n k
−  wlφ( h2 +σ l2 )1/2 ( X i − μl )
n i =1 l =1
d. Strongly Skewed:
8
1 +U ( h, 0)
f 4 ( x) =  φ(2/3)l −1 {x − 3[(2 / 3)l −1 − 1]} where
l =1 8
(1.9)
U (h, q ) =
k k
where φ A (u ) = A − 1φ (u A ) and φ   wl wl φ ( qh 2 ( μ l1 − μ l2 )
1 2 + σ l2 + σ l2 )1/ 2
l =1 l =1 1 2
denotes the probability density function (pdf) of 1 2

a standard normal variable, that is,


and the kernel function K is the standard normal.
−1 Thus, it is more appropriate to analyze the
1 u 2

φ A (u ) =
2
e2A . expected value of the ISE, called the MISE.
2π A For each normal mixture density in (1.9)
and each sample size n = 50, 100, 200, 500 that
These densities represent Symmetric, Kurtotic were simulated from f(x), 1,000 samples were
Unimodal, Bimodal and Strongly Skewed artificially repeated from each f(x). For each
distributions respectively. Figure 1 displays the sample, the bandwidth h based on LSCV, BCV,
shapes of these densities, which are a small DPI, CONT and STE methods were obtained.
subset of fifteen normal mixtures used by Subsequently, for each sample the ISE values
Marron and Wand (1992). were obtained by using (1.9) according to the
The general normal mixtures density is simulated density f(x). Subsequently, the MISE
given by (Marron & Wand, 1992): values were empirically determined as the mean
of the ISE values obtained in each sample. Table
k 1 displays the simulation results and the MISEs
f ( x ) =  wlφσ l ( x − μ l ) against the sample sizes for the different
l =1 underling normal mixture densities. Moreover,
the relative efficiencies of the contrast (CONT)
where − ∞ < μ l < ∞ , σ l > 0 and w l is a method against LSCV, BCV, DPI and STE
methods are given in Table 2. The rule of
vector with positive entries summing to unity
relative efficiency is given by
(weight), for l=1, 2 ,…, k. It is assumed that f
has a normal k-mixture density with parameters
ˆ M ISE ( hˆ* )
{ (w l , μ l , σ l2 ) : l = 1, 2, ..., k } . R E (h)= ,
M ISE ( hˆC O N T )

268
EIDOUS, SHAFEQ MARIE & AL-HAJ EBRAHEM

Figure 1: Some Normal Mixture Densities


Gaussian Bimodal

Kurtotic Unimodal Strongly Skewed

where ĥ * is the bandwidth which computed 2. In terms of the MISE of fˆ (x ; h ) , the


from the other methods (see Table 2). performance of the BCV method is
acceptable when the data are simulated from
Conclusion a very skewed density ( f 4 ( x ) ), while its
Tables 1 and 2 show the main results of the performance is inefficient for the other
simulation study. To provide insight into the densities.
effect of the sample size and different normal
3. The MISE values of fˆ (x ; h ) when h is
mixture densities on the performance of the
various bandwidth selection methods, the estimated based on the LSCV or BCV
following conclusions can be drawn: method are large compared with the MISE
values produced by the other methods for all
simulated densities and for all sample sizes.
1. The MISE for the kernel estimator fˆ (x ; h )
decreases as the sample size increases for all Note that conclusions 2 and 3 suggest that these
simulated functions and for all different two methods should be disregarded as global
methods, which coincides with the method to select the bandwidth h.
theoretical properties of the kernel estimator.

269
BANDWIDTH SELECTION IN KERNEL DENSITY ESTIMATION

Table 1: The MISE ( f̂ ) for Different Methods to Choose the Value of Bandwidth

MISE ( f̂ )
Method f 1 (x ) f 2 (x ) f 3 (x ) f 4 (x )
Sample Size

DPI(2-stage) 0.12846 0.23448 0.15910 0.76199

CONT 0.12481 0.22572 0.10643 0.58228

LSCV 50 0.19144 0.28647 0.25236 0.94230

BCV 0.40578 0.43591 0.39941 0.76748

STE(2-stage) 0.13070 0.23831 0.17873 0.78334

DPI(2-stage) 0.12730 0.21665 0.15063 0.75133

CONT 0.12373 0.22057 0.09582 0.56732

LSCV 100 0.16841 0.26467 0.23532 0.88068

BCV 0.31693 0.38360 0.30008 0.71768

STE(2-stage) 0.12530 0.23352 0.12739 0.76518

DPI(2-stage) 0.12215 0.20491 0.14057 0.74043

CONT 0.11160 0.21296 0.09271 0.55792

LSCV 200 0.15314 0.25512 0.21145 0.83185

BCV 0.25271 0.30184 0.23965 0.60122

STE(2-stage) 0.11947 0.19695 0.12676 0.73857

DPI(2-stage) 0.11903 0.19237 0.13929 0.73197

CONT 0.11208 0.20337 0.09019 0.55088

LSCV 500 0.13948 0.24905 0.19998 0.78332

BCV 0.20559 0.28995 0.16698 0.56810

STE(2-stage) 0.10785 0.18467 0.12599 0.71857

270
EIDOUS, SHAFEQ MARIE & AL-HAJ EBRAHEM

Table 2: The Relative Efficiency (RE) for Different Sample Sizes


and Different Normal Mixture Densities
Sample
Relative Efficiency f 1 (x ) f 2 (x ) f 3 (x ) f 4 (x )
Size
50 1.02924 1.03880 1.49487 1.30863
MISE (hˆDPI (2 −stage ) ) 100 1.02885 0.98222 1.57201 1.32435
RE(h)=
MISE (hˆ )
CONT
200 1.09453 0.96219 1.51623 1.32712
500 1.06200 0.94591 1.54440 1.32872
50 1.53385 1.26913 2.37113 1.61829
MISE (hˆLSCV ) 100 1.36110 1.19993 2.45585 1.55235
RE(h)=
MISE (hˆCONT ) 200 1.37222 1.19797 2.28076 1.49098
500 1.24446 1.22461 2.21731 1.42194
50 3.25118 1.93119 3.75279 1.31806
MISE (hˆBCV ) 100 2.56146 1.73913 3.13170 1.26503
RE(h)=
MISE (hˆCONT ) 200 2.26442 1.41735 2.58494 1.07761
500 1.83431 1.42572 1.85142 1.03125
50 1.04719 1.05577 1.67932 1.34529
MISE (hˆSTE (2 −stage ) ) 100 1.01268 1.05871 1.32947 1.34876
RE(h)=
MISE (hˆ CONT ) 200 1.07052 0.92482 1.36727 1.32379
500 0.96225 0.90804 1.39694 1.30440

4. The DPI and STE methods produce similar achieved. The relative efficiency values are
results in term of their MISE values for all less than one in some cases, which indicates
densities and for all sample sizes. The DPI that the performance of the corresponding
method performs better than the STE method is better than CONT method, but the
method for small sample sizes and as the relative efficiency remains acceptable in
sample size increases the STE is better than these cases.
the DPI method. This indicates that the 7. Comparing the MISE values for different
convergence rate of the STE method is methods when the data are simulated from
faster than that of the DPI method. f 4 (x ) to the MISE values when the data
5. The performance of the CONT method are simulated from the other densities, it
generally is better than the performance of
may be concluded that f 4 (x ) is difficult to
the other methods. A significant
improvement for the CONT method over the estimate by any of the methods considered.
other methods is clearly demonstrated in the That is, the strongly skewed density contains
bimodal ( f 3 (x ) ) and the strongly skewed features that cannot be recovered from the
sample sizes considered.
( f 4 (x ) ) models. 8. On the basis of the simulation results, the
6. The relative efficiency values in Table 2 CONT method may be recommended as a
show that, for most of the densities and global method to select the bandwidth h in
sample sizes, a considerable gain in the kernel density estimation.
relative efficiency for the CONT method is

271
BANDWIDTH SELECTION IN KERNEL DENSITY ESTIMATION

This study has shown that the CONT Fryer, M.J. (1976). Some errors
method is a useful technique for choosing the associated with the nonparametric estimation of
bandwidth of the kernel estimator. The CONT density functions. Journal of Instructional
method produces reasonable estimates for f(x) in Mathematical Applications, 18, 371-380.
almost all cases considered (see Table 2). Hall, P., & Marron, J. S. (1985). Extent
Although the conclusions are based on four to which least-square cross-validation minimizes
different densities, many other candidate shapes integrated square error in nonparametric density
exist for the densities from which it is assumed estimation. Technical Report, 94, University of
that the data was obtained (Marron & Wand, North Carolina, Department of Statistics.
1992). Therefore, it is not possible to claim that Janssen, P., Marron, J. S., Veraverbeke,
the CONT method performs better than the other N., & Sarle, W. (1995). Scale measures for
methods for any set of data. However, based on bandwidth selection. Journal of Nonparametric
the simulation study, the different methods can Statistics, 5, 359-380.
be ranked in ascending order (best to worst) Marron, J. S. (1988). Automatic
according to their performances as follows: smoothing parameter selection: A survey.
Empirical Econometrics, 13, 187-208.
1. CONT. Marron, J. S., & Wand, M. P. (1992).
2. DPI (2-stage) and STE (2-stage ) Exact Mean Integrated Squared Error. Annals of
3. LSCV Statistics, 20, 712-736.
and lastly, Park, B. U., & Marron, J. S. (1990).
4. BCV Comparison of data-driven bandwidth selectors.
Journal of the American Statistical Association,
85, 66-72.
References Rudemo, M. (1982). Empirical choice of
Ahmad, I. A., & Fan, Y. (2001). histograms and kernel density estimators.
Optimal bandwidth for kernel density estimators Scandinavian Journal of Statistics, 9, 65-78.
of functions of observations. Statistics and Scott, D. W. (1992). Multivariate
Probability Letters, 51(3), 245-251. density estimation: Theory, practice, and
Ahmad, I. A., & Mugdadi, A. R. (2003). visualization. New York: Wiley.
Analysis of kernel density estimation of Scott, D. W., & Terrell, G. R. (1987).
functions of random variables. Journal of Biased and unbiased cross-validation in density
Nonparametric Statistics, 15, 579-605. estimation. Journal of the American Statistical
Ahmad, I. A., & Ran, I. S. (1998). Association, 82, 1131-1146.
Kernel contrasts: a data based method of Scott, D. W., Tapia, R. A., &
choosing smoothing parameters in Thompson, J. R. (1977). Kernel density
nonparametric density estimation. Unpublished estimation revisited. Nonlinear Analysis, 1, 339-
Manuscript. 372.
Ahmad, I. A., & Ran, I. S. (2004). Sheather, S. J. (1986). An improved
Kernel contrasts: A data-based method of data-based algorithm for choosing the window
choosing smoothing parameters in width when estimating the density at a point.
nonparametric density estimation. Journal of Computational Statistical Data Analysis, 4, 61-
Nonparametric Statistics, 16, 671-707. 65.
Bowman, A. W. (1984). An alternative Sheather, S. J. (1992). The performance
method of cross-validation for the smoothing of of six popular bandwidth selection methods on
density estimates. Biometrika, 71, 353-360. some real data sets (with discussion).
Deheuvels, P. (1977). Estimation Computational Statistics, 7, 225-50, 271-281.
nonparametrique de la densite par Sheather, S. J., & Jones, M. C. (1991).
historgrammes generalises. Rev. Statistical A reliable data-based bandwidth selection
Applications, 25, 5- 42. method for kernel density estimation. Journal of
the Royal Statistical Society, B53, 683-690.

272
EIDOUS, SHAFEQ MARIE & AL-HAJ EBRAHEM

Silverman, B. W. (1986). Density Titterington, D. M. (1985). Common


Estimation for Statistics and Data Analysis. structure of smoothing techniques in statistics.
London: Chapman and Hall. International Statistical Review, 53, 141-170.
Stone, C. J. (1984). An asymptotically Wand, M. P., & Jones, M. C. (1995).
optimal window selection rule for kernel density Kernel smoothing. London: Chapman and Hall.
estimates. The Annals of Statistics, 12, 1285-
1297.

273

Vous aimerez peut-être aussi