kernel.e.density: Epanechnikov kernel density estimation

View source: R/kernel.e.density.R

kernel.e.densityR 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)

OVL.CI documentation built on Nov. 14, 2023, 1:06 a.m.