Learn R Programming

mig (version 1.0)

tellipt_kdens: Truncated Gaussian kernel density estimator

Description

Given a data matrix over a half-space defined by beta, compute the log density of the asymmetric truncated Gaussian kernel density estimator, taking in turn an observation as location vector.

Usage

tellipt_kdens(x, newdata, Sigma, beta, log = TRUE, ...)

Value

a vector containing the value of the kernel density at each of the newdata points

Arguments

x

n by d matrix of quantiles

newdata

matrix of new observations at which to evaluated the kernel density

Sigma

scale matrix

beta

d vector \(\boldsymbol{\beta}\) defining the half-space through \(\boldsymbol{\beta}^{\top}\boldsymbol{\xi}>0\)

log

logical; if TRUE, returns log probabilities