tuneMD                package:eiPack                R Documentation

_G_e_n_e_r_a_t_e _t_u_n_i_n_g _p_a_r_a_m_e_t_e_r_s _f_o_r _M_D _m_o_d_e_l

_D_e_s_c_r_i_p_t_i_o_n:

     An adaptive algorithm to generate tuning parameters for the MCMC 
     algorithm implemented in 'ei.MD.bayes'.  Since we are  drawing
     each parameter one at a time, target acceptance rates are between
     0.4 to 0.6.

_U_s_a_g_e:

     tuneMD(formula, covariate = NULL, data, ntunes = 10, 
         totaldraws = 10000, ...)

_A_r_g_u_m_e_n_t_s:

 formula: A formula of the form 'cbind(col1, col2, ...) ~ cbind(row1,
          row2, ...)' with rows as the predictor and columns  as the
          response

covariate: An R formula for the optional covariate in the form '~ x'

    data: data frame containing the variables specified in 'formula'
          and 'covariate'

  ntunes: number of times to iterate the tuning algorithm

totaldraws: number of iterations for each tuning run

     ...: additional arguments passed to 'ei.MD.bayes'

_V_a_l_u_e:

     A list containing matrices of tuning parameters.

_A_u_t_h_o_r(_s):

     Olivia Lau <olivia.lau@post.harvard.edu>

_S_e_e _A_l_s_o:

     'ei.MD.bayes'

