

bcv(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)

