sbinom                 package:bbmle                 R Documentation

_A_b_s_t_r_a_c_t _d_e_f_i_n_i_t_i_o_n_s _o_f _d_i_s_t_r_i_b_u_t_i_o_n_s

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

     Functions returning values for summary statistics (mean, median,
     etc.) of distributions

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

     sbeta(shape1, shape2)
     sbetabinom(size, prob, theta)
     sbinom(size, prob)
     snbinom(size, prob, mu)
     snorm(mean, sd)
     spois(lambda)

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

    prob: probability as defined for 'dbinom', 'dnbinom', or
          beta-binomial distribution ('dbetabinom' in the 'emdbook'
          package)

    size: size parameter as defined for 'dbinom' or 'dbetabinom' in the
          'emdbook' package, or size/overdispersion parameter as in
          'dnbinom'

    mean: mean parameter as defined for 'dnorm'

      mu: mean parameter as defined for 'dnbinom'

      sd: standard deviation parameter as defined for 'dnorm'

  shape1: shape parameter for 'dbeta'

  shape2: shape parameter for 'dbeta'

  lambda: rate parameter as defined for 'dpois'

   theta: overdispersion parameter for beta-binomial (see 'dbetabinom'
          in the 'emdbook' package)

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

   title: name of the distribution

[parameters]: input parameters for the distribution

    mean: theoretical mean of the distribution

  median: theoretical median of the distribution

    mode: theoretical mode of the distribution

variance: theoretical variance of the distribution

      sd: theoretical standard deviation of the distribution

_N_o_t_e:

     these definitions are tentative, subject to change as I figure
     this out better.  Perhaps construct functions that return
     functions? Strip down results? Do more automatically?

_A_u_t_h_o_r(_s):

     Ben Bolker

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

     'dbinom', 'dpois', 'dnorm', 'dnbinom'

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

       sbinom(prob=0.2,size=10)
       snbinom(mu=2,size=1.2)

