tnorm_rlcv: Likelihood cross-validation for truncated normal kernel...

View source: R/RcppExports.R

tnorm_rlcvR Documentation

Likelihood cross-validation for truncated normal kernel density estimation

Description

Robust likelihood cross-validation criterion function.

Usage

tnorm_rlcv(x, Omega, beta, an, xsamp, dxsamp, mckern = TRUE)

Arguments

x

n by d matrix of observations

Omega

smoothing positive-definite matrix

beta

vector of constraints for the half-space

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.