11.07.2015 Views

Preface to First Edition - lib

Preface to First Edition - lib

Preface to First Edition - lib

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

142 DENSITY ESTIMATIONestimation would be reduced <strong>to</strong> estimating the parameters of the assumeddistribution. More commonly, however, we wish <strong>to</strong> allow the data <strong>to</strong> speak forthemselves and so one of a variety of non-parametric estimation proceduresthat are now available might be used. Density estimation is covered in detailin several books, including Silverman (1986), Scott (1992), Wand and Jones(1995) and Simonoff (1996). One of the most popular classes of proceduresis the kernel density estima<strong>to</strong>rs, which we now briefly describe for univariateand bivariate data.8.2.1 Kernel Density Estima<strong>to</strong>rsFrom the definition of a probability density, if the random X has a density f,1f(x) = lim P(x − h < X < x + h). (8.1)h→0 2hFor any given h a naïve estima<strong>to</strong>r of P(x − h < X < x + h) is the proportionof the observations x 1 , x 2 , ...,x n falling in the interval (x − h, x + h), that isˆf(x) = 12hnn∑I(x i ∈ (x − h, x + h)), (8.2)i=1i.e., the number of x 1 , ...,x n falling in the interval (x − h, x + h) divided by2hn. If we introduce a weight function W given by⎧1⎨2|x| < 1W(x) =⎩0 elsethen the naïve estima<strong>to</strong>r can be rewritten asˆf(x) = 1 n∑ni=1(1 x −h W xih). (8.3)Unfortunately this estima<strong>to</strong>r is not a continuous function and is not particularlysatisfac<strong>to</strong>ry for practical density estimation. It does however leadnaturally <strong>to</strong> the kernel estima<strong>to</strong>r defined byˆf(x) = 1hnn∑( ) x − xiKhi=1(8.4)where K is known as the kernel function and h as the bandwidth or smoothingparameter. The kernel function must satisfy the condition∫ ∞−∞K(x)dx = 1.Usually, but not always, the kernel function will be a symmetric density function,for example, the normal. Three commonly used kernel functions are© 2010 by Taylor and Francis Group, LLC

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!