Miscellaneous-EDK: Gaussian kernel

Description Usage Arguments Details Value

Description

Apply a gaussian kernel to observations. For internal use.

Usage

1
EDK(x, bandwidth, power = 2)

Arguments

x

the data on which the kernel will be applied. numeric or numeric vector.

bandwidth

the bandwidth of the kernel. numeric.

power

the power of the kernel. numeric.

Details

FUNCTION:
This function corresponds to the following kernel :

\frac{1}{√[power]{2*pi*bandwidth^2}} *\exp(-(x/bandwidth)^power)

Setting power to 2 lead to use a gaussian kernel.

Value

A numeric.


bozenne/MRIaggr documentation built on May 13, 2019, 1:39 a.m.