L_I {OSCV}R Documentation

The family of one-sided cross-validation kernels L_I.

Description

The one-sided counterpart of the kernel H_I. See expressions (15) and (8) of Savchuk and Hart (2017).

Usage

L_I(u, alpha, sigma)

Arguments

u

numerical vector of argument values,

alpha

first parameter of the cross-validation kernel L_I,

sigma

second parameter of the cross-validation kernel L_I.

Details

The family of the one-sided cross-validation kernels L_I indexed by the parameters -\infty<\alpha<\infty and \sigma>0. This family is used in the OSCV implementations in both regression context (see Savchuk and Hart (2017)) and density estimation context (see Savchuk (2017)). The special members of the family:

The bandwidth selected by L_I should be multiplied by a reascaling constant before it is used in computing the ultimate Gaussian (regression or density) estimate. In the case of a smooth (regression or density) function the rescaling constant is C_smooth.

Value

The value of L_I(u;\alpha,\sigma).

References

See Also

H_I, C_smooth, OSCV_LI_dens.

Examples

## Not run: 
# Plotting the robust one-sided kernel from Savchuk and Hart (2017) with 
# alpha=16.8954588 and sigma=1.01.
u=seq(-1,5,len=1000)
rker=L_I(u,16.8954588,1.01)
Gker=L_I(u,0,1)
dev.new()
plot(u,rker,'l',lwd=3,cex.axis=1.7, cex.lab=1.7)
title(main="One-sided kernels: L_I (robust) and L_G",cex=1.7)
lines(u,Gker,lty="dashed",lwd=3)
legend(0.5,2.5,lty=c("solid","dashed"),lwd=c(3,3),legend=c("L_I","L_G"),cex=1.7)
legend(2,1.5,legend=c("alpha=16.8955","sigma=1.01"),cex=1.5)

## End(Not run)

[Package OSCV version 1.0 Index]