cv                   package:MBESS                   R Documentation

_F_u_n_c_t_i_o_n _t_o _c_a_l_c_u_l_a_t_e _t_h_e _r_e_g_u_l_a_r (_a_n_d _b_i_a_s_e_d) _e_s_t_i_m_a_t_e _o_f _t_h_e _c_o_e_f_f_i_c_i_e_n_t _o_f _v_a_r_i_a_t_i_o_n _o_r _t_h_e _u_n_b_i_a_s_e_d _e_s_t_i_m_a_t_e _o_f _t_h_e _c_o_e_f_f_i_c_i_e_n_t _o_f _v_a_r_i_a_t_i_o_n.

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

     Returns the estimated coefficient of variation or the unbiased
     estimate of the coefficient of variation.

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

     cv(C.of.V=NULL, mean=NULL, sd=NULL, N=NULL, unbiased=FALSE)

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

  C.of.V: Usual estimate of the coefficient of variation
          ('C.of.V=sd/mean')

    mean: observed mean

      sd: observed standard deviation (based on N-1 in the denominator
          of the variance)

       N: sample size

unbiased: return the unbiased estimate of the coefficient of variation

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

     A function to calculate the usual estimate of the coefficient of
     variation or its unbiased estimate.

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

     Returns the unbiased estimate for the standard deviation.

_A_u_t_h_o_r(_s):

     Ken Kelley (Indiana University; KKIII@Indiana.Edu)

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

     cv(mean=100, sd=15)
     cv(mean=100, sd=15, N=50, unbiased=TRUE)
     cv(C.of.V=.15, N=2, unbiased=TRUE)

