summary                package:BRugs                R Documentation

_S_u_m_m_a_r_y _o_f _M_C_M_C _s_i_m_u_l_a_t_i_o_n

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

     These functions are used to calculate running means, standard
     deviations and quantiles.

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

     summarySet(node)
     summaryStats(node)
     summaryClear(node)

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

    node: Character vector containing names of a variables in the
          model.

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

     'summarySet' creates monitor(s) that starts recording the running
     totals for 'node'.

     'summaryStats' displays the running means, standard deviations, 
     and 2.5%, 50% (median) and 97.5% quantiles for 'node'.  Note that
     these running quantiles are calculated via an approximate
     algorithm and should therefore be used with caution.

     'summaryClear' removes the monitor(s) calculating running totals
     for 'node'.

     These functions are less powerful and general than the samples
     functions (e.g., see 'samplesSet'), but they also require much
     less storage (an important consideration when many variables
     and/or long runs are of interest).

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

     'summaryStats' returns a data frame with columns: 

    mean: means

      sd: standard deviations

val2.5pc: 0.025 quantiles

  median: medians

val97.5pc: 0.975 quantiles

  sample: sample sizes

_N_o_t_e:

     Users should ensure their simulation has converged before using
     these functions.  Note that if the MCMC simulation has an adaptive
     phase it will not be possible to make  inference using values
     sampled before the end of this phase.

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

     'BRugs', 'help.WinBUGS'

