h.mcv: Modified Cross-Validation for Bandwidth Selection

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

The (S3) generic function h.mcv computes the modified cross-validation bandwidth selector of r'th derivative of kernel density estimator one-dimensional.

Usage

1
2
3
4
5
h.mcv(x, ...)
## Default S3 method:
h.mcv(x, deriv.order = 0, lower = 0.1 * hos, upper = 2 * hos, 
         tol = 0.1 * lower, kernel = c("gaussian", "epanechnikov", "triweight", 
         "tricube", "biweight", "cosine"), ...)

Arguments

x

vector of data values.

deriv.order

derivative order (scalar).

lower, upper

range over which to minimize. The default is almost always satisfactory. hos (Over-smoothing) is calculated internally from an kernel, see details.

tol

the convergence tolerance for optimize.

kernel

a character string giving the smoothing kernel to be used, with default "gaussian".

...

further arguments for (non-default) methods.

Details

h.mcv modified cross-validation implements for choosing the bandwidth h of a r'th derivative kernel density estimator.

Stute (1992) proposed a so-called modified cross-validation (MCV) in kernel density estimator. This method can be extended to the estimation of derivative of a density, the essential idea based on approximated the problematic term by the aid of the Hajek projection (see Stute 1992). The minimization criterion is defined by:

MCV(h;r) = R(K(x;r))/ n h^(2r+1) + (-1)^r / n (n-1) h^(2r+1) sum( sum(varphi(x(j)-x(i)/h;r) ),i=1...n,j=1...n,j != i)

whit

varphi(c;r)= K(c;r)*K(c;r) - K(c;2r) - 0.5 mu(K(c)) K(c;2r+2)

and K(x;r)*K(x;r) is the convolution of the r'th derivative kernel function K(x;r) (see kernel.conv and kernel.fun); R(K(x;r)) = int K(x;r)^2 dx and mu(K(x)) = int x^2 K(x) dx.

The range over which to minimize is hos Oversmoothing bandwidth, the default is almost always satisfactory. See George and Scott (1985), George (1990), Scott (1992, pp 165), Wand and Jones (1995, pp 61).

Value

x

data points - same as input.

data.name

the deparsed name of the x argument.

n

the sample size after elimination of missing values.

kernel

name of kernel to use

deriv.order

the derivative order to use.

h

value of bandwidth parameter.

min.mcv

the minimal MCV value.

Author(s)

Arsalane Chouaib Guidoum acguidoum@usthb.dz

References

Heidenreich, N. B., Schindler, A. and Sperlich, S. (2013). Bandwidth selection for kernel density estimation: a review of fully automatic selectors. Advances in Statistical Analysis.

Stute, W. (1992). Modified cross validation in density estimation. Journal of Statistical Planning and Inference, 30, 293–305.

See Also

plot.h.mcv.

Examples

1
2
3
4
5
6
7
## Derivative order = 0

h.mcv(kurtotic,deriv.order = 0)

## Derivative order = 1

h.mcv(kurtotic,deriv.order = 1)

kedd documentation built on May 2, 2019, 7:32 a.m.