LM0_D2K: Sample local 0-moment of D^{\otimes 2}K

Description Usage Arguments Value

View source: R/LocalMoments.R

Description

Returns the sample local 0-moment of the 2nd order derivatives of the kernel function.

Usage

1
LM0_D2K(x, h, type = "Gaussian", data)

Arguments

x

A vector or matrix containing the points at which the moment will be calculated.

h

A number specifying the bandwidth.

type

A character string specifying the used kernel function.

data

A data matrix containing in each column a data point.

Value

If x is a vector it returns the vector \frac{1}{nh^2} ∑_{i=1}^n (D^{\otimes 2}K)_h (X_i - x). If x is a matrix it returns the matrix \frac{1}{nh^2} ∑_{i=1}^n (D^{\otimes 2}K)_h (X_i - x_1), …, \frac{1}{nh^2} ∑_{i=1}^n (D^{\otimes 2}K)_h (X_i - x_m), where x = [x_1, …, x_m].


Epsilon127/ldder documentation built on March 7, 2020, 7:47 a.m.