Algorithmica

, Volume 25, Issue 1, pp 37–57

Efficient On-Line Nonparametric Kernel Density Estimation

  • C. G. Lambert
  • S. E. Harrington
  • C. R. Harvey
  • A. Glodjo

DOI: 10.1007/PL00009282

Cite this article as:
Lambert, C., Harrington, S., Harvey, C. et al. Algorithmica (1999) 25: 37. doi:10.1007/PL00009282

Abstract.

Nonparametric density estimation has broad applications in computational finance especially in cases where high frequency data are available. However, the technique is often intractable, given the run times necessary to evaluate a density. We present a new and efficient algorithm based on multipole techniques. Given the n kernels that estimate the density, current methods take O(n) time directly to sum the kernels to perform a single density query. In an on-line algorithm where points are continually added to the density, the cumulative O(n2) running time for n queries makes it very costly, if not impractical, to compute the density for large n . Our new Multipole-accelerated On-line Density Estimation (MODE) algorithm is general in that it can be applied to any kernel (in arbitrary dimensions) that admits a Taylor series expansion. The running time for a density query reduces to O (logn) or even constant time, depending on the kernel chosen, and, hence, the cumulative running time is reduced to O (n logn) or O(n) , respectively. Our results show that the MODE algorithm provides dramatic advantages over the direct approach to density evaluation. For example, we show using a modest computing platform that on-line density updates and queries for 1 million points and two dimensions take 8 days to compute using the direct approach versus 40 seconds with the MODE approach.

Key words. On-line fast multiple algorithm, Smoothing, Kernel regression, Nonparametric density estimation.

Copyright information

© 1999 Springer-Verlag New York Inc.

Authors and Affiliations

  • C. G. Lambert
    • 1
  • S. E. Harrington
    • 2
  • C. R. Harvey
    • 3
  • A. Glodjo
    • 3
  1. 1.Golden Helix Datamining, Inc., P.O. Box 10633, Bozeman, MT 59719, USA. lambert@goldenhelix.com.US
  2. 2.scott.harrington@alumni.duke.edu.US
  3. 3.Fuqua School of Business, Duke University, Durham, NC 27708, USA. charvey@mail.duke.edu. arman@alumni.duke.edu.US