Hscv(x, nstage=2, pre="sphere", pilot="samse", Hstart, binned=FALSE,
bgridsize, amise=FALSE, deriv.order=0, verbose=FALSE, optim.fun="nlm",
Sdr.flag=FALSE)
Hscv.diag(x, nstage=2, pre="scale", pilot="samse", Hstart, binned=FALSE,
bgridsize, amise=FALSE, deriv.order=0, verbose=FALSE, optim.fun="nlm")
hscv(x, nstage=2, binned=TRUE, bgridsize, plot=FALSE)
"scale"
= pre.scale
, "sphere"
= pre.sphere
"amse"
= AMSE pilot bandwidths
"samse"
= single SAMSE pilot bandwidth
"unconstr"
= single unconstrained pilot bandwidth
"dscalar"
= single pilot bandwidth for deriv.order > 0
"dunconstr"
amise=TRUE
then the minimal scaled SCV value is returned too.hscv
is the univariate SCV
selector of Jones, Marron & Park (1991). Hscv
is a
multivariate generalisation of this, see Duong & Hazelton (2005).
Use Hscv
for full bandwidth matrices and Hscv.diag
for diagonal bandwidth matrices.
For SAMSE pilot bandwidths, see Duong & Hazelton (2005).
Unconstrained pilot bandwidths are from Chacon & Duong (2011). For d = 1, the selector hscv
is not always stable for large
sample sizes with binning.
Examine the plot from hscv(, plot=TRUE)
to
determine the appropriate smoothness of the SCV function. Any
non-smoothness is due to the discretised nature of binned estimation.
For details about the advanced options for binned, Hstart, Sdr.flag
,
see Hpi
.
Jones, M.C., Marron, J.S. & Park, B.U. (1991) A simple root n bandwidth selector. Annals of Statistics 19, 1919-1932.
Hbcv
, Hlscv
, Hpi
data(unicef)
Hscv(unicef)
Hscv(unicef, binned=TRUE)
hscv(unicef[,1])
Run the code above in your browser using DataLab