kdeGaussMom: Non-central Gaussian KDE moments.

Description Usage Arguments Value Examples

Description

Calculate the non-central moments for a univariate Gaussian kernel density estimator.

Usage

1
kdeGaussMom(n, mu, h)

Arguments

n

The highest order of non-central moments saught.

mu

A vector of data points on which the kernel density estimator is based.

h

The kernel density estimator bandwidth.

Value

A vector of length n of non-central moments requested for a Gaussian kernel density estimator.

Examples

1
2
3
4
library(alR)
x <- rnorm(100)
h_x <- bw(x, type=-1)
kdeGaussMom(3, x, h_x)

mtloots/alR documentation built on May 23, 2019, 8:18 a.m.