View source: R/bandwidth.parameter.R
bandwidth.parameter | R Documentation |
Computation of the parameter of the normal reference rule in order to estimate the (matrix) bandwidth.
bandwidth.parameter(p, n)
p |
sample dimension. |
n |
sample size. |
The parameter is equal to:
h = (\frac{4}{n(p+2)})^{\frac{1}{p+4}}
It is based on the minimisation of the asymptotic mean integrated square error in density estimation when using the Gaussian kernel method (Wand and Jones, 1995).
Returns the value required by the functions fpcad
, fmdsd
, fdiscd.misclass
and fdiscd.predict
when their argument windowh
is set to NULL
.
Rachid Boumaza, Pierre Santagostini, Smail Yousfi, Gilles Hunault, Sabine Demotes-Mainard
Boumaza, R., Yousfi, S., Demotes-Mainard, S. (2015). Interpreting the principal component analysis of multivariate density functions. Communications in Statistics - Theory and Methods, 44 (16), 3321-3339.
Wand, M. P., Jones, M. C. (1995). Kernel Smoothing. Boca Raton, FL: Chapman and Hall.
# Sample size :
n <- 20
# Number of variables :
p <- 3
bandwidth.parameter(p, n)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.