hsj                    package:sm                    R Documentation

_S_h_e_a_t_h_e_r-_J_o_n_e_s _c_h_o_i_c_e _o_f _s_m_o_o_t_h_i_n_g _p_a_r_a_m_e_t_e_r _f_o_r _d_e_n_s_i_t_y _e_s_t_i_m_a_t_i_o_n

_D_e_s_c_r_i_p_t_i_o_n:

     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.

_U_s_a_g_e:

     hsj(x)

_A_r_g_u_m_e_n_t_s:

       x: a vector of data. 

_D_e_t_a_i_l_s:

     See Section 2.4.4 of the reference below.

_V_a_l_u_e:

     the value of the smoothing parameter located by the Sheather-Jones
     method.

_R_e_f_e_r_e_n_c_e_s:

     Bowman, A.W. and Azzalini, A. (1997). Applied Smoothing Techniques
     for Data Analysis: the Kernel Approach with S-Plus Illustrations.
     Oxford University Press, Oxford.

_S_e_e _A_l_s_o:

     `hnorm', `hcv'

_E_x_a_m_p_l_e_s:

     x <- rnorm(50)
     hsj(x)

