poissonsim               package:DAAG               R Documentation

_S_i_m_p_l_e _P_o_i_s_s_o_n _R_e_g_r_e_s_s_i_o_n _D_a_t_a _S_i_m_u_l_a_t_o_r

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

     This function simulates simple regression data from a Poisson
     model.  It also has the option to create over-dispersed data of a
     particular type.

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

     poissonsim(x = seq(0, 1, length=101), a = 2, b = -4, intcp.sd=NULL, slope.sd=NULL, seed=NULL)

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

       x: a numeric vector representing the explanatory variable

       a: the regression function intercept

       b: the regression function slope

intcp.sd: standard deviation of the (random) intercept

slope.sd: standard deviation of the (random) slope

    seed: numeric constant

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

     a list consisting of 

       x: the explanatory variable vector

       y: the Poisson response vector

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

     poissonsim()

