kde.triwei.eval: Multivariate kernel density estimation based on Triweight...

View source: R/multivariate_nonparametric_L2.R

kde.triwei.evalR Documentation

Multivariate kernel density estimation based on Triweight kernel.

Description

Perform multivariate kernel density estimation and evaluated the estimated densities at specified points.

Usage

kde.triwei.eval(x, bw, eval.points)

Arguments

x

A numeric matrix of observations with horizontal axis being dimension, and vertical axis being time.

eval.points

A numeric matrix of evaluated data points with horizontal axis being dimension, and vertical axis being time..

h

A numeric scalar of bandwidth parameter.

Value

A numeric vector of evaluated densities.

Author(s)

Haotian Xu

Examples

n = 100
p = 10
x = matrix(rnorm(n*p), nrow = n)
h = 2*(1/n)^{1/(4+p)} # bandwith
kde.triwei.eval(x, h, x)

HaotianXu/changepoints documentation built on Oct. 11, 2023, 12:48 p.m.