gauss_rlcv: Robust likelihood cross-validation for Gaussian kernel...

View source: R/RcppExports.R

gauss_rlcvR Documentation

Robust likelihood cross-validation for Gaussian kernel density estimation

Description

Robust likelihood cross-validation criterion function of Wu.

Usage

gauss_rlcv(x, Sigma, logweights, an, xsamp, dxsamp, mckern = TRUE)

Arguments

x

n by d matrix of observations

Sigma

smoothing positive-definite matrix

logweights

log vector of weights

an

threshold for linear approximation

xsamp

n by d random sample for Monte Carlo estimation of bias

dxsamp

n vector of density for the points from xsamp

mckern

logical; if TRUE, uses the kernel as sampler for Monte Carlo estimation

Value

RLCV criterion value


mig documentation built on April 11, 2025, 5:45 p.m.