ekde: ekde

Description Usage Arguments Examples

View source: R/EPDF.R

Description

Kernel function based on the normal distribution.

Usage

1
ekde(x,data,H,rule,kernel)

Arguments

x

Evaluation point.

data

Input data.

H

Positive-definite, symmetric matrix as bandwidth.

rule

In absence of a bandwidth matrix a rule-of-thumb can be chosen, either the "silverman" or "scott" rule.

kernel

The kernel function of choice.

Examples

1
2
3
4
5
library("pracma")
library("plyr")

data<-cbind(rnorm(1000),rnorm(1000))
pdf<-ekde(x = 0,data = data, rule = "silverman",kernel = normkernel)

MEPDF documentation built on May 2, 2019, 12:40 p.m.

Related to ekde in MEPDF...