bcv                   package:MASS                   R Documentation

_B_i_a_s_e_d _C_r_o_s_s-_V_a_l_i_d_a_t_i_o_n _f_o_r _B_a_n_d_w_i_d_t_h _S_e_l_e_c_t_i_o_n

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

     Uses biased cross-validation to select the bandwidth of a 
     Gaussian kernel density estimator.

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

     bcv(x, nb=1000, lower, upper)

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

       x: a numeric vector 

      nb: number of bins to use. 

lower, upper: Range over which to minimize.  The default is almost
          always satisfactory. 

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

     a bandwidth

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

     Scott, D. W. (1992) Multivariate Density Estimation: Theory,
     Practice, and Visualization. Wiley.

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

     `ucv', `width.SJ', `density'

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

     data(geyser)
     bcv(geyser$duration)

