rinvgamma              package:MCMCpack              R Documentation

_G_e_n_e_r_a_t_e _R_a_n_d_o_m _D_r_a_w _f_r_o_m _I_n_v_e_r_s_e _G_a_m_m_a _D_i_s_t_r_i_b_u_t_i_o_n

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

     This function generates a random draw from the Inverse Gamma
     distribution.

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

        rinvgamma(n, shape, rate = 1)

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

       n: Number of draws from the distribution.

   shape: Scalar shape parameter.

    rate: Scalar rate parameter (default value one).

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

     'n' draws from the Inverse Gamma distribution.  The
     parameterization is consistent with the Gamma Distribution in the
     base package.

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

     'dinvgamma', 'GammaDist'

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

       draws <- rinvgamma(10, 3.2)

