h.tcv {kedd} | R Documentation |
Trimmed Cross-Validation for Bandwidth Selection
Description
The (S3) generic function h.tcv
computes the trimmed
cross-validation bandwidth selector of r'th derivative of
kernel density estimator one-dimensional.
Usage
h.tcv(x, ...)
## Default S3 method:
h.tcv(x, deriv.order = 0, lower = 0.1 * hos, upper = 2 * hos,
tol = 0.1 * lower, kernel = c("gaussian", "epanechnikov", "uniform",
"triangular", "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. |
tol |
the convergence tolerance for |
kernel |
a character string giving the smoothing kernel to be used, with default
|
... |
further arguments for (non-default) methods. |
Details
h.tcv
trimmed cross-validation implements for choosing the bandwidth
of a r'th derivative kernel density estimator.
Feluch and Koronacki (1992) proposed a so-called trimmed cross-validation (TCV) in kernel
density estimator, a simple modification of the unbiased (least-squares) cross-validation
criterion. We consider the following "trimmed" version of "unbiased", to be minimized with
respect to :
where denotes the indicator function and
is a sequence of positive
constants,
as
, and
the trimmed cross-validation function is defined by:
whit
here we take , for assure the convergence. Where
is the convolution of the r'th derivative kernel function
(see
kernel.conv
and kernel.fun
).
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 |
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.tcv |
the minimal TCV value. |
Author(s)
Arsalane Chouaib Guidoum acguidoum@usthb.dz
References
Feluch, W. and Koronacki, J. (1992). A note on modified cross-validation in density estimation. Computational Statistics and Data Analysis, 13, 143–151.
See Also
Examples
## Derivative order = 0
h.tcv(kurtotic,deriv.order = 0)
## Derivative order = 1
h.tcv(kurtotic,deriv.order = 1)