kernel.constants {KernGPLM}R Documentation

Kernel constants

Description

Calculates several constants of a (product) kernel function.

Usage

kernel.constants(p = 2, q = 2, d = 1, product = TRUE)

Arguments

p integer or text, see kernel.function
q integer, see kernel.function
d integer (dimension of the kernel)
product (if d>1) product or spherical kernel

Details

The constants which are calculated are the second moment, the square norm and the canonical bandwidth of the kernel (only the two latter depend on the dimension d).

Value

List with components:

m2 second moment
c2 square norm
d0 canonical bandwidth

Author(s)

Marlene Mueller

See Also

kernel.function

Examples

  kernel.constants()         ## default (biweight)
  kernel.constants(2,1)      ## epanechnikov
  kernel.constants(2,1,2)    ## product epanechnikov (d=2)

[Package KernGPLM version 0.65 Index]