kernel.e.density {OVL.CI}R Documentation

Epanechnikov kernel density estimation

Description

Estimates the density function using the Epanechnikov kernel

Usage

kernel.e.density(data, points, h)

Arguments

data

vector of observations

points

in which the function is evaluated

h

bandwidth

Value

density estimation

Examples

x = rnorm(100,1,2)
gridd = seq(-5,5,length.out=1000)
h = (4/3)^(1/5)*sd(x)*length(x)^(-1/5)
kernel.e.density (x,gridd,h)

[Package OVL.CI version 0.1.0 Index]