hsj {sm} | R Documentation |
This function uses the Sheather-Jones plug-in method of selecting a smoothing parameter which is suitable for constructing a density estimate in the one-dimensional case.
hsj(x)
x |
a vector of data. |
see Section 2.4.4 of the reference below.
the value of the smoothing parameter localted by the Sheather-Jones method.
none.
Bowman, A.W. and Azzalini, A. (1997). Applied Smoothing Techniques for Data Analysis: the Kernel Approach with S-Plus Illustrations. Oxford University Press, Oxford.
x <- rnorm(50) hsj(x)