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'

